.modal-success {
    width: calc(100% - 32px);
    max-width: 460px;
    padding: 42px 44px 38px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(59, 59, 151, 0.12);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0, rgba(221, 67, 3, 0.13), transparent 38%),
        linear-gradient(145deg, #ffffff 0%, #fafaff 100%);
    box-shadow: 0 24px 70px rgba(28, 28, 78, 0.22);
}

.modal-success::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, #3b3b97 0%, #3b3b97 64%, #dd4303 64%, #dd4303 100%);
}

.modal-success__icon {
    display: flex;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3b3b97;
    box-shadow: 0 10px 28px rgba(59, 59, 151, 0.26);
}

.modal-success__icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-success__brand {
    margin-bottom: 8px;
    color: #dd4303;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.modal-success__title {
    margin-bottom: 12px;
    color: #20204f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
}

.modal-success__message {
    max-width: 350px;
    margin: 0 auto 26px;
    color: #4f4f61;
    font-size: 17px;
    line-height: 1.5;
}

.modal-success__button {
    min-width: 170px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
}

form.is-submitting {
    cursor: wait;
}

form.is-submitting [type="submit"] {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
}

@media only screen and (max-width: 520px) {
    .modal-success {
        padding: 36px 24px 30px;
    }

    .modal-success__icon {
        width: 60px;
        height: 60px;
    }

    .modal-success__title {
        font-size: 24px;
    }

    .modal-success__message {
        font-size: 16px;
    }
}


