:root {
    --bg-color: #0f172a;
    --sidebar-bg: #1e293b;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-hover: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    padding-top: 2rem;
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
    text-decoration: none;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background-color: rgba(59, 130, 246, 0.15);
}

.nav-link.active {
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 8px 8px 0;
}

/* Cards & Glassmorphism */
.card-glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.card-header-glass {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

/* Typography */
h2.page-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Tables */
.table-glass {
    color: var(--text-primary);
    margin-bottom: 0;
}

.table-glass th {
    border-bottom: 1px solid var(--border-color);
    border-top: none;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table-glass td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.table-glass tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Forms & Inputs */
.form-control-glass {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control-glass:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    color: white;
}

.form-control-glass::placeholder {
    color: #64748b;
}

/* Buttons */
.btn-primary-glass {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary-glass:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
    color: white;
}

.btn-outline-glass {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
