:root {
    --omni-bg: #f4f6f9;
    --omni-surface: #ffffff;
    --omni-sidebar: #000000;
    --omni-primary: #7209b7; /* Purple from active item in image */
    --omni-secondary: #4361ee;
    --omni-text: #1b2559;
    --omni-text-muted: #8b95b3;
    --omni-border: #e9edf7;
    --omni-radius: 1rem;
}

body {
    background-color: var(--omni-bg);
    color: var(--omni-text);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

/* Sidebar Dark as in the image */
.sidebar {
    background-color: var(--omni-sidebar) !important;
    border-right: none !important;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Active item with the exact purple gradient from image */
.sidebar .nav-link.active {
    background: linear-gradient(90deg, #7209b7, #8b5cf6) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.4);
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    margin-right: 10px;
}

/* Clean White Cards as in the image */
.card {
    background-color: var(--omni-surface);
    border: 1px solid var(--omni-border);
    border-radius: var(--omni-radius);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.kpi-card .kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #f8f9fa;
}

/* Main Content Header Area */
header.sticky-top {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--omni-border);
}

/* Tables style as in image */
.table {
    font-size: 0.95rem;
}
.table thead th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #1b2559;
    border-bottom: 2px solid #f4f6f9;
    padding: 1rem;
}
.table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f4f6f9;
}

/* Badges from the template image */
.badge-entrant {
    background-color: #00bcd4; /* Cyan as in image */
    color: #fff;
    padding: 0.5em 0.9em;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-ended {
    background-color: #4caf50; /* Green as in image */
    color: #fff;
    padding: 0.5em 0.9em;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Buttons */
.btn-outline-primary {
    border-color: #4361ee;
    color: #4361ee;
    border-radius: 20px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
}

.btn-outline-primary:hover {
    background-color: #4361ee;
    color: #fff;
}

/* ── Custom Scrollbar ───────────────────────────────────────────────── */
/* General Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--omni-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--omni-secondary);
}

/* Sidebar Specific Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--omni-sidebar);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--omni-primary);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 var(--omni-bg);
}

.sidebar {
    scrollbar-color: rgba(255, 255, 255, 0.1) var(--omni-sidebar);
}

