/**
 * Estilos para login de 2 paneles - Academia Lees
 * Diseño responsive que funciona en todos los dispositivos
 */

:root {
    --lees-primary: #114189;
    --lees-secondary: #00bced;
    --lees-success: #9ed53d;
    --lees-warning: #f7830f;
    --lees-danger: #dc3545;
    --lees-background: #f8f8f8;
}

body {
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-secondary) 100%);
    min-height: 100vh;
}

.login-container {
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--lees-background);
}

/* Panel izquierdo - Branding */
.login-left {
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-secondary) 100%);
}

/* Estilos de formularios */
.form-control:focus {
    border-color: var(--lees-primary);
    box-shadow: 0 0 0 0.2rem rgba(17, 65, 137, 0.15);
}

/* Estilos de input-group-text eliminados - Bootstrap maneja esto */

/* Botones corporativos */
.btn-primary {
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-secondary) 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 65, 137, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--lees-secondary) 0%, var(--lees-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 65, 137, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--lees-secondary) 0%, var(--lees-primary) 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 65, 137, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 65, 137, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}
/* Enlaces - usando colores corporativos */
.forgot-password {
    color: var(--lees-primary);
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--lees-secondary);
}

/* Estados de carga manejados con clases Bootstrap */
.logo-large {
    width: 100%;
    height: auto;
}

.logo-medium {
    width: 50%;
    height: auto;
}

/* Icon circles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle-green {
    background: var(--lees-success);
}

.icon-circle-orange {
    background: var(--lees-warning);
}

.icon-circle-blue {
    background: var(--lees-secondary);
}

/* Estados de carga manejados con clases Bootstrap (d-none, d-inline-block) */

/* Responsive Design */
@media (max-width: 991.98px) {
    /* Tablets y móviles grandes */
    .login-container {
        max-width: 90vw;
        min-height: 500px;
    }

    .login-left {
        display: none !important; /* Oculta completamente el panel izquierdo */
    }

}

@media (max-width: 575.98px) {
    /* Móviles pequeños */
    .container-fluid {
        padding: 1rem !important;
    }

    /* Estilos de botones y controles manejados por Bootstrap */
}

@media (min-width: 992px) {
    /* Desktop */
    .login-container {
        max-width: 1200px;
        min-height: 650px;
    }
}

/* Diseño optimizado - Bootstrap maneja animaciones, validación y box-sizing */

/* ================================================
   ESTILOS PARA PÁGINA DE REGISTRO DE ESTUDIANTES
   ================================================ */

/* Tarjeta de registro */
.registro-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
}

/* Información del estudiante */
.info-estudiante {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Logo de registro */
.logo-registro {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

/* Animación de entrada para contenedores de registro */
.registro-container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenedor de página de error */
.error-container {
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta de error */
.error-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
}
