@charset "utf-8";

/* 자율점검 진입 화면 전용 */

.agreement-state-pill,
.agreement-round-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--renewal-blue);
    border-radius: 999px;
    background: #e7f1ff;
    font-size: 14px;
    font-weight: 700;
}

.agreement-state-pill {
    min-height: 32px;
    padding: 0 18px;
    margin-bottom: 2px;
}

.agreement-state-pill > span,
.agreement-round-pill > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.agreement-state-pill--ended {
    color: #607089;
    background: #e9eef5;
}

.agreement-stage {
    min-height: 690px;
    padding: 4px 0 108px;
    background: #f5f8fc;
}

.agreement-panel {
    padding: 30px 80px 28px;
    --renewal-card-overflow: hidden;
    --renewal-card-border: 1px solid #dbe4ef;
    --renewal-card-radius: 22px;
    --renewal-card-shadow: 0 10px 28px rgba(29, 61, 104, 0.09);
}

.agreement-panel--upcoming,
.agreement-panel--ended {
    text-align: center;
}

.agreement-panel--before {
    width: min(1000px, 100%);
    min-height: 660px;
    margin: 20px auto 0;
    padding: 42px 60px 44px;
    text-align: center;
}

.agreement-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    border-radius: 50%;
}

.agreement-hero-icon svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.agreement-hero-icon--calendar,
.agreement-hero-icon--clock {
    width: 104px;
    height: 104px;
    color: #fff;
}

.agreement-hero-icon--calendar {
    background: var(--renewal-blue);
}

.agreement-hero-icon--clock {
    background: #5d6d84;
}

.agreement-hero-icon--calendar svg,
.agreement-hero-icon--clock svg {
    width: 62px;
    height: 62px;
}

.agreement-hero-icon--calendar .agreement-hero-icon__accent {
    stroke: #b5f02b;
}

.agreement-kicker {
    margin-top: 17px;
    color: var(--renewal-blue);
    font-size: 16px;
}

.agreement-panel h2 {
    margin-top: 4px;
    color: var(--renewal-navy);
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.35;
}

.agreement-lead {
    margin-top: 10px;
    color: var(--renewal-gray-600);
    font-size: 14px;
}

.agreement-period-box,
.agreement-history-box {
    display: flex;
    align-items: center;
    min-height: 86px;
    margin-top: 28px;
    padding: 14px 30px;
    border: 1px solid #cfdef1;
    border-radius: 15px;
    background: #f2f7ff;
    text-align: left;
}

.agreement-period-box__icon,
.agreement-history-box__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin-right: 18px;
    color: var(--renewal-blue);
    border-radius: 50%;
    background: #e3efff;
}

.agreement-period-box__icon svg,
.agreement-history-box__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.agreement-period-box > div,
.agreement-history-box > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.agreement-period-box > div span,
.agreement-history-box > div span {
    color: var(--renewal-gray-600);
    font-size: 14px;
}

.agreement-period-box > div strong {
    margin-top: 2px;
    color: var(--renewal-navy);
    font-size: 20px;
    font-weight: 800;
}

.agreement-period-box__notice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 40px;
    margin-left: auto;
    padding: 0 22px;
    color: var(--renewal-blue);
    border: 1px solid #b8d2f5;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.agreement-panel__divider {
    height: 1px;
    margin: 39px 0 34px;
    background: #e1e8f1;
}

.agreement-incentive {
    position: relative;
    display: flex;
    min-height: 146px;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
    color: var(--renewal-navy);
    border: 1px solid #f5d192;
    border-radius: 16px;
    background: #fff9ef;
    text-align: left;
}

.agreement-incentive::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    content: "";
    border-radius: 16px 0 0 16px;
    background: #f0a10a;
}

.agreement-incentive__icon {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-top: 1px;
    border-radius: 50%;
    background: #fff0ce;
}

.agreement-incentive__icon::before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 15px;
    height: 8px;
    content: "";
    border-bottom: 2px solid #e88a00;
    border-left: 2px solid #e88a00;
    transform: rotate(-45deg);
}

.agreement-incentive h3,
.agreement-info-section h3 {
    color: var(--renewal-navy);
    font-size: 18px;
    font-weight: 800;
}

.agreement-incentive p {
    margin-top: 14px;
    color: var(--renewal-gray-600);
    font-size: 14px;
}

.agreement-incentive strong {
    display: block;
    margin-top: 7px;
    color: #e66f00;
    font-size: 13px;
}

.agreement-info-section {
    margin-top: 30px;
    text-align: left;
}

.agreement-info-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.agreement-info-section__heading p {
    color: var(--renewal-gray-500);
    font-size: 12px;
}

.agreement-condition-list,
.agreement-ended-list {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #f7f9fc;
}

.agreement-condition-list {
    padding: 14px 24px;
}

.agreement-condition-list li {
    display: flex;
    align-items: center;
    min-height: 43px;
    color: var(--renewal-gray-700);
    font-size: 14px;
}

