/* ======================================================= */
/* Estilos Globales para Login y Registro (style.css)      */
/* ======================================================= */

/* 1. Fondo moderno con degradado suave */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #e0e7ee 100%); /* Degradado gris-azulado */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* 2. Contenedor de Autenticación (Card) */
.auth-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada y suave */
    width: 100%;
    max-width: 450px; /* Más ancho para un mejor look */
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.auth-container:hover {
    transform: translateY(-5px); /* Pequeño efecto al pasar el mouse */
}

/* 3. Título */
.auth-container h2 {
    color: #34495e; /* Azul oscuro */
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1abc9c; /* Línea de color de marca */
    font-size: 1.8em;
}

/* 4. Etiquetas e Inputs */
.auth-container label {
    display: block;
    text-align: left;
    margin-top: 18px;
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
}

.auth-container input[type="email"], 
.auth-container input[type="password"],
.auth-container input[type="text"],
.auth-container select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-container input:focus,
.auth-container select:focus {
    border-color: #3498db; /* Borde azul al enfocar */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}

/* 5. Botón de Autenticación */
.auth-btn {
    background-color: #3498db; /* Azul primario */
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 30px;
    width: 100%;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
    transition: background-color 0.3s, transform 0.2s;
}

.auth-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

/* 6. Enlaces */
.auth-container p {
    margin-top: 25px;
    font-size: 0.95em;
}

.auth-container a {
    color: #1abc9c; /* Verde de marca */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-container a:hover {
    color: #16a085;
    text-decoration: underline;
}

/* 7. Mensajes de feedback */
.mensaje { 
    padding: 12px; 
    margin-bottom: 20px; 
    border-radius: 4px; 
    font-weight: 600;
    text-align: center;
}
.exito { 
    background-color: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}
.error { 
    background-color: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}