@import url("fonts.css");
.modal-profile-auth {
    --Black-Squeeze: #f0f4f9;
    --Fiord: #424763;
    --red: #fa0f0c;
    padding-top: 20px;
}

.modal-login {
    padding-bottom: 0;
    border-bottom: none;
}

.modal-login-body {
    padding-top: 0;
}

.modal-profile-auth__tabs {
    position: relative;
    display: flex;
    margin-bottom: 24px;
}

.modal-profile-auth__tab {
    flex-basis: 50%;
    max-width: 50%;
    padding: 12px;
    color: #8f90a6;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    border-bottom: 2px solid #c7c9d9;
    transition: color .2s ease-in;
}

.modal-profile-auth__tab.active {
    position: relative;
    color: #0283d1;
    &:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #0283d1;
        transition: transform .2s ease-in;
    }
}

.modal-profile-auth__title {
    margin-bottom: 24px;
    color: var(--Fiord);
    font-family: "ManropeBold", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 24px;
}

.modal-profile-auth__state {
    width: 100%;
    margin-top: 24px;
    color: var(--e4ezd0);
    font-size: 16px;
    font-weight: var(--1p34rfn);
    text-align: center;
}

.base-input {
    width: 100%;
    display: block;
}

.base-input__field {
    width: inherit;
    color: black;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 21px 20px;
    transition: border-color .2s ease-in-out;
}

.base-input--primary {
    background-color: var(--Black-Squeeze);
    border-color: var(--Black-Squeeze);
}

.base-button {
    position: relative;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 68px;
    letter-spacing: normal;
    text-transform: initial;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity .2s ease-in, color .2s ease-in, border-color .2s ease-in, background-color .2s ease-in, background-position .3s ease-in;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    user-select: none;
}

.base-button--v1 {
    border-color: black;
    color: white;
    background-color: black;
}

.base-button--sm {
    padding: 0 10px;
}

.modal-profile-auth__state {
    width: 100%;
    margin-top: 24px;
    color: #03a9f4;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.modal-profile-auth__button {
    width: 100%;
    margin-top: 16px;
}

.base-input:not(:first-child) {
    margin-top: 12px;
}

.base-checkbox {
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
}

.modal-profile-auth__checkbox {
    margin-top: 16px;
}

.base-checkbox .base-checkbox__label {
    display: flex;
    align-items: center;
    max-width: 44px;
}

.base-checkbox .base-checkbox__label.text-after {
    margin-right: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    opacity: 0;
}

.base-checkbox .base-checkbox__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.base-checkbox .base-checkbox__custom {
    position: relative;
    display: block;
    background: #e6e6e6;
    transition-property: background-color;
    width: 42px;
    height: 24px;
    border-radius: 100px;
    transition: background-color .2s linear;
}

.base-checkbox .base-checkbox__input:checked+.base-checkbox__custom {
    background-color: #03a9f4;
}

.base-checkbox .base-checkbox__custom:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    transition: left .2s linear;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    border-radius: 50%;
    cursor: pointer;
}

.base-checkbox .base-checkbox__input:checked+.base-checkbox__custom:before {
    left: 20px;
}

.modal-profile-auth__personal-data {
    margin-top: 16px;
    font-size: 13px;
    line-height: 18px;
}

.modal-profile-auth__personal-data a {
    color: #03a9f4;
}

.base-input__field:invalid {
    border-color: var(--red);
}

.the-personal-input__error {
    display: none;
    margin-top: 4px;
    padding-left: 12px;
    color: var(--red);
    font-size: 12px;
    line-height: 16px;
}

.btn-auth-sms,
#register-btn,
.btn-auth-email {
    font-size: 23px;
    font-weight: 500;
    line-height: 48px;
}


/* Start custom modal */


/* Стили для модального окна */

.modal-custom {
    display: none;
    /* Скрываем по умолчанию */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-custom {
    position: relative;
    margin: auto;
    padding: 1rem;
    border: 1px solid #ccc;
    background-color: #fff;
    max-width: 500px;
    border-radius: 8px;
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
}

.modal-title-custom {
    margin: 0;
    line-height: 1.5;
}

.close-custom {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.nav-custom {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.nav-tabs-custom .nav-item-custom {
    margin-bottom: -1px;
}

.nav-link-custom {
    display: block;
    padding: 0.5rem 1rem;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.nav-link-custom.active-custom {
    color: #495057;
    background-color: #fff;
    border-color: #ddd #ddd #fff;
}

.tab-content-custom {
    padding: 1rem;
}

.form-group-custom {
    margin-bottom: 1rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.btn-custom {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    cursor: pointer;
}


/* End custom modal */

@media only screen and (min-width: 992px) {
    .modal-profile-auth {
        padding-top: 0;
    }
}