.agreement-condition-list li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    color: var(--renewal-blue);
    border-radius: 50%;
    background: #e6f1ff;
    font-size: 12px;
    font-weight: 800;
}

.agreement-support-line {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 32px;
    padding-top: 18px;
    gap: 24px;
    color: var(--renewal-gray-600);
    border-top: 1px solid #dce5ef;
    font-size: 14px;
}

.agreement-history-box {
    background: #f5f8fc;
}

.agreement-history-box > div strong {
    color: var(--renewal-navy);
    font-size: 16px;
}

.agreement-history-box > div span {
    margin-top: 5px;
}

.agreement-history-box > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 48px;
    margin-left: auto;
    gap: 20px;
    color: var(--renewal-blue) !important;
    border: 1px solid var(--renewal-blue);
    border-radius: 13px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.agreement-history-box > a > span,
.agreement-primary-action > span {
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.agreement-ended-list li {
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 18px 24px;
    gap: 18px;
}

.agreement-ended-list li + li {
    border-top: 1px solid #e0e7ef;
}

.agreement-ended-list__check {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f2ff;
}

.agreement-ended-list__check::before {
    position: absolute;
    top: 12px;
    left: 11px;
    width: 16px;
    height: 9px;
    content: "";
    border-bottom: 2px solid var(--renewal-blue);
    border-left: 2px solid var(--renewal-blue);
    transform: rotate(-45deg);
}

.agreement-ended-list strong {
    color: var(--renewal-navy);
    font-size: 14px;
}

.agreement-ended-list p {
    margin-top: 4px;
    color: var(--renewal-gray-600);
    font-size: 14px;
}

.agreement-restriction {
    display: flex;
    align-items: center;
    min-height: 76px;
    margin-top: 23px;
    padding: 16px 24px;
    gap: 18px;
    border: 1px solid #f3cfc6;
    border-radius: 15px;
    background: #fff7f4;
    text-align: left;
}

.agreement-restriction > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #f2694b;
    border-radius: 50%;
    background: #ffe7e0;
    font-weight: 800;
}

.agreement-restriction strong {
    color: var(--renewal-navy);
    font-size: 14px;
}

.agreement-restriction p {
    margin-top: 3px;
    color: var(--renewal-gray-600);
    font-size: 14px;
}

.agreement-round-pill {
    min-height: 32px;
    padding: 0 18px;
}

.agreement-hero-icon--application {
    width: 94px;
    height: 94px;
    margin-top: 12px;
    color: var(--renewal-blue);
    border: 1px solid #bdd5f4;
    background: #edf5ff;
}

.agreement-hero-icon--application svg {
    width: 76px;
    height: 76px;
}

.agreement-hero-icon--application .agreement-hero-icon__badge {
    fill: var(--renewal-blue);
    stroke: var(--renewal-blue);
}

.agreement-hero-icon--application .agreement-hero-icon__badge-check {
    stroke: #fff;
    stroke-width: 2.5;
}

.agreement-panel--before h2 {
    margin-top: 14px;
    font-size: 25px;
}

.agreement-before-message {
    margin-top: 12px;
    color: var(--renewal-navy);
    font-size: 17px;
    line-height: 1.7;
}

.agreement-before-message strong {
    font-weight: 800;
}

.agreement-before-divider {
    width: min(780px, 100%);
    height: 1px;
    margin: 28px auto 24px;
    background: #dce5ef;
}

.agreement-before-question {
    color: var(--renewal-navy);
    font-size: 15px;
    font-weight: 700;
}

.agreement-primary-action {
    min-width: 220px;
    min-height: 54px;
    margin-top: 18px;
    gap: 22px;
    color: #fff !important;
    border-radius: 12px;
    background: linear-gradient(135deg, #1871ed, #0755c8);
    box-shadow: 0 8px 18px rgba(14, 91, 205, 0.22);
    font-size: 15px;
    font-weight: 800;
}

.agreement-primary-action:hover {
    box-shadow: 0 10px 22px rgba(14, 91, 205, 0.3);
    transform: translateY(-1px);
}

.agreement-help-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 285px;
    align-items: center;
    min-height: 128px;
    margin-top: 44px;
    padding: 22px 30px;
    text-align: left;
    border: 1px solid #d7e2f0;
    border-radius: 15px;
    background: #f6f9fd;
}

.agreement-help-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 16px;
    color: var(--renewal-blue);
    border-radius: 50%;
    background: #e7f1ff;
    font-size: 19px;
    font-weight: 800;
}

.agreement-help-box__links p {
    color: var(--renewal-gray-700);
    font-size: 13px;
}

.agreement-help-box__links p strong {
    margin: 0 8px;
    color: var(--renewal-blue);
}

.agreement-help-box__links nav {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.agreement-help-box__links nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 30px;
    color: var(--renewal-gray-600);
    border: 1px solid #cfdbea;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
}

.agreement-help-box__contact {
    display: flex;
    min-height: 74px;
    padding-left: 34px;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #dbe4ef;
}

