:root {
    --bg-main: #111827;       
    --bg-sidebar: #1f2937;   
    --accent-blue: #3b82f6;   
    --card-white: #ffffff;
    --text-muted: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: white;
}

.dashboard-wrapper { display: flex; }

.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.brand { text-align: center; margin-bottom: 20px; }
.logo-placeholder { font-size: 40px; color: #fbbf24; margin-bottom: 5px; }
.brand span { font-weight: 700; letter-spacing: 1px; }

.divider { height: 1px; background: #374151; margin: 20px 0; }

.nav-links { list-style: none; }
.nav-links li a {
    display: block;
    padding: 14px 18px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: 0.2s;
}

.nav-links li a.active, .nav-links li a:hover {
    background-color: var(--accent-blue);
    color: white;
}

.main-content {
    margin-left: 280px;
    padding: 40px;
    width: calc(100% - 280px);
}

.main-header h1 { font-size: 2rem; margin-bottom: 8px; }
.main-header p { color: var(--text-muted); margin-bottom: 40px; }

.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.badge { 
    background: #374151; padding: 4px 12px; border-radius: 20px; 
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.glass-card {
    background: var(--card-white);
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.glass-card h3 {
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-blue);
    padding-left: 10px;
}

.img-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    mix-blend-mode: multiply; 
}

.full-width { grid-column: span 2; }

/* --- ESTILOS DEL PIE DE PÁGINA --- */
.dashboard-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #374151;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand { display: flex; align-items: center; gap: 15px; }
.logo-mini { font-size: 24px; color: #fbbf24; }
.footer-brand strong { color: white; display: block; font-size: 1.1rem; }

.footer-status { text-align: right; }

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
    margin-top: 5px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    padding: 20px 0;
    border-top: 1px solid #1f2937;
}

html { scroll-behavior: smooth; }