.nps-open-button,
.nps-submit-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background-color .2s ease;
}

.nps-open-button {
    background: #ED1D24;
    color: #fff;
    padding: 14px 24px;
    box-shadow: 0 10px 24px rgba(237, 29, 36, .24);
}

.nps-open-button:hover,
.nps-submit-button:hover {
    background: #CE131A;
    transform: translateY(-1px);
    opacity: 1;
}

.nps-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.nps-modal.is-active {
    display: flex;
}

.nps-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 28, .72);
    backdrop-filter: blur(4px);
}

.nps-modal__box {
    position: relative;
    width: min(100%, 430px);
    background: #fff;
    color: #172033;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
    animation: npsPopup .22s ease-out;
}

@keyframes npsPopup {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nps-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent !important;
    color: #1f386d;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.nps-modal__close:hover,
.nps-modal__close:focus,
.nps-modal__close:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
    color: #ED1D24;
    opacity: .9;
    transform: scale(1.12) rotate(90deg);
}

.nps-modal__close:focus-visible {
    outline: 2px solid rgba(237, 29, 36, .35);
    outline-offset: 2px;
}

.nps-modal__box h3 {
    margin: 0 36px 8px 0;
    color: #1f386d;
    font-size: 24px;
    line-height: 1.2;
}

.nps-modal__box p {
    margin: 0 0 20px;
    color: #536075;
    font-size: 15px;
}

.nps-form label {
    display: block;
    margin-bottom: 14px;
}

.nps-form span {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #23314a;
    font-size: 14px;
}

.nps-form input[type="text"],
.nps-form input[type="email"],
.nps-form input[type="tel"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7dce6;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    box-sizing: border-box;
}

.nps-form input:focus {
    outline: 2px solid rgba(77, 158, 68, .22);
    border-color: #4d9e44;
}

.nps-submit-button {
    width: 100%;
    background: #ED1D24;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(237, 29, 36, .24);
}

.nps-submit-button:disabled {
    cursor: wait;
    opacity: .7;
}

.nps-message {
    min-height: 22px;
    margin-top: 12px;
    font-weight: 700;
    font-size: 14px;
}

.nps-message.is-success { color: #2d7d26; }
.nps-message.is-error { color: #b42318; }

.nps-honeypot {
    position: absolute !important;
    left: -99999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

body.nps-lock-scroll {
    overflow: hidden;
}

@media (max-width: 480px) {
    .nps-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .nps-modal__box {
        border-radius: 20px 20px 16px 16px;
        padding: 26px 20px 22px;
    }

.nps-modal__box h3 {
        font-size: 21px;
    }
}
