/* main */
.auth-page {
    height: 100%;
    width: 100%;

    overflow: hidden;
}

.auth_wrapper {
    width: 300%;
    transition: all 0.5s;
}

.auth_wrapper[data-tab="1"] {
    transform: translateX(0%);
}

.auth_wrapper[data-tab="2"] {
    transform: translateX(-33.3333%);
}

.auth_wrapper[data-tab="3"] {
    transform: translateX(-66.6666%);
}

.auth_wrapper_item {
    width: 100%;
}

.auth-container {
    margin: 0 auto;
    overflow: hidden;
    max-width: min(580px, 100%);
    transition: max-height .4s ease;
}

.auth-forms {
    align-items: flex-start;
    transition: all 0.5s;
}

.tab-login {
    transform: translateX(0);
}

.tab-register {
    transform: translateX(-100%);
}

.auth_login {
    flex-shrink: 0;
    width: 100%;
}

.forgot-password-btn {
    border: none;
    cursor: pointer;
    background-color: var(--color-white);

    font-size: var(--fontsize-small);

    padding: 5px 0;
}

.auth_register {
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

/* !main */

/* auth-container */
.auth-forms-header {
    padding: 10px 0;
    border-bottom: solid 1px var(--color-gray);
}

.auth-forms-header span {
    cursor: pointer;
}

.auth-action-login, .auth-action-register {
    color: var(--color-gray-stroke);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.auth-action-login.active, .auth-action-register.active {
    color: var(--color-text);
}

.auth-form-topline {
    position: absolute;
    height: 3px;
    top:-3px;
    width:50%;
    background-color: var(--color-text);
}

.auth-form-topline.login {
    left: -1px;
}

.auth-form-topline.register {
    right: -1px;
}

#register-modal .custom-checkbox>span {
    font-size: 12px;
}

.auth_login__footer-btns {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: min(380px, 100%);
    margin: 0 auto;
}

.login-on-phone-btn {
    display: none;
    border: none;
    cursor: pointer;
    background-color: var(--color-white);

    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--color-fiolet);
    text-decoration: underline;


    padding: 30px 0;
}

.auth_login .custom-checkbox {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;

}

.auth_login .custom-checkbox__checkbox {
    width: 24px;
    height: 24px;
}


@media (max-width: 768px) {
    .auth-action-login, .auth-action-register {
        font-size: var(--fontsize-medium);
        font-weight: 800;
    }

    .auth-forms-header span {
        padding: 10px;
    }
}

@media (max-width: 468px) {
    .auth-action-login, .auth-action-register {
        font-size: var(--fontsize-very-small);
        font-weight: 800;
    }
}

/* !auth-container */

