.rwi-cutoff-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.rwi-cutoff-modal.is-open {
    display: block;
}

.rwi-cutoff-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 32, 0.58);
    backdrop-filter: blur(2px);
}

.rwi-cutoff-modal__dialog {
    position: relative;
    width: min(92vw, 520px);
    margin: 10vh auto 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 24px 48px rgba(7, 15, 32, 0.28);
    border: 1px solid #e4e7ee;
}

.rwi-cutoff-modal__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #12203f;
}

.rwi-cutoff-modal__message {
    margin: 0;
    color: #2c3a57;
    font-size: 0.98rem;
    line-height: 1.45;
}

.rwi-cutoff-modal__actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.rwi-cutoff-modal__btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.rwi-cutoff-modal__btn--ghost {
    background: #edf1f8;
    color: #203255;
}

.rwi-cutoff-modal__btn--primary {
    background: #1464c6;
    color: #ffffff;
}

@media (max-width: 480px) {
    .rwi-cutoff-modal__dialog {
        margin-top: 12vh;
        padding: 18px;
    }

    .rwi-cutoff-modal__actions {
        flex-direction: column-reverse;
    }

    .rwi-cutoff-modal__btn {
        width: 100%;
    }
}
