@font-face {
    font-family: 'pass';
    font-style: normal;
    font-weight: 400;
    src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAATsAA8AAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAcg9+z70dERUYAAAF0AAAAHAAAAB4AJwANT1MvMgAAAZAAAAA/AAAAYH7AkBhjbWFwAAAB0AAAAFkAAAFqZowMx2N2dCAAAAIsAAAABAAAAAQAIgKIZ2FzcAAAAjAAAAAIAAAACAAAABBnbHlmAAACOAAAALkAAAE0MwNYJ2hlYWQAAAL0AAAAMAAAADYPA2KgaGhlYQAAAyQAAAAeAAAAJAU+ATJobXR4AAADRAAAABwAAAAcCPoA6mxvY2EAAANgAAAAEAAAABAA5gFMbWF4cAAAA3AAAAAaAAAAIAAKAE9uYW1lAAADjAAAARYAAAIgB4hZ03Bvc3QAAASkAAAAPgAAAE5Ojr8ld2ViZgAABOQAAAAGAAAABuK7WtIAAAABAAAAANXulPUAAAAA1viLwQAAAADW+JM4eNpjYGRgYOABYjEgZmJgBEI2IGYB8xgAA+AANXjaY2BifMg4gYGVgYVBAwOeYEAFjMgcp8yiFAYHBl7VP8wx/94wpDDHMIoo2DP8B8kx2TLHACkFBkYA8/IL3QB42mNgYGBmgGAZBkYGEEgB8hjBfBYGDyDNx8DBwMTABmTxMigoKKmeV/3z/z9YJTKf8f/X/4/vP7pldosLag4SYATqhgkyMgEJJnQFECcMOGChndEAfOwRuAAAAAAiAogAAQAB//8AD3jaY2BiUGJgYDRiWsXAzMDOoLeRkUHfZhM7C8Nbo41srHdsNjEzAZkMG5lBwqwg4U3sbIx/bDYxgsSNBRUF1Y0FlZUYBd6dOcO06m+YElMa0DiGJIZUxjuM9xjkGRhU2djZlJXU1UDQ1MTcDASNjcTFQFBUBGjYEkkVMJCU4gcCKRTeHCk+fn4+KSllsJiUJEhMUgrMUQbZk8bgz/iA8SRR9qzAY087FjEYD2QPDDAzMFgyAwC39TCRAAAAeNpjYGRgYADid/fqneL5bb4yyLMwgMC1H90HIfRkCxDN+IBpFZDiYGAC8QBbSwuceNpjYGRgYI7594aBgcmOAQgYHzAwMqACdgBbWQN0AAABdgAiAAAAAAAAAAABFAAAAj4AYgI+AGYB9AAAAAAAKgAqACoAKgBeAJIAmnjaY2BkYGBgZ1BgYGIAAUYGBNADEQAFQQBaAAB42o2PwUrDQBCGvzVV9GAQDx485exBY1CU3PQgVgIFI9prlVqDwcZNC/oSPoKP4HNUfQLfxYN/NytCe5GwO9/88+/MBAh5I8C0VoAtnYYNa8oaXpAn9RxIP/XcIqLreZENnjwvyfPieVVdXj2H7DHxPJH/2/M7sVn3/MGyOfb8SWjOGv4K2DRdctpkmtqhos+D6ISh4kiUUXDj1Fr3Bc/Oc0vPqec6A8aUyu1cdTaPZvyXyqz6Fm5axC7bxHOv/r/dnbSRXCk7+mpVrOqVtFqdp3NKxaHUgeod9cm40rtrzfrt2OyQa8fppCO9tk7d1x0rpiQcuDuRkjjtkHt16ctbuf/radZY52/PnEcphXpZOcofiEZNcQAAeNpjYGIAg///GBgZsAF2BgZGJkZmBmaGdkYWRla29JzKggxD9tK8TAMDAxc2D0MLU2NjENfI1M0ZACUXCrsAAAABWtLiugAA) format('woff');
}
.modal {
    z-index: 99999;
}
.modal-content {
    border-radius: 40px;
    padding: 50px;
    overflow: hidden;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 0;
}

.modal-body a {
    color: #0092FF;
}

.modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 30;
}
.modal__close i {
    font-size: 36px;
    opacity: .2;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}
.modal__close:hover i {
    opacity: 1;
}

.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0092FF;
    z-index: 10;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.modal-bg__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
.modal-bg__logo svg {
    width: 300px;
    height: 300px;
}

.modal-bg__content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    padding: 50px;
    height: 100%;
    width: 100%;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.modal-bg__content h4 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}
.modal-bg__content p {
    color: rgba(255, 255, 255, 0.7);
}
.modal-content._signup .modal-bg {
    width: 50%;
}
.modal-content._signin .modal-bg {
    width: 50%;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
}
.modal-content._signup .modal-bg__content_signin {
    opacity: 1;
    visibility: visible;
}
.modal-content._signin .modal-bg__content_signup {
    opacity: 1;
    visibility: visible;
}

