/* estiloLogin.css */

/* Reseteo básico para asegurar consistencia sin Bootstrap */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fondoPantalla {
    background-color: #f4f5f7; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem; 
}

.tarjetaLogin {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); 
    max-width: 480px;
    width: 100%;
    padding: 3rem; 
}

.cabeceraLogin {
    text-align: center;
    margin-bottom: 2rem;
}

/* --- AQUÍ SE APLICÓ EL MARRÓN MÁS OSCURO --- */
.tituloLogin {
    color: #5e483e; 
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.subtituloLogin {
    color: #8c9fa0; 
    font-size: 0.95rem;
}

.grupoFormulario {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* --- AQUÍ SE APLICÓ EL MARRÓN MÁS OSCURO --- */
.etiquetaFormulario {
    flex: 0 0 33.3333%; 
    text-align: right;
    padding-right: 1rem;
    color: #5e483e; 
    font-weight: 700;
}

.contenedorEntrada {
    flex: 1; 
}

/* --- AQUÍ SE APLICÓ EL MARRÓN MÁS OSCURO AL TEXTO DEL INPUT --- */
.campoEntrada {
    width: 100%;
    border: 1px solid #a2c0a9; 
    border-radius: 0.375rem;
    color: #5e483e;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.campoEntrada:focus {
    border-color: #f5b987; 
    box-shadow: 0 0 0 0.25rem rgba(245, 185, 135, 0.3);
    outline: none;
}

.botonPrimario {
    width: 100%;
    background-color: #a2c0a9; 
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 1.5rem;
}

/* --- EL HOVER DEL BOTÓN AHORA USA EL MARRÓN OSCURO --- */
.botonPrimario:hover {
    background-color: #5e483e; 
    transform: translateY(-2px);
}

.pieContenedor {
    text-align: center;
}

.enlaceOlvido {
    color: #a2c0a9; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.enlaceOlvido:hover {
    color: #f5b987; 
    text-decoration: underline;
}

/* Responsivo para pantallas muy pequeñas (móviles) */
@media (max-width: 576px) {
    .tarjetaLogin {
        padding: 2rem;
    }
    
    .grupoFormulario {
        flex-direction: column;
        align-items: flex-start;
    }

    .etiquetaFormulario {
        flex: none;
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }
}