@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500&display=swap');

body {
    width: 100%;
    height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(120deg, rgba(34, 31, 55, 1) 50%, rgba(186, 121, 84, 1) 50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.contenedor {
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    border-radius: 30px;
    width: 1000px;
    height: 500px;
    overflow: hidden;
}

.imagen{
    width: 500px;
    height: 500px;
    padding: 0px;
    border: 0px;
}

.imagen img {
    width: 500px;
    height: 500px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.contenedorFormulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px ;
    width: 500px;
    height: 500px;
    gap: 40px;
    background-color:#BA7954 ;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario input {

    width: 350px;
    height: 35px;
    background-color: transparent;
    border-style: none;
    border-bottom: white 1px solid;
    font-size: 17px;
}

.formulario input::placeholder {
    color: white;
    font-size: 17px;
    letter-spacing: 3px;
    font-weight: 300;
}

input:focus {
    outline: none;
}

.contenedorBotones{
    display: flex;
    gap: 70px;
}

.botones{
    color: white;
    background-color: transparent;
    border: solid 1px white;
    font-size: 17px;
    letter-spacing: 1px;
    padding: 7px 27px;
    cursor: pointer;
    border-radius: 5px;
}

.botones:hover{
    color: rgb(84, 84, 84);
    background-color: white;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.restablecerPassword{
    cursor: pointer;
}

.contenedorImg2{
    display: flex;
    justify-content: center;
    position: relative;
}

.imagen2{
    position: absolute;
    top: 0px;
    width: 100px;
    height: auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    body {
        overflow: auto;
        padding: 20px 0;
        min-height: 100vh;
    }

    .contenedor {
        flex-direction: column;
        width: 92%;
        max-width: 400px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.8);
    }

    .imagen {
        width: 100%;
        height: 200px;
        min-height: 180px;
    }

    .imagen img {
        width: 100%;
        height: 200px;
        min-height: 180px;
        border-radius: 20px 20px 0 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        object-fit: cover;
    }

    .contenedorFormulario {
        width: 100%;
        height: auto;
        padding: 30px 24px 40px;
        border-radius: 0 0 20px 20px;
        border-top-right-radius: 0;
    }

    .formulario {
        width: 100%;
    }

    .formulario input {
        width: 100%;
        font-size: 16px;
        padding: 8px 0;
    }

    .contenedorBotones {
        gap: 30px;
        justify-content: center;
    }

    .botones {
        font-size: 16px;
        padding: 10px 30px;
    }
}

@media (max-width: 360px) {
    .contenedor {
        width: 96%;
    }

    .contenedorFormulario {
        padding: 20px 16px 30px;
    }

    .contenedorBotones {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}