:root {
    --bg-primary: #f1f5f9;
    --sidebar-bg: #0f172a;
    --sidebar-accent: #1e293b;
    --brand-blue: #3b82f6;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --error-red: #ef4444;
}

body { 
    margin: 0; 
    display: flex; 
    height: 100vh; 
    overflow: hidden;
}

.sidebar { 
    width: 260px; 
    background: var(--sidebar-bg); 
    color: #cbd5e1; 
    padding: 2rem 1.5rem; 
    display: flex;
    flex-direction: column;
}

.brand { 
    font-weight: 800; 
    font-size: 1.1rem; 
    color: white; 
    margin-bottom: 2.5rem; 
    letter-spacing: 1px;
}

.nav-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: default;
}

.nav-item.active { background: var(--sidebar-accent); color: white; }
.nav-item.disabled { opacity: 0.4; pointer-events: none; }

.status { 
    margin-top: auto;
    font-size: 0.8rem; 
    margin-bottom: 0.8rem; 
    display: flex; 
    align-items: center; 
}

.dot { 
    height: 8px; width: 8px; 
    background: #22c55e; 
    border-radius: 50%; 
    margin-right: 10px; 
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.main { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
}

.login-box { 
    background: white; 
    padding: 3rem; 
    border-radius: 8px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    width: 360px; 
}

h2 { margin: 0 0 0.5rem; font-size: 1.5rem; color: var(--text-dark); }
p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.5; }

.input-group { margin-bottom: 1.25rem; }
.input-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-muted); }

input { 
    width: 100%; 
    padding: 0.75rem 1rem; 
    border: 1px solid #e2e8f0; 
    border-radius: 6px; 
    box-sizing: border-box; 
    font-size: 1rem;
}

button { 
    width: 100%; 
    padding: 0.75rem; 
    background: var(--brand-blue); 
    color: white; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 600; 
    margin-top: 1rem;
}

button:disabled { opacity: 0.7; cursor: wait; }

.error-msg { 
    display: none; 
    margin-top: 1.5rem; 
    padding: 1rem; 
    background: #fef2f2; 
    border: 1px solid #fee2e2; 
    border-radius: 6px; 
    font-size: 0.85rem; 
    color: var(--error-red); 
}

.legal { position: absolute; bottom: 2rem; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

