/*
==========
Medusa Login Styles
==========
*/

.medusa{
    width:calc(100% - 4em);
    padding:30px 2em 7em 2em;
    display:flex;
    justify-content:center;
    overflow:visible;
}

.medusa__content{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start; /* FIX */
}

/*
==========
Presentation
==========
*/

.presentation__container{
    opacity:0;
    transform:translateX(-80px);
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.medusa.animate .presentation__container{
    animation: slideLeftToRight 0.8s ease forwards;
    animation-delay:0.2s;
}

.container__presentation__top{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.presentation__top{
    color:var(--blue-color);
}

.presentation__botton{
    color:var(--orange-color);
    margin-top:1em;
}

/*
==========
Forms container
==========
*/

.forms{
    position:relative;
    width:100%;
    max-width:100%;
}

/*
==========
Forms base
==========
*/

.login__student,
.login__no__estudent{
    width:100%;
    max-width:100%;
    background:var(--white-color);
    padding:40px;
    border-radius:8px;
    box-shadow:0 0 20px var(--black-color-transparent);

    opacity:0;
    transform:translateX(80px);
    transition:all 0.6s ease;

    box-sizing:border-box;

    display:none; /* 👈 IMPORTANTE */
}

.forms.active-student .login__student{
    display:block;
    opacity:1;
    transform:translateX(0);
}

.forms.active-teacher .login__no__estudent{
    display:block;
    opacity:1;
    transform:translateX(0);
}
/*
==========
Cascade animation inside forms
==========
*/

.login__title,
.input__container,
.forgot__content,
.checkbox__content,
.button__green,
.change__form{
    opacity:0;
    transform:translateX(-40px);
}

/* Student cascade */
.forms.active-student .login__student .login__title{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:0.2s;
}

/* Student cascade */
.forms.active-student .login__student .input__container:nth-child(2){
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay: 0.4s; /* Usuario */
}

.forms.active-student .login__student .input__container:nth-child(3){
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay: 0.6s; /* Contraseña */
}

/* Teacher/Admin cascade */
.forms.active-teacher .login__no__estudent .input__container:nth-child(2){
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay: 0.4s; /* Usuario */
}

.forms.active-teacher .login__no__estudent .input__container:nth-child(3){
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay: 0.6s; /* Contraseña */
}

.forms.active-student .login__student .forgot__content{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:0.8s;
}

.forms.active-student .login__student .button__green{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:1s;
}

.forms.active-student .login__student .change__form{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:1.2s;
}

/* Teacher/Admin cascade */
.forms.active-teacher .login__no__estudent .login__title{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:0.2s;
}

.forms.active-teacher .login__no__estudent .checkbox__content{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:0.8s;
}

.forms.active-teacher .login__no__estudent .button__green{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:1s;
}

.forms.active-teacher .login__no__estudent .change__form{
    animation: slideLeftToRight 0.6s ease forwards;
    animation-delay:1.2s;
}

/*
==========
Inputs
==========
*/

.input__container{
    display:flex;
    align-items:center;
    border-bottom:2px solid var(--orange-color);
}

.login__input{
    width:100%;
    padding:10px;
    border:none;
    outline:none;
}

/*
==========
Buttons & links
==========
*/

.change__form{
    margin-top:15px;
    text-align:center;
}

.change__form .login__account{
    color: var(--red-color);
}

.login__signin{
    color:var(--orange-color);
    cursor:pointer;
    font-weight:bold;
}

.login__signin:hover{
    color:var(--background-hover-orange-color);
    cursor:pointer;
    font-weight:bold;
}

/*
==========
Titles colors
==========
*/

.login__title h3{
    color:var(--blue-color);
}

.login__title h4{
    color:var(--orange-color);
}

/*
==========
Animation keyframes
==========
*/

@keyframes slideLeftToRight{
    from{
        opacity:0;
        transform:translateX(-60px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

/*
==========
Responsive
==========
*/

@media(max-width:700px){
    .medusa__content{
        grid-template-columns:1fr;
    }
}

/*
==========
Styles for description.
========== 
*/

.container__description{
    width: 100%;
    height: auto;
    margin-bottom: 3em;
}

.container__description .title__three,
.container__description .title__two,
.container__description .normal{
    opacity: 0;
    transform: translateX(-60px);
}

.container__description.animate .title__three{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.container__description.animate .title__two{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.4s;
}

.container__description.animate .normal{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.6s;
}

.container__description .title__three{
    color: var(--orange-color);
    text-align: center;
    margin-top: 2em;
}

.container__description .title__two{
    color: var(--blue-color);
    text-align: center;
    padding-bottom: 1em;
}

.container__description .normal{
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1em;
}

/*
==========
Responsive description
==========
*/

@media screen and (max-width: 900px){
    .container__description{
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 700px){
    .container__description .title__two{
        font-size: 2em;
    }
}

@media screen and (max-width: 400px){
    .container__description{
        width: 100%;
        height: auto;
    }
}

.checkbox__content{
    display:flex;
    align-items:center;
    gap:10px;
    margin:15px 0 20px 0; /* 👈 separación clave */
}

