.modal.backdrop {
    background: rgba(229, 229, 229, 0.1);
    backdrop-filter: blur(3px);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
}

.modal .box {
    background: #fff;
    min-width: 60%;
    /*max-width: 90%;*/
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    box-shadow: 0 0 8px 2px #b5b5b5;
    overflow-y: auto;
    max-height: 85%;
}

/*@media (max-width: 992px) {*/
@media only screen and (max-width: 768px) {
    .modal .box::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    .modal .box::-webkit-scrollbar:vertical {
        width: 8px;
    }

    .modal .box::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    .modal .box::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .3);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }
}

.modal .box::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

.modal .header {
    text-align: left;
    padding: 1em 1em 0;
}

.close-icon img {
    width: 1.2em;
    height: auto;
}

.modal .content {
    padding: 2em;
    box-sizing: border-box;
}

.modal .content.no-pad {
    padding: 0;
}

.modal .footer {
    display: flex;
}

@media (max-width: 320px) {
    .modal .box {
        font-size: 12px;
    }
}

.modal form {
    width: 100%;
}

.modal form button {
    margin-top: 1.4em;
}