.agreement-help-box__contact span {
    color: var(--renewal-navy-600);
    font-size: 12px;
}

.agreement-help-box__contact strong {
    margin-top: 8px;
    color: var(--renewal-navy);
    font-size: 17px;
}

@media (max-width: 900px) {
    .agreement-panel {
            padding-right: 38px;
            padding-left: 38px;
    }
    
    .agreement-panel--before {
            padding-right: 32px;
            padding-left: 32px;
    }
    
    .agreement-help-box {
            grid-template-columns: auto minmax(0, 1fr);
    }
    
    .agreement-help-box__contact {
            grid-column: 1 / -1;
            min-height: 0;
            margin-top: 18px;
            padding-top: 18px;
            padding-left: 58px;
            border-top: 1px solid #dbe4ef;
            border-left: 0;
    }
}

@media (max-width: 767px) {
    .agreement-state-pill {
            flex: 0 0 auto;
            min-height: 28px;
            padding: 0 12px;
            font-size: 10px;
    }
    
    .agreement-stage {
            padding: 8px 0 64px;
    }
    
    .agreement-stage > .layout {
            width: calc(100% - 32px);
    }
    
    .agreement-panel,
    .agreement-panel--before {
            min-height: 0;
            margin-top: 0;
            padding: 25px 19px 24px;
            border-radius: 18px;
    }
    
    .agreement-hero-icon--calendar,
    .agreement-hero-icon--clock {
            width: 78px;
            height: 78px;
    }
    
    .agreement-hero-icon--calendar svg,
    .agreement-hero-icon--clock svg {
            width: 48px;
            height: 48px;
    }
    
    .agreement-kicker {
            margin-top: 13px;
            font-size: 14px;
    }
    
    .agreement-panel h2 {
            font-size: 24px;
    }
    
    .agreement-lead {
            font-size: 12px;
    }
    
    .agreement-period-box,
    .agreement-history-box {
            align-items: flex-start;
            margin-top: 23px;
            padding: 17px;
            flex-wrap: wrap;
    }
    
    .agreement-period-box__icon,
    .agreement-history-box__icon {
            flex-basis: 40px;
            width: 40px;
            height: 40px;
            margin-right: 12px;
    }
    
    .agreement-period-box__icon svg,
    .agreement-history-box__icon svg {
            width: 24px;
            height: 24px;
    }
    
    .agreement-period-box > div,
    .agreement-history-box > div {
            width: calc(100% - 52px);
    }
    
    .agreement-period-box > div strong {
            font-size: 16px;
    }
    
    .agreement-period-box__notice,
    .agreement-history-box > a {
            width: 100%;
            min-width: 0;
            margin-top: 15px;
            margin-left: 0;
    }
    
    .agreement-panel__divider {
            margin: 28px 0 24px;
    }
    
    .agreement-incentive {
            padding: 18px 17px;
    }
    
    .agreement-incentive h3,
    .agreement-info-section h3 {
            font-size: 16px;
    }
    
    .agreement-incentive p,
    .agreement-incentive strong,
    .agreement-condition-list li {
            font-size: 14px;
    }
    
    .agreement-info-section__heading {
            display: block;
    }
    
    .agreement-info-section__heading p {
            margin-top: 4px;
    }
    
    .agreement-condition-list {
            padding: 12px 16px;
    }
    
    .agreement-condition-list li {
            align-items: flex-start;
            padding: 7px 0;
            line-height: 1.55;
    }
    
    .agreement-support-line {
            align-items: flex-start;
            flex-direction: column;
            gap: 5px;
            text-align: left;
    }
    
    .agreement-ended-list li {
            align-items: flex-start;
            padding: 17px;
    }
    
    .agreement-restriction {
            align-items: flex-start;
            padding: 16px;
    }
    
    .agreement-round-pill {
            min-height: 28px;
            padding: 0 14px;
            font-size: 12px;
    }
    
    .agreement-hero-icon--application {
            width: 82px;
            height: 82px;
    }
    
    .agreement-panel--before h2 {
            font-size: 22px;
    }
    
    .agreement-before-message {
            font-size: 15px;
    }
    
    .agreement-primary-action {
            width: 100%;
    }
    
    .agreement-help-box {
            display: block;
            margin-top: 34px;
            padding: 19px;
    }
    
    .agreement-help-box__icon {
            margin: 0 auto 12px;
    }
    
    .agreement-help-box__links {
            text-align: center;
    }
    
    .agreement-help-box__links p strong {
            display: block;
            margin: 5px 0 0;
    }
    
    .agreement-help-box__links nav {
            justify-content: center;
    }
    
    .agreement-help-box__contact {
            align-items: center;
            margin-top: 18px;
            padding: 18px 0 0;
            text-align: center;
    }
}

@media (max-width: 380px) {
    .agreement-panel,
    .agreement-panel--before {
            padding-right: 16px;
            padding-left: 16px;
    }
    
    .agreement-panel h2 {
            font-size: 21px;
    }
    
    .agreement-help-box__links nav {
            flex-wrap: wrap;
    }
}
