@charset "utf-8";

/* 공통 페이지 헤더 */
.renewal-page-head {
    position: relative;
    z-index: 101;
    min-height: 190px;
    overflow: visible;
    isolation: isolate;
    background: linear-gradient(180deg, #dcecff 0%, #eaf3ff 48%, #f5f7fa 100%);
}

.renewal-page-head::before,
.renewal-page-head::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.renewal-page-head::before {
    right: max(34px, calc((100vw - var(--renewal-layout)) / 2 - 16px));
    bottom: -28px;
    width: 168px;
    height: 168px;
    clip-path: inset(0 0 28px 0);
    background: rgba(255, 255, 255, 0.48);
}

.renewal-page-head::after {
    top: -41px;
    right: max(8px, calc((100vw - var(--renewal-layout)) / 2 - 58px));
    width: 82px;
    height: 82px;
    background: rgba(104, 162, 236, 0.16);
}

.renewal-page-head__inner {
    position: relative;
    z-index: 1;
    padding-top: 28px;
}

.renewal-page-breadcrumb {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: #708097;
    font-size: 13px;
    white-space: nowrap;
}

.renewal-page-breadcrumb a,
.renewal-page-breadcrumb strong {
    color: inherit;
    font-weight: 500;
}

.renewal-page-breadcrumb a:hover {
    color: var(--renewal-blue);
}

.renewal-page-breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
}

.renewal-page-head__copy {
    margin-top: 12px;
    text-align: center;
}

.renewal-page-head__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.renewal-page-head__copy h1 {
    color: #162641;
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.25;
}

.renewal-page-head__copy p {
    margin-top: 10px;
    color: #78889f;
    font-size: 16px;
}

@media (min-width: 761px) {
    .renewal-page-breadcrumb__separator {
        position: relative;
        top: -1px;
        font-size: 15px;
        line-height: 1;
    }
}

@media (max-width: 760px) {
    .renewal-page-head {
        z-index: 1;
        min-height: 154px;
    }

    .renewal-page-head::before {
        right: 30px;
        bottom: -47px;
        width: 112px;
        height: 112px;
        clip-path: inset(0 0 47px 0);
    }

    .renewal-page-head::after {
        top: 14px;
        right: 14px;
        width: 54px;
        height: 54px;
    }

    .renewal-page-head__inner {
        padding-top: 20px;
    }

    .renewal-page-breadcrumb {
        gap: 7px;
        font-size: 10px;
    }

    .renewal-page-head__copy {
        margin-top: 18px;
        text-align: left;
    }

    .renewal-page-head__title-row {
        justify-content: flex-start;
        gap: 10px;
    }

    .renewal-page-head__copy h1 {
        font-size: 25px;
    }

    .renewal-page-head__copy p {
        margin-top: 8px;
        font-size: 11px;
        line-height: 1.55;
    }
}

/* 화면 간 재사용 UI 컴포넌트 */

.renewal-card,
.check-card,
.process-card,
.notice-card,
.support-strip,
.service-card,
.quick-links > a,
.auth-shell,
.join-card,
.agreement-panel,
.agreement-apply-card {
    overflow: var(--renewal-card-overflow, visible);
    border: var(--renewal-card-border, 1px solid #dce4ee);
    border-radius: var(--renewal-card-radius, var(--renewal-radius));
    background: var(--renewal-card-background, #fff);
    box-shadow: var(--renewal-card-shadow, var(--renewal-shadow));
}

.renewal-button,
.auth-submit,
.agreement-primary-action,
.agreement-apply-primary,
.agreement-apply-secondary,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.renewal-input,
.form-control input,
.join-field__control input,
.agreement-apply-input {
    width: 100%;
    min-width: 0;
    color: var(--renewal-input-color, var(--renewal-navy));
    border: 1px solid var(--renewal-input-border, #cad6e6);
    outline: none;
    background: var(--renewal-input-background, #fff);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.renewal-value-suffix {
    display: inline-flex;
    align-items: flex-end;
    gap: var(--renewal-value-suffix-gap, 4px);
    line-height: 1;
}

.renewal-value-suffix__value,
.renewal-value-suffix__unit {
    line-height: 1;
}

.renewal-value-suffix__unit {
    padding-bottom: var(--renewal-value-suffix-offset, 1px);
}

.button {
    min-height: 56px;
    padding: 0 28px;
    border-radius: 11px;
}

.button--primary {
    gap: 20px;
    color: #fff !important;
    background: linear-gradient(135deg, #1670ea, #0954c8);
    box-shadow: 0 8px 18px rgba(18, 97, 216, 0.22);
}

.button--secondary {
    color: var(--renewal-navy) !important;
    border-color: #afbdd1;
    background: rgba(255, 255, 255, 0.78);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(18, 97, 216, 0.18);
}

.button__arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .button {
            min-height: 52px;
            padding: 0 12px;
            font-size: 14px;
    }
    
    .button--primary {
            gap: 13px;
    }
}

@media (max-width: 360px) {
    .button {
            font-size: 12px;
    }
}
