@charset "utf-8";

/* 리뉴얼 메인 인센티브 안내 레이어 */

.incentive-modal__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

body.incentive-open {
    overflow: hidden;
}

.incentive-modal[hidden] {
    display: none;
}

.incentive-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.incentive-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(19, 40, 69, 0.64);
    cursor: default;
}

.incentive-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: calc(100dvh - 56px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(8, 28, 58, 0.28);
}

.incentive-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 116px;
    padding: 24px 74px 24px 28px;
    border-radius: 20px 20px 0 0;
    background: #edf5ff;
}

.incentive-modal__header h2 {
    color: var(--renewal-navy);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

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

.incentive-modal__icon {
    display: block;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
}

.incentive-modal__icon-bg {
    fill: #1470e8;
}

.incentive-modal__shield,
.incentive-modal__check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.incentive-modal__shield {
    stroke-width: 4;
}

.incentive-modal__check {
    stroke-width: 3.5;
}

.incentive-modal__accent {
    fill: #ffb52d;
}

.incentive-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #c7d4e5;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.incentive-modal__close::before,
.incentive-modal__close::after {
    position: absolute;
    top: 18px;
    left: 10px;
    width: 17px;
    height: 2px;
    content: "";
    border-radius: 2px;
    background: #718097;
}

.incentive-modal__close::before {
    transform: rotate(45deg);
}

.incentive-modal__close::after {
    transform: rotate(-45deg);
}

.incentive-modal__body {
    padding: 24px 40px 28px;
}

.incentive-highlight {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 27px 19px;
    border: 1px solid #b9d5f9;
    border-radius: 14px;
    background: #f0f6ff;
}

.incentive-highlight div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.incentive-highlight span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 3px 20px;
    color: #fff;
    border-radius: 999px;
    background: #1470e8;
    font-size: 12px;
    font-weight: 700;
}

.incentive-highlight strong {
    margin-top: 5px;
    color: #0d2f5e;
    font-size: 21px;
    letter-spacing: -0.035em;
}

.incentive-highlight p {
    padding-bottom: 3px;
    color: var(--renewal-gray-600);
    font-size: 12px;
    white-space: nowrap;
}

.incentive-section {
    margin-top: 18px;
}

.incentive-section h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: var(--renewal-navy);
    font-size: 19px;
    font-weight: 700;
}

.incentive-section > p {
    margin-top: 13px;
    color: var(--renewal-navy);
    font-size: 13px;
    line-height: 1.85;
    letter-spacing: -0.015em;
}

.incentive-section__heading {
    display: flex;
    align-items: baseline;
    gap: 36px;
}

.incentive-section__heading > p {
    color: var(--renewal-gray-600);
    font-size: 12px;
}

.incentive-rule-box {
    margin-top: 13px;
    padding: 18px 25px 22px;
    border: 1px solid #d2deed;
    border-radius: 14px;
    background: #f7faff;
}

.incentive-rule-box h4 {
    padding-bottom: 13px;
    color: #12345f;
    border-bottom: 1px solid #dbe5f1;
    font-size: 16px;
    font-weight: 700;
}

.incentive-rule-box p {
    margin-top: 15px;
    color: #263b59;
    font-size: 12px;
    line-height: 1.9;
}

.incentive-modal__footer {
    padding: 17px 40px 25px;
    border-top: 1px solid var(--renewal-gray-200);
}

.incentive-modal__footer p {
    color: var(--renewal-gray-600);
    font-size: 11px;
}

.incentive-modal__footer button {
    display: block;
    min-width: 200px;
    min-height: 52px;
    margin: 21px auto 0;
    padding: 0 24px;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #1670ea, #0954c8);
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 900px) {
    .incentive-modal {
                align-items: flex-start;
                padding: 16px;
                overflow-y: auto;
    }
    
    .incentive-modal__dialog {
                max-height: none;
                margin: auto 0;
                border-radius: 16px;
    }
    
    .incentive-modal__header {
                gap: 13px;
                min-height: 100px;
                padding: 18px 56px 18px 18px;
                border-radius: 16px 16px 0 0;
    }
    
    .incentive-modal__header h2 {
                font-size: 18px;
                line-height: 1.4;
    }
    
    .incentive-modal__header p {
                margin-top: 3px;
                font-size: 11px;
    }
    
    .incentive-modal__icon {
                flex-basis: 52px;
                width: 52px;
                height: 52px;
    }
    
    .incentive-modal__close {
                top: 14px;
                right: 14px;
                width: 34px;
                height: 34px;
    }
    
    .incentive-modal__close::before,
    .incentive-modal__close::after {
                top: 16px;
                left: 9px;
                width: 15px;
    }
    
    .incentive-modal__body {
                padding: 18px;
    }
    
    .incentive-highlight {
                align-items: flex-start;
                padding: 15px;
                flex-direction: column;
                gap: 8px;
    }
    
    .incentive-highlight strong {
                font-size: 17px;
    }
    
    .incentive-highlight p {
                padding: 0;
                white-space: normal;
    }
    
    .incentive-section h3 {
                font-size: 17px;
    }
    
    .incentive-section > p,
    .incentive-rule-box p {
                font-size: 12px;
                line-height: 1.8;
    }
    
    .incentive-section__heading {
                align-items: flex-start;
                flex-direction: column;
                gap: 7px;
    }
    
    .incentive-rule-box {
                padding: 16px;
    }
    
    .incentive-modal__footer {
                padding: 16px 18px 22px;
    }
}
