/* assets/css/login.css - Estilos Premium para la Página de Acceso */

:root {
    --login-primary: #2563eb;
    --login-dark: #0f172a;
    --login-text-muted: #64748b;
    --card-radius: 24px;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    overflow: hidden;
}

.main-container {
    display: flex;
    min-height: 100vh;
    animation: fadeIn 1s ease-out;
}

/* --- SECCIÓN DEL FORMULARIO --- */
.form-column {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    z-index: 10;
    box-shadow: 20px 0 50px rgba(0,0,0,0.02);
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-box {
    margin-bottom: 2.5rem;
}

.logo-box img {
    max-height: 110px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
}

.form-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--login-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.form-header p {
    color: var(--login-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.form-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: var(--card-radius);
    padding: 2.5rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    text-align: left;
}

.form-label {
    font-weight: 600;
    color: var(--login-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    border: 2px solid #f1f5f9 !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
}

.form-control:focus {
    border-color: var(--login-primary) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
    background: #ffffff !important;
}

.password-field-group {
    position: relative;
}

.eye-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--login-text-muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.eye-toggle:hover {
    color: var(--login-primary);
}

.form-check-label {
    font-size: 0.95rem;
    user-select: none;
}

.btn-login {
    background: var(--login-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 1.1rem !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    width: 100% !important;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4) !important;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5) !important;
    background: #1d4ed8 !important;
}

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

.forgot-password-link {
    display: block;
    text-align: center;
    color: var(--login-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.forgot-password-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-link-box {
    margin-top: 2.5rem;
}

/* --- SECCIÓN HERO --- */
.hero-column {
    flex: 1.2;
    background: #020617;
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 500;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .hero-column { display: none; }
    .form-column { max-width: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
