/*ESTILO GENERAL */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .login-container {
        background: rgba(15, 23, 42, 0.95);
        border-radius: 20px;
        box-shadow: 0 25px 80px rgba(0,0,0,0.6);
        overflow: hidden;
        max-width: 900px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .login-left {
        background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #0ea5e9 100%);
        padding: 3rem;
        color: #e2e8f0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
    }

    /* Glow tipo "línea de luz" del logo */
    .login-left::after {
        content: "";
        position: absolute;
        bottom: 20px;
        width: 70%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #38bdf8, transparent);
        box-shadow: 0 0 15px #38bdf8;
    }
    
    .login-left i {
        font-size: 5rem;
        margin-bottom: 2rem;
        color: #cbd5f5;
        text-shadow: 0 0 20px rgba(56,189,248,0.5);
    }
    
    .login-left h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }
    
    .login-left p {
        font-size: 1.1rem;
        opacity: 0.85;
        line-height: 1.6;
    }
    
    .login-right {
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #020617;
    }
    
    .login-header {
        margin-bottom: 2rem;
    }
    
    .login-header h2 {
        font-size: 1.8rem;
        color: #e5e7eb;
        margin-bottom: 0.5rem;
    }
    
    .login-header p {
        color: #94a3b8;
    }
    
    .alert-error {
        background: rgba(127, 29, 29, 0.2);
        border: 1px solid #ef4444;
        color: #fca5a5;
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-label {
        display: block;
        font-weight: 600;
        color: #cbd5f5;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .form-control {
        width: 100%;
        padding: 0.875rem 1rem;
        border: 1px solid #1e293b;
        border-radius: 10px;
        font-size: 1rem;
        background: #020617;
        color: #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        outline: none;
        border-color: #38bdf8;
        box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    }
    
    .btn-login {
        width: 100%;
        padding: 1rem;
        background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }
    
    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    }
    
    .login-footer {
        margin-top: 2rem;
        text-align: center;
        color: #64748b;
        font-size: 0.9rem;
    }
    
    .demo-credentials {
        background: #020617;
        border: 1px dashed #334155;
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .demo-credentials h4 {
        color: #cbd5f5;
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .demo-item {
        background: #0f172a;
        padding: 0.5rem;
        border-radius: 6px;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        color: #e2e8f0;
    }
    
    .demo-item:last-child {
        margin-bottom: 0;
    }
    
    .demo-item strong {
        color: #38bdf8;
    }
    
    @media (max-width: 768px) {
        .login-container {
            grid-template-columns: 1fr;
        }
        
        .login-left {
            padding: 2rem;
        }
        
        .login-left i {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .login-left h1 {
            font-size: 1.8rem;
        }
        
        .login-right {
            padding: 2rem;
        }
    }


/* =========================
   PERSEO DASHBOARD THEME
========================= */

body {
    background: radial-gradient(circle at top, #0f172a 0%, #020617 100%);
    color: #e2e8f0;
}

/* HEADER */
.header {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo i {
    font-size: 1.8rem;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56,189,248,0.6);
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-text span {
    font-size: 0.7rem;
    color: #64748b;
}

/* PAGE HEADER */
.page-header h2 {
    color: #e2e8f0;
}

.page-header p {
    color: #94a3b8;
}

/* STAT CARDS */
.stat-card {
    background: linear-gradient(145deg, #020617, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(56,189,248,0.2);
}

.stat-icon {
    background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
    color: white;
    box-shadow: 0 0 20px rgba(14,165,233,0.5);
}

/* eliminar colores viejos */
.stat-icon.green,
.stat-icon.orange,
.stat-icon.purple,
.stat-icon.blue {
    background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
}

/* TEXTOS */
.stat-content h3 {
    color: #e2e8f0;
}

.stat-content p {
    color: #94a3b8;
}

.stat-subtitle {
    color: #38bdf8;
}

/* CARDS */
.card {
    background: #020617;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.card-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.card-header h3 {
    color: #e2e8f0;
}

.card-body {
    color: #cbd5f5;
}

/* LISTAS */
.list-item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.list-item h4 {
    color: #e2e8f0;
}

.list-item p {
    color: #94a3b8;
}

/* BADGES */
.badge-success {
    background: rgba(34,197,94,0.2);
    color: #4ade80;
    border: 1px solid #22c55e;
}

/* BOTONES */
.btn {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
    border: none;
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(14,165,233,0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #334155;
    color: #cbd5f5;
}

.btn-outline:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    color: #64748b;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #38bdf8;
}

/* QUICK ACTIONS */
.quick-actions h3 {
    color: #e2e8f0;
}

.action-card {
    background: linear-gradient(145deg, #020617, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    color: #cbd5f5;
    transition: all 0.3s ease;
}

.action-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #38bdf8;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(56,189,248,0.25);
}