.cpr-exit-survey {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cpr-exit-survey.is-visible {
    display: flex;
}

.cpr-exit-survey__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(18, 24, 38, 0.58);
    backdrop-filter: blur(3px);
}

.cpr-exit-survey__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    border-radius: 24px;
    background: #ffffff;
    color: #1d2433;
    box-shadow: 0 24px 70px rgba(11, 24, 48, 0.28);
    padding: 28px 28px 24px;
}

.cpr-exit-survey__eyebrow {
    margin-bottom: 12px;
    color: #db4b33;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.cpr-exit-survey__title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.cpr-exit-survey__copy {
    margin: 0 0 18px;
    color: #4f5b70;
    font-size: 15px;
    line-height: 1.55;
}

.cpr-exit-survey__options {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.cpr-exit-survey__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #dbe2ee;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f7f9fc;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.cpr-exit-survey__option.is-selected {
    border-color: #2a6fd6;
    background: #eaf2ff;
    box-shadow: 0 0 0 2px rgba(42, 111, 214, 0.12);
}

.cpr-exit-survey__option:hover {
    border-color: #9cb2d6;
    background: #eef4fb;
    transform: translateY(-1px);
}

.cpr-exit-survey__option input {
    margin-top: 3px;
    accent-color: #2a6fd6;
}

.cpr-exit-survey__option-text {
    color: #263247;
    font-size: 14px;
    line-height: 1.45;
}

.cpr-exit-survey__textarea {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    border: 1px solid #d7dfeb;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fbfcfe;
    color: #1d2433;
    font-size: 14px;
    line-height: 1.45;
}

.cpr-exit-survey__textarea:focus {
    outline: none;
    border-color: #2a6fd6;
    box-shadow: 0 0 0 3px rgba(42, 111, 214, 0.14);
}

.cpr-exit-survey__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.cpr-exit-survey__button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.cpr-exit-survey__button--primary {
    background: #d73b24;
    color: #ffffff;
}

.cpr-exit-survey__button--secondary {
    background: #edf2fa;
    color: #30405d;
}

.cpr-exit-survey__status {
    min-height: 20px;
    margin-top: 12px;
    color: #5a6780;
    font-size: 13px;
}

@media (max-width: 640px) {
    .cpr-exit-survey__panel {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .cpr-exit-survey__title {
        font-size: 24px;
    }

    .cpr-exit-survey__actions {
        flex-direction: column-reverse;
    }

    .cpr-exit-survey__button {
        width: 100%;
    }
}
