.modal__bg {
    position: fixed;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 19;
    display: none;
}

.success {
    font-family: Helvetica, "Helvetica Neue", Arial, "Lucida Grande", sans-serif;
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    max-width: 480px;
    width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    box-shadow: 0 0 1px #000;
    display: none;
}

.success-close {
    position: absolute;
    right: -25px;
    top: -30px;
    background: #fff;
    box-shadow: 0 0 10px #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.success-close img {
    width: 60%;
}

.success h1 {
    font-weight: 500;
    font-size: 55px;
    line-height: 55px;
    color: #2A6F5D;
}

.success h2 {
    font-size: 35px;
    line-height: 35px;
    color: #616161;
    margin-bottom: 50px;
}

.orderDetails {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.orderDetails .box {
    width: 176px;
    padding: 20px 10px;
    padding-top: 70px;
    margin-bottom: 70px;
    background: linear-gradient(180deg, #2A6F5D 0%, #3FB869 100%);
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    min-height: 182px;
}

.orderDetails .box:nth-of-type(3),
.orderDetails .box:nth-of-type(4) {
    margin-bottom: 0;
}

.orderDetails .box .icon-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin: 0 auto;
    position: absolute;
    top: -50px;
    left: 21%;
}

.orderDetails .box .icon-block img {
    width: 43px;
}

.orderDetails .box p {
    font-weight: 400;
    align-self: center;
    font-size: 17px;
    line-height: 23px;
    color: #fff;
}

@media all and (max-width: 767px) {
    .success {
        max-width: 300px;
        padding: 10px;
    }

    .success h1 {
        font-size: 40px;
    }

    .success h2 {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .success .orderDetails .box {
        width: 132px;
        padding-top: 45px;
        min-height: 160px;
    }

    .success .orderDetails .box .icon-block {
        width: 65px;
        height: 65px;
        top: -28px;
        left: 21%;
    }

    .success .orderDetails .box p {
        font-size: 14px;
        line-height: 20px;
    }

    .success-close {
        right: 0;
        top: 0;
    }

    .success .orderDetails .box {
        width: 132px;
        padding-top: 45px;
        min-height: 160px;
    }

    .success .orderDetails .box .icon-block {
        width: 65px;
        height: 65px;
        top: -28px;
        left: 21%;
    }

    .success .orderDetails .box p {
        font-size: 14px;
        line-height: 20px;
    }
}