:root {
    /* Layout & Backgrounds */
    --bg-main: #f8fafc; /* Nền xám khói dịu mắt */
    --sidebar-bg: #0f172a; /* Slate Dark Navy */
    --sidebar-text: #94a3b8;
    --sidebar-active-bg: linear-gradient(90deg, #4f46e5, #6366f1);
    --card-bg: #ffffff;
    --border-color: #f1f5f9;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Accent & Status Colors */
    --color-revenue-bg: #ecfdf5;
    --color-revenue-icon: #10b981; /* Emerald */
    --color-orders-bg: #eff6ff;
    --color-orders-icon: #3b82f6; /* Blue */
    --color-outstock-bg: #fffbeb;
    --color-outstock-icon: #f59e0b; /* Amber */
    --color-pending-bg: #fdf2f8;
    --color-pending-icon: #f43f5e; /* Rose */
    
    /* Status Badges */
    --badge-processing-bg: #eff6ff;
    --badge-processing-text: #2563eb;
    --badge-pending-bg: #fffbeb;
    --badge-pending-text: #d97706;
    --badge-completed-bg: #ecfdf5;
    --badge-completed-text: #059669;
    --badge-cancelled-bg: #fef2f2;
    --badge-cancelled-text: #dc2626;
    
    /* Shadows & Radius */
    --card-radius: 16px;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

/* Base Body Application for Admin */
.admin-layout {
    font-family: var(--font-family);
    background-color: var(--bg-main) !important;
}

/* Sidebar Styling */
.admin-sidebar {
    background-color: var(--sidebar-bg) !important;
    transition: width 0.3s ease, transform 0.3s ease;
}

.admin-sidebar .sidebar-text {
    color: var(--sidebar-text);
}

.admin-sidebar .nav-link {
    color: var(--sidebar-text) !important;
    transition: all 0.2s ease-in-out;
}

.admin-sidebar .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255, 0.05);
}

.admin-sidebar .nav-link.active {
    background: var(--sidebar-active-bg) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.admin-sidebar .nav-link.active i {
    color: #ffffff !important;
}

/* Cards */
.admin-layout .card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius) !important;
    box-shadow: var(--card-shadow) !important;
}

.admin-layout .rounded-4 {
    border-radius: var(--card-radius) !important;
}

/* Utilities for Dashboard */
.text-dark {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-light-search {
    background-color: #f1f5f9 !important;
}

/* Chart Canvas Container */
.chart-container {
    min-height: 250px;
}
