*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", serif;
}

.line{
    position: absolute;
    top: 0;
    width: 100vw;
    height: 10px;
    background-color: #6788F3;
}

.container{
    background: linear-gradient(180deg, #6788f314, #fff0 22.09%), #fbfbfc;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8); /* Эффект увеличения */
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.auth{
    animation: fadeIn 0.4s ease forwards;
}

.auth>form{
    display: flex;
    flex-direction: column;
    gap:12px;
    background-color: #F4F4F6;
    padding: 36px;
    border-radius: 16px;
    min-width: 382px;
}

.recovery{
    display: none;
    flex-direction: column;
    gap:12px;
    background-color: #F4F4F6;
    padding: 36px;
    border-radius: 16px;
    min-width: 382px;
    animation: fadeIn 0.4s ease forwards;
}

.auth>form>h1{
    margin-bottom: 12px;
    color: #4d505e;
}

.recovery>h1{
    margin-bottom: 12px;
    color: #4d505e;
}

.auth>form>label, .recovery>label{
    font-weight: 700;
    color:#a6acbf;
}

.auth>form>input, .recovery>input, .auth>form>select{
    width: 100%;
    border-radius: 16px;
    height: 48px;
    border: 0;
    padding: 0 32px;
    font-size: 16px;
    color: #4d505e;
    font-weight: 600;
    outline: none;
    border: 2px solid white;
    transition: .3s all;
}

.auth>form>input:hover, .auth>form>select:hover, .recovery>input:hover{
    border: 2px solid #6788F3;
}

.auth>form>input:focus, .auth>form>select:focus, .recovery>input:focus{
    border: 2px solid #6788F3;
}

.auth>form>input::placeholder, .auth>form>select::placeholder, .recovery>input::placeholder{   
    color: #a6aab5;
    font-weight: 600;
    transition: .3s all;
}

.auth>form>input:focus::placeholder, .recovery>input:focus::placeholder, .auth>form>select:focus::placeholder{
    color: #4d505e;
}

.recovery>.buttons{
    display: flex;
    gap: 10px;
}

.auth>form>button, .recovery>.buttons>button{
    margin-top: 12px;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    border-radius: 16px;
    background-color: #6788F3;
    border: 0;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.auth>form>button:disabled, .recovery>.buttons>button:disabled{
    opacity: .4;
    cursor:default;
}

.auth>form>i, .recovery>i{
    color: #a6aab5;
}

.auth>form>.email, .recovery>.email{
    position: absolute;
    margin-top: 118px;
    margin-left: 10px;
}

.auth>form>.pass{
    position: absolute;
    margin-top: 210px;
    margin-left: 10px;
}

.auth>form>.show, .auth>form>.no-show{
    display: none;
    position: absolute;
    margin-top: 212px;
    margin-left: 280px;
    cursor: pointer;
}

.auth>form>p{
    color: #6788F3;
    font-weight: 600;
    cursor: pointer;
    transition: .3s all;
}

.auth>form>p:hover{
    color: #6c8efe;
}

.auth>form>p:active{
    color: #607dde;
}

.recovery>.true-email{
    display: none;
    color: #f66;
    font-weight: 500;
}

.recovery>.false-email{
    display: none;
    color: #f66;
    font-weight: 500;
}

.recovery>.buttons>button.back{
    background-color: #a6acbf;
}

.recovery>.login.invalid{
    border: 2px solid #f66;
}

.pop-up{
    position: fixed;
    display: none;
    top: 20px;
    left: 40%;
    padding: 12px;
    background-color:#6788F3;
    color: white;
    width: 400px;
    border-radius: 6px;
    text-align: center;
    animation: fadeIn 0.2s ease forwards;
}
