.st-exit-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    font-family: inherit;
}

.st-exit-modal.is-active {
    display: block;
}

.st-exit-success {
    padding: 34px 10px;
    text-align: center;
}

.st-exit-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e11223;
    color: #fff;
    font-size: 42px;
    line-height: 72px;
    font-weight: 800;
    box-shadow: 0 0 32px rgba(225,18,35,.6);
}

.st-exit-success__title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 10px;
}

.st-exit-success__text {
    color: rgba(255,255,255,.75);
    font-size: 16px;
}
.st-exit-modal__discount-css {
    position: absolute;
    right: 34px;
    top: -4px;
    z-index: 4;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 37, 55, .35) 0%, rgba(120, 0, 10, .75) 58%, rgba(20, 0, 4, .95) 100%);
    border: 2px solid #ff1f33;
    box-shadow:
        0 0 18px rgba(255, 31, 51, .9),
        0 0 42px rgba(255, 31, 51, .65),
        inset 0 0 22px rgba(255, 31, 51, .65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.st-exit-modal__discount-css::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: inset 0 0 16px rgba(255,255,255,.18);
}

.st-exit-modal__discount-css::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid rgba(255,31,51,.5);
    filter: blur(.2px);
}

.st-exit-modal__discount-top {
    position: relative;
    z-index: 2;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 4px;
}

.st-exit-modal__discount-percent {
    position: relative;
    z-index: 2;
    font-size: 58px;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow:
        0 0 12px rgba(255,255,255,.7),
        0 0 24px rgba(255,31,51,.9);
}

.st-exit-modal__discount-text {
    position: relative;
    z-index: 2;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    color: rgba(255,255,255,.92);
}

@media (max-width: 768px) {
    .st-exit-modal__discount-css {
        width: 120px;
        height: 120px;
        right: 18px;
        top: 18px;
    }

    .st-exit-modal__discount-top {
        font-size: 15px;
    }

    .st-exit-modal__discount-percent {
        font-size: 38px;
    }

    .st-exit-modal__discount-text {
        font-size: 9px;
    }
}
.st-exit-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(4px);
}

.st-exit-modal__box {
    position: relative;
    width: calc(100% - 30px);
    max-width: 920px;
    margin: 6vh auto;
    background:
        radial-gradient(circle at 80% 35%, rgba(225, 18, 35, .24), transparent 35%),
        linear-gradient(135deg, #0b1020 0%, #171827 55%, #0b0d14 100%);
    color: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.12);
}

.st-exit-modal__box:before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(225, 18, 35, .55);
    border-radius: 18px;
    pointer-events: none;
}

.st-exit-modal__close {
    position: absolute;
    right: 22px;
    top: 18px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    line-height: 34px;
    cursor: pointer;
}

.st-exit-modal__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    padding: 60px 60px 25px;
}

.st-exit-modal__label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(225, 18, 35, .14);
    color: #ff3546;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.st-exit-modal__title {
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 18px;
}

.st-exit-modal__text {
    max-width: 470px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.78);
    margin-bottom: 28px;
}

.st-exit-form {
    max-width: 440px;
}

.st-exit-form label {
    display: block;
    margin-bottom: 14px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.st-exit-form input,
.st-exit-form select {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 7px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: none;
}

.st-exit-form select option {
    color: #000;
}

.st-exit-form input:focus,
.st-exit-form select:focus {
    border-color: #e11223;
}

.st-exit-form button {
    width: 100%;
    height: 58px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff2437, #d90013);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 35px rgba(225,18,35,.35);
}

.st-exit-form__note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,.48);
}

.st-exit-form__result {
    margin-top: 12px;
    font-size: 14px;
}

.st-exit-modal__right {
    position: relative;
    min-height: 420px;
}

.st-exit-modal__discount {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #e11223;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 700;
    box-shadow: 0 18px 45px rgba(225,18,35,.45);
}

.st-exit-modal__discount span {
    font-size: 42px;
    line-height: 1;
}

.st-exit-modal__img {
    position: absolute;
    inset: 70px 0 0 0;
    background:
        url('/local/templates/securtec/images/exit-lead-security.png') center bottom / contain no-repeat;
}

@media (max-width: 768px) {
    .st-exit-modal__box {
        margin: 20px auto;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        border-radius: 18px;
    }

    .st-exit-modal__box:before {
        display: none;
    }

    .st-exit-modal__content {
        grid-template-columns: 1fr;
        padding: 34px 22px 26px;
    }

    .st-exit-modal__title {
        font-size: 30px;
    }

    .st-exit-modal__text {
        font-size: 15px;
    }

    .st-exit-modal__right {
        display: none;
    }
}