/* ==========================================
   ESTILOS LOGIN - SINCRONIZADOS CON SISTEMA
   ========================================== */
:root {
    --primary: #1a73e8; /* Tu azul principal */
    --success: #34a853; /* Tu verde de éxito */
    --danger: #d93025;  /* Tu rojo de error */
    --bg: #f8f9fa;      /* Tu fondo gris claro */
    --text: #334155;    /* Tu color pizarra profesional */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px; /* Sincronizado con tus modales */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Tu sombra estándar */
    width: 100%;
    max-width: 400px;
    border: 1px solid #e2e8f0;
}

h2 {
    text-align: center;
    color: #0f172a;
    margin-bottom: 25px;
    font-weight: 800;
}

/* Alertas usando tus estilos de sistema */
.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 700;
}
.alert-error { 
    background-color: #fee2e2; 
    color: var(--danger); 
    border: 1px solid #fecaca; 
}
.alert-success { 
    background-color: #dcfce7; 
    color: var(--success); 
    border: 1px solid #bbf7d0; 
}

.form-group { margin-bottom: 18px; }

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Inputs con el estilo de tus buscadores */
input[type="email"], input[type="password"], input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
    outline: none;
}

/* Contenedor del Password con Ojo */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
}

/* Botón usando tu clase .btn-masivo */
button[type="submit"] {
    width: 100%;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

button:hover { filter: brightness(1.1); }

.footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* ==========================================
   NUEVOS AJUSTES: SELECTS Y CELULAR (SISTEMA)
   ========================================== */

/* Estilo para el input de celular (tel) */
input[type="tel"] {
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #4a5568;
}

input[type="tel"]:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
    outline: none;
}

/* Wrapper para los Selects (Igual a tu buscador) */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    background-color: #f8fafc; /* Fondo suave del sistema */
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.select-wrapper:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.select-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary);
    z-index: 10;
    font-size: 14px;
    pointer-events: none;
}

.select-wrapper select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    padding: 0 35px 0 42px; /* Espacio para el icono izquierdo y flecha derecha */
    appearance: none;
    -webkit-appearance: none;
    /* Flecha personalizada azul de tu estilos.css */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a73e8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    color: #475569;
    font-size: 14px;
    font-family: inherit;
}

/* Ajuste para el contenedor de checkboxes (Niveles/Asignaturas) */
.checkbox-group {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    margin-top: 8px;
}

/* Scrollbar personalizado para las listas largas de asignaturas */
.checkbox-group::-webkit-scrollbar {
    width: 6px;
}
.checkbox-group::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.checkbox-group::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}