/* CI Page Styles */

.ci-container {
    padding-bottom: 50px;

    &:last-of-type {
        padding-bottom: 0;
    }
}

/* 로고 섹션 */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    .ci-logo-img {
        max-width: 260px;
        margin-bottom: 23px;
    }

    .ci-desc {
        font-size: 17px;
        line-height: 1.6;
        color: #252525;
        font-weight: 500;
        text-align: left;
        border-top: 1px solid #ccc;
        padding-top: 23px;
        width: 100%;
    }
}

/* 다운로드 버튼 */
.btn-download-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 60px;

    .btn-download {
        width: 144px;
        height: 39px;
        display: flex;
        justify-content: center;
        text-decoration: none;
        align-items: center;
        gap: 8px;
        background-color: #005770;
        color: #fff;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        transition: background-color 0.2s;
        margin-top: 10px;

        &:hover {
            background-color: #004357;
        }
    }
}

/* 섹션 공통 스타일 */
.ci-section {
    margin-bottom: 63px;

    &:last-of-type {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 22px;
        font-weight: 700;
        color: #252525;
        margin-bottom: 17px;
        line-height: 1.9;
    }

    .img-placeholder-box {
        width: 100%;
        background-color: #F8F9FA;
        border: 1px dashed #ccc;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #888;
        font-size: 16px;

        &.color-section {
            height: 400px;
        }

        &.signature-section {
            height: 600px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
    }

    /* 전용색상 팔레트 */
    .color-palette {
        display: flex;
        gap: 30px;
        width: 100%;
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 30px;
        box-sizing: border-box;
        border: 1px solid #CCCCCC;

        .color-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .color-item {
            position: relative;
            padding-top: 50px;
        }

        .color-swatch {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 24px;
            flex-shrink: 0;

            &.white-swatch {
                background-color: #ffffff;
                border: 1px solid #ddd;
            }
        }

        .color-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .color-name {
            font-size: 18px;
            font-weight: 700;
            color: #252525;
            margin: 0;
            line-height: 1.5;

            .color-name-en {
                font-size: 16px;
                font-weight: 400;
                color: #666;
                margin-left: 8px;
            }
        }

        .color-values {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .color-value {
            display: flex;
            align-items: baseline;
            gap: 12px;
            font-size: 16px;
            line-height: 1.6;
        }

        .value-label {
            font-weight: 600;
            color: #474747;
            min-width: 90px;
            flex-shrink: 0;
        }

        .value-text {
            color: #666;
            font-weight: 400;
        }
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .ci-section {
        .color-palette {
            flex-direction: column;
            gap: 24px;
            padding: 25px;

            .color-column {
                gap: 24px;
            }

            .color-item {
                padding-top: 50px;
            }

            .color-swatch {
                height: 20px;
            }

            .color-name {
                font-size: 18px;

                .color-name-en {
                    font-size: 16px;
                    display: block;
                    margin-left: 0;
                    margin-top: 4px;
                }
            }

            .color-values {
                gap: 6px;
            }

            .color-value {
                flex-wrap: wrap;
                font-size: 16px;
            }

            .value-label {
                min-width: 60px;
            }
        }
    }
}