/* --- GLOBAL VARIABLES [cite: 1-77, image_b450ce.png] --- */
:root {
    --accent: #6366f1;
    --accent-gradient: linear-gradient(118deg, #6366f1, #8b5cf6);
    --bg: #0f172a;
    --sidebar-bg: #1c222d;
    --surface: #1e293b;
    --input-bg: #0f172a;
    --text-main: #f8fafc;
    --text-dim: #aab2bd;
    --success: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* --- SIDEBAR STYLING [cite: image_b450ce.png] --- */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    box-sizing: border-box;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 50px;
    font-size: 22px;
    font-weight: 800;
}
.logo i { color: var(--success); font-size: 26px; }
.logo .brand { color: var(--success); }
.logo .admin-text { color: #536e63; font-weight: 400; font-size: 18px; margin-left: 5px; }

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--text-dim);
    border-radius: 18px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-item i { font-size: 20px; width: 24px; text-align: center; }

.nav-item.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.nav-item:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
}

/* --- COMMON MAIN LAYOUT --- */
.main {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.card {
    background: var(--surface);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 25px;
}