.modalMB {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modalMB.active {
    opacity: 1;
    visibility: visible;
}

.modalMB__container {
    background-color: #fff;
    padding: 55px 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .modalMB__container {
    transform: scale(1);
}

.modalMB__title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.modalMB__descr {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 35px;
}

.modalMB__container .mindbox .alert {
    background-color: transparent;
    margin-top: 20px;
    margin-bottom: unset;
    font-size: 17px;
}

.modalMB__form .modalMB__field {
    padding-bottom: 20px;
    font-size: 18px;
}

.modalMB__form .modalMB__field:focus-visible {
    outline: none;
}

.modalMB__form-group {
    margin-bottom: 30px;
}

.modalMB__form .modalMB__btn {
    --tw-backdrop-blur: blur(0px);
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.modalMB__form .modalMB__privacy {
    font-size: 11px;
    color: #888;
    text-align: left;
    margin-top: 15px;
    margin-bottom: unset;
}

.modalMB__privacy-link {
    text-decoration: underline;
    transition: color .2s ease;
}

.modalMB__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 35px;
    line-height: 59%;
    cursor: pointer;
    color: #999;
    transition: color .2s ease;
}

.modalMB__close:hover,
.modalMB__privacy-link:hover {
    color: #333;
}

@media screen and (max-width: 768px) {
    .modalMB__container {
        padding: 45px 30px;
    }
    .modalMB__title {
        font-size: 25px;
    }
    .modalMB__descr {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .modalMB__form-group {
        margin-bottom: 25px;
    }
    .modalMB__form .modalMB__btn {
        font-size: 18px;
    }
}
@media screen and (max-width: 480px) {
    .modalMB__container {
        width: 95%;
    }
}