#ath_page{
    min-height: 100vh;
    height: auto;
    background: #F5F7FF;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 0px;
    min-height: 90vh;
}
#ath_page .container{
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 60px;
    padding: 60px;
    padding-bottom: 50px;
}
.ath_page_ava{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}
#ath_page .container{
    background: #fff;
    padding: 60px;
    border-radius: 50px;
    width: auto;
    max-width: 1000px;
}
.validation-list li.valid{
    color: green;
}
.ath_toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.ath_div{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding-bottom: 20px;
    border-bottom: 1px solid #C7C7C7;
    transition: .3s;
}
.ath_div p{
    color: #888888;
    transition: .3s;
    font-weight: 500;
}
.ath_div_active{
    border-bottom: 1px solid #485FC7;
}
.ath_div_active p{
    color: #485FC7;
}
#ath_page input{
    padding: 20px;
    border: 1px solid #C7C7C7;
    border-radius: 5px;
    height: 59px;
    font-family: 'Raleway';
}
.password_input{
    position: relative;
}
.eye-icon{
    position: absolute;
    z-index: 10;
    top: 20px;
    right: 20px;
    height: 14px;
    width: auto;
    cursor: pointer;
}
.eye-icon img{
    height: 14px;
    width: auto;
}
#ath_page form a{
    text-decoration: underline;
    display: block;
}
#ath_page form button{
    font-family: 'Raleway';
    height: 59px;
}
.ath_row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.ath_enter_p{
    color: #888888;
    font-weight: 500;
}
.ath_row a{
    border-radius: 50px;
    height: 60px;
    width: 60px;
    transition: .3s;
}
.ath_row a:hover{
    box-shadow: 0px 0px 10px rgb(72, 95, 199, 0.3);
}
.validation-list{
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
    background-color: #F5F7FF;
    display: none;
    position: absolute;
    left: -360px;
    bottom: 220px;
    z-index: 10;
    width: 340px;

}
.validation-list::before{
    content: "";
    position: absolute;
    right: -15px; /* Сместить треугольник влево от контейнера */
    top: 20px; /* Смещение по вертикали */
    width: 0;
    height: 0;
    border-left: 10px solid transparent; /* Верхняя сторона прозрачная */
    border-right: 10px solid transparent; /* Нижняя сторона прозрачная */
    border-bottom: 10px solid #F5F7FF; /* Правая сторона окрашена в цвет рамки */
    transform: rotate(90deg);
}
.validation-list li{
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: red;
}

.register_form{
    display: none;
    position: relative;
}
#error_msg{
    margin-top: 20px;
}

@media(max-width:991px){
    #ath_page .container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        row-gap: 40px;
    }
    #ath_page{
        padding: 40px 0px;
        background: #fff;
    }
    .ath_page_ava{
        height: 140px;
        width: 140px;
    }
    #ath_page form{
        max-width: 300px;
    }
    .eye-icon img{
        height: 12px;
    }
    #ath_page h2{
        font-size: 24px !important;
    }
    .ath_div{
        padding-bottom: 10px;
    }
    .validation-list{
        left: -20px;
        bottom: 384px;
    }
    .validation-list::before{
        transform: rotate(180deg);
        top: auto;
        left: 20px;
        bottom: -10px;
    }
}

@media(max-width: 360px){
    .validation-list{
        width: 100%;
        max-width: 300px;
        left: 0;
        bottom: 382px;
    }
}

.register_form_div label{
    color: red;
    font-size: 14px;
    position: absolute;
    display: inline-block;
    padding: 0px 5px;
    background: #fff;
    z-index: 10;
    top: 7px;
    left: 15px;
    opacity: 0;
}
.register_form_div label.active_label{
    opacity: 1;
}
.register_form_div:first-child label{
    top: -10px;
}
.register_form_div{
    position: relative;
}

@media(max-width:991px){
    .register_form_div label{
        font-size: 12px;
        left: 10px;
    }
}