:root {
    --primary-color: #0061ff;
    --primary-hover: #0052d9;
    --primary-light: #e6f0ff;
    --secondary-color: #64748b;
    --bg-light: #f8fafc;
    --sidebar-bg: #ffffff;
    --sidebar-active-bg: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    letter-spacing: -0.01em;
}

/* Sidebar Styling */
.sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sidebar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.sidebar .nav-link i {
    font-size: 1.1rem;
}

.sidebar .nav-link:hover {
    background-color: var(--sidebar-active-bg);
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Card Styling */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: none;
}

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

.card-title {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.card-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

/* Table Styling */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 97, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

/* Transitions */
.nav-link,
.btn,
.card {
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Pagination Fix */
.pagination svg {
    width: 1.5rem;
    height: 1.5rem;
}

.pagination nav>div:first-child {
    display: none !important;
}