:root {
    --primary: #4e73df;
    --secondary: #858796;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --dark: #1a1c2e;
    --light: #f8f9fc;
    --sidebar-bg: #4e73df;
    --sidebar-hover: #2e59d9;
}

body {
    background-color: #f0f2f5;
    font-family: 'Inter', sans-serif;
    color: #444;
}

.sidebar {
    background: var(--dark);
    min-height: 100vh;
    transition: all 0.3s ease;
    color: white;
    z-index: 1000;
}

/* Mobile Sidebar Behavior */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        width: 280px;
    }
    .sidebar.active {
        left: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    .main-content {
        margin-left: 0 !important;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .sidebar-overlay.active {
        display: block;
    }
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin: 4px 0;
    transition: 0.2s;
}

.sidebar .nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

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

.main-content {
    padding: 1.5rem;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dynamic details table */
.details-table th {
    background: #f8f9fc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
