/* ============================================================
   ESTILOS ADICIONALES PERSONALIZADOS
   ============================================================ */

/* ============================================================
   LOGIN
   ============================================================ */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    width: 100%;
}

.login-card .logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-card .logo h1 {
    color: #4a47a3;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.login-card .logo p {
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0 0;
}

.login-card .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
}

.login-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 16px;
}

.btn-login:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
    font-size: 14px;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.stat-card {
    border-radius: 12px;
    padding: 20px;
    color: white;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.stat-card .stat-label {
    opacity: 0.8;
    font-size: 14px;
    margin: 0;
}

.stat-card .stat-sub {
    opacity: 0.7;
    font-size: 12px;
}

/* ============================================================
   ERRORES
   ============================================================ */
.error-page {
    background: #f8f9fc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-card {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.error-card .error-icon {
    font-size: 80px;
    color: #e74a3b;
    margin-bottom: 20px;
}

.error-card h1 {
    font-size: 72px;
    font-weight: 700;
    color: #2d3748;
}

.error-card h3 {
    color: #4a5568;
    margin-bottom: 15px;
}

.error-card p {
    color: #718096;
    margin-bottom: 25px;
}

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-primary-custom {
    color: #4a47a3;
}

.bg-primary-custom {
    background: linear-gradient(135deg, #4a47a3 0%, #2d2b7a 100%);
}

.shadow-hover:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.transition {
    transition: all 0.3s ease;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4a47a3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d2b7a;
}