.modal-content._signin .modal__close i {
    color: #fff;
}
.modal-content._signup .modal__close i {
    color: #0092FF;
}

.modal-bg__footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form__input {
    display: flex;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #E3E7EA;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    position: relative;
}

.form__input.is-invalid {
    border-color: #dc3545;
}

.form__input.is-valid {
    border-color: #0092FF;
}
.modal-body .invalid-feedback {
    display: block;
    margin-bottom: 5px;
    padding: 4px 8px;
    background: #fff;
    margin: 0;
}

.form__input .password-toggle {
    margin-left: auto;
}

.form__input .password-toggle i {
    cursor: pointer;
    margin-left: auto;    
}

.form__input .password-toggle i.fa-eye-slash {
    display: none;
}


.form__input i {
    font-size: 16px;
    color: #455565;
}


.form__input input {
    border: none;
    color: #455565 !important;
    font-weight: 500 !important;
    font-size: 16px;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 1em;
    background: #fff !important;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.form__input input::placeholder {
    border: none;
    color: #91A3B1;
    font-weight: 500!important;
    font-size: 16px;
    
}

.form__input input::-webkit-input-placeholder {
    border: none;
    color: #91A3B1;
    font-weight: 500!important;
    font-size: 16px;
    
}

.form__input input::-moz-placeholder  {
    border: none;
    color: #91A3B1;
    font-weight: 500!important;
    font-size: 16px;
    line-height: 1em;
}

.form__input input:-ms-input-placeholder {
    border: none;
    color: #91A3B1;
    font-weight: 500!important;
    font-size: 16px;
    line-height: 1em;
}
.form__input input:focus,
.form__input input:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
    color: #455565;
    font-weight: 500 !important;
}

.form__input input[type=password] {
    color: #91A3B1 !important;
    font-family: 'pass', 'Montserrat', Helvetica, Arial, sans-serif !important;
    
}

.form__input input:-webkit-autofill,
.form__input input:-webkit-autofill:hover,
.form__input input:-webkit-autofill:focus,
.form__input input:-webkit-autofill:active {
    color: #455565 !important;
    -webkit-text-fill-color: #455565 !important; /* Цвет текста */
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important; /* Цвет фона */
    transition: background-color 5000s ease-in-out 0s;
    font-weight: 500 !important;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    line-height: 1em;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    background: #0092FF;
    padding: 0 20px;
    min-width: 250px;
    max-width: 100%;
    color: #fff;
    transition: all .2s;
    border: none !important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    user-select: none;
    text-decoration: none !important;
}
.btn-brand:hover {
    background: #007EEB !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-brand_alt {
    background: transparent;
    border: 1px solid #fff !important;
}
.btn-brand_alt:hover {
    background: #fff !important;
    border: 1px solid #fff !important;
    color: #007EEB !important;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.form-section__header {
    color: #475369;
}
.form-section__header h4 {
    font-size: 30px;
    font-weight: 700;
}
.form-section__header {
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 500;
}
.form-section__form {
    margin-top: auto;
}
.form-section__form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__submit {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}
.form__submit p {
    font-size: 14px;
}

.select-account {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    overflow: hidden;
    border: 1px solid #E3E7EA;
    border-radius: 5px;
}

.select-account__input {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}


.select-account__input:nth-child(2) {
    border-left: 1px solid #E3E7EA;
    border-right: 1px solid #E3E7EA;
}

.select-account__input span {
    color: #455565;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    user-select: none;
}
.select-account__input svg path {
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}
.select-account__input input[type="radio"] {
    display: none;
}

.select-account__input._active {
    background: #0092FF;
}
.select-account__input._active span {
    color: #fff;
}
.select-account__input._active svg path {
    fill: #fff;
}


@media (max-width: 1200px) {
    .modal-body {
        gap: 30px;
    }
    .modal-content {
        border-radius: 40px;
        padding: 30px;
    }
    .form-section__header h4 {
        font-size: 24px;
    }
    .form-section__header p,
    .modal-bg__content p {
        font-size: 14px;
    }
    .modal-bg__content h4 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .btn-brand {
        font-size: 14px;
    }

    .modal__close i {
        font-size: 30px;
    }
    .modal-bg__content {
        padding: 30px;
    }
    .form__submit {
        margin-top: 0;
    }
    .select-account__input {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 5px;
        height: auto;
        padding: 10px;
    }
    .btn-brand {
        min-width: 150px;
    }
}

@media (max-width: 992px) {
    .modal-body {
        display: block;
    }
    .modal-bg, .form-section {
        display: none;
    }
    .modal-content._signup .form-section.auth-register {
        display: flex;
    }
    .modal-content._signin .form-section.auth-login {
        display: flex;
    }
    .modal-content._signin .modal__close i {
        color: #0092FF;
    }
}

@media (max-width: 450px) {
    .modal-content {
        padding: 30px 20px;
    }
    .form__submit {
        display: block;
    }
    .form__submit button {
        width: 100%;
    }
    .form__submit p {
        text-align: center;
        margin-top: 20px;
    }
}