/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* CONTENEDOR PRINCIPAL */
.cuerpo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* CONTENEDOR FLEXIBLE */
#row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FORMULARIO */
.login-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
}

.highlight {
    color: #00aaff;
    font-weight: bold;
}

/* INPUTS Y SELECT */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

input, select {
    padding: 10px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

/* ENLACE OLVIDÓ CONTRASEÑA */
.forgot-password {
    font-size: 13px;
    color: #2196f3;
    text-decoration: none;
    margin-top: 10px;
    text-align: center;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* BOTONES */
.botones {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #014781;
}

/* IMAGEN */
.login-image {
    width: 100%;
    max-width: 500px;
    height: 250px;
    background-image: url("../../../res/imagenes/img_PaginaLogin/img_login.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

/* =======================
   DISEÑO PARA ESCRITORIO
========================== */
@media (min-width: 1024px) {
    #row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .login-form, .login-image {
        width: 48%;
        max-width: none;
    }

    .login-image {
        height: 100%;
        min-height: 350px;
    }
}
