:root {
    --primary-color: #4f46e5; /* Indigo 600 */
    --secondary-color: #64748b; /* Slate 500 */
    --bg-color: #f1f5f9; /* Slate 100 */
    --card-bg: #ffffff;
    --sidebar-bg: #1e293b; /* Slate 800 */
    --text-main: #334155;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
}

/* Sidebar */
.sidebar {
    min-height: 100vh;
    background-color: var(--sidebar-bg);
    color: #fff;
    box-shadow: 4px 0 10px rgba(0,0,0,0.05);
}
.sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 20px;
    font-weight: 500;
    transition: 0.2s;
    border-radius: 8px;
    margin-bottom: 5px;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}
.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
}
.card-header {
    background-color: transparent;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    padding: 1.2rem;
}

/* Tables */
.table-custom th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    border-bottom-width: 1px;
}
.table-custom td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Badge Pills */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Login Page */
.login-body {
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}