.modal-window-wrapper {
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 999;
    background-color: #222b4033;
    padding: 40px 20px 0;
    transition: transform .25s ease-in-out;
    position: fixed;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(-100%)
}

.modal-window-wrapper.is-open {
    transform: translateX(0)
}

.modal-window {
    background: #fff;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    position: relative
}

.modal-window .close {
    color: #000;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    top: 15px;
    right: 15px
}

@media screen and (min-width: 350px) {
    .modal-window {
        width:350px;
        margin-top: 150px
    }
}

@media screen and (min-width: 744px) {
    .modal-window {
        width:420px;
        margin-top: 150px
    }
}

@media screen and (min-width: 1280px) {
    .modal-window {
        width:420px;
        margin-top: 150px
    }
}

.modal-header {
    border-bottom: 1px solid #222b401a;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    display: flex
}

.modal-header h2 {
    letter-spacing: -.06em;
    color: #222b40;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%
}

.modal-header .close-button {
    cursor: pointer;
    background-color: #0000;
    border: #0000;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    display: flex
}

.modal-header .close-button svg:hover {
    fill: #795bda
}

.modal-window-content {
    padding: 20px
}

.modal-window-content .button {
    color: #795bda;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    display: flex;
    letter-spacing: -.05em;
    height: 32px;
    background: #795bda1a;
    border-radius: 100px;
    flex-basis: calc(33.3333% - 4px);
    margin-left: 4px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-top: 20px;
    border: none
}

.submit_code_btn {
    margin-top: 5px;
    padding: 16px;
    background: #795bda;
    border: none;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    position: relative
}

.form__input {
    padding: 16px;
    width: 100%;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #e3e1e5;
    font-size: 14px;
    outline: 0;
    display: inline-block;
    box-sizing: border-box;
    color: #2f264d;
    font-size: 14px;
    position: relative
}

.send-code-again {
    margin-top: 5px;
    padding: 16px;
    background: #795bda;
    border: none;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    position: relative
}

.help-link-telegram {
    margin-top: 5px;
    padding: 16px;
    background: #795bda;
    border: none;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    position: relative;
    display: block;
    text-align: center
}
