@charset "UTF-8";
/* CSS Document */
        :root {
            --congo-green: #009639;
            --congo-yellow: #FBDE4A;
            --congo-red: #DC241F;
            --primary: #0D47A1;
            --primary-light: #1976D2;
            --primary-dark: #0a3d91;
            --success: #00C853;
            --success-light: #69F0AE;
            --warning: #FF9800;
            --warning-light: #FFB74D;
            --danger: #F44336;
            --danger-light: #EF5350;
            --info: #2196F3;
            --purple: #7C4DFF;
            
            --bg-dark: #0a0e17;
            --bg-card: #111827;
            --bg-card-hover: #1a2332;
            --bg-surface: #1e293b;
            --bg-input: #0f172a;
            
            --border-color: rgba(255, 255, 255, 0.08);
            --border-light: rgba(255, 255, 255, 0.12);
            
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            
            --glass-bg: rgba(17, 24, 39, 0.8);
            --glass-border: rgba(255, 255, 255, 0.1);
            
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
            --shadow-glow-green: 0 0 30px rgba(0, 150, 57, 0.3);
            --shadow-glow-red: 0 0 30px rgba(220, 36, 31, 0.3);
            
            --sidebar-width: 280px;
            --header-height: 70px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-dark);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

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

        ::-webkit-scrollbar-thumb {
            background: var(--bg-surface);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }

        .app-container {
            display: flex;
            min-height: 100vh;
        }

        /* Sidebar */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--bg-card);
            border-right: 1px solid var(--border-color);
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            z-index: 100;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease;
        }

        .sidebar-header {
            padding: 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--congo-green), var(--congo-yellow), var(--congo-red));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 900;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-title {
            font-size: 20px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--congo-green), var(--congo-yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-subtitle {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            overflow-y: auto;
        }

        .nav-section {
            margin-bottom: 24px;
        }

        .nav-section-title {
            font-size: 10px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            padding: 8px 12px;
            margin-bottom: 4px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 10px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 4px;
            position: relative;
        }

        .nav-item:hover {
            background: var(--bg-surface);
            color: var(--text-primary);
        }

        .nav-item.active {
            background: linear-gradient(135deg, rgba(0, 150, 57, 0.2), rgba(0, 150, 57, 0.1));
            color: var(--congo-green);
            border: 1px solid rgba(0, 150, 57, 0.3);
        }

        .nav-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--congo-green);
            border-radius: 0 3px 3px 0;
        }

        .nav-item i {
            width: 20px;
            font-size: 16px;
        }

        .nav-item span {
            font-size: 14px;
            font-weight: 500;
        }

        .nav-badge {
            margin-left: auto;
            background: var(--danger);
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 20px;
            min-width: 24px;
            text-align: center;
        }

        .nav-badge.warning {
            background: var(--warning);
        }

        .nav-badge.success {
            background: var(--success);
        }

        .sidebar-footer {
            padding: 16px;
            border-top: 1px solid var(--border-color);
        }

        .user-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: var(--bg-surface);
            border-radius: 12px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
        }

        .user-info {
            flex: 1;
        }

        .user-name {
            font-size: 13px;
            font-weight: 600;
        }

        .user-role {
            font-size: 11px;
            color: var(--text-muted);
        }

        .user-menu {
            color: var(--text-muted);
            cursor: pointer;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Top Header */
        .top-header {
            height: var(--header-height);
            background: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 32px;
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .page-title {
            font-size: 20px;
            font-weight: 700;
        }

        .live-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 200, 83, 0.1);
            border: 1px solid rgba(0, 200, 83, 0.3);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            color: var(--success);
            font-weight: 500;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background: var(--success);
            border-radius: 50%;
            animation: pulse-live 2s infinite;
        }

        @keyframes pulse-live {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
            50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 200, 83, 0); }
        }

        .header-center {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .election-badge {
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, rgba(0, 150, 57, 0.15), rgba(251, 222, 74, 0.1));
            border: 1px solid rgba(0, 150, 57, 0.3);
            padding: 10px 20px;
            border-radius: 12px;
        }

        .election-flag {
            font-size: 24px;
        }

        .election-info h3 {
            font-size: 14px;
            font-weight: 700;
            color: var(--congo-green);
        }

        .election-info p {
            font-size: 11px;
            color: var(--text-secondary);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .header-stat {
            text-align: center;
            padding: 0 16px;
            border-left: 1px solid var(--border-color);
        }

        .header-stat:first-child {
            border-left: none;
        }

        .header-stat-value {
            font-size: 18px;
            font-weight: 800;
            color: var(--congo-green);
        }

        .header-stat-label {
            font-size: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .header-time {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            padding-left: 16px;
            border-left: 1px solid var(--border-color);
        }

        .header-clock {
            font-size: 24px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
        }

        .header-date {
            font-size: 11px;
            color: var(--text-muted);
        }

        .header-actions {
            display: flex;
            gap: 8px;
            margin-left: 16px;
        }

        .header-btn {
            width: 40px;
            height: 40px;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .header-btn:hover {
            background: var(--bg-card-hover);
            color: var(--text-primary);
            border-color: var(--border-light);
        }

        .header-btn .badge {
            position: absolute;
            top: -4px;
            right: -4px;
            width: 18px;
            height: 18px;
            background: var(--danger);
            border-radius: 50%;
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Dashboard Content */
        .dashboard-content {
            flex: 1;
            padding: 24px 32px;
            overflow-y: auto;
        }

        /* Stats Cards Row */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin-bottom: 24px;
        }

        .stat-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 24px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: var(--border-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--congo-green), var(--congo-yellow));
        }

        .stat-card.danger::before {
            background: var(--danger);
        }

        .stat-card.warning::before {
            background: var(--warning);
        }

        .stat-card.info::before {
            background: var(--info);
        }

        .stat-card.purple::before {
            background: var(--purple);
        }

        .stat-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            background: rgba(0, 150, 57, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--congo-green);
        }

        .stat-card.danger .stat-icon {
            background: rgba(244, 67, 54, 0.15);
            color: var(--danger);
        }

        .stat-card.warning .stat-icon {
            background: rgba(255, 152, 0, 0.15);
            color: var(--warning);
        }

        .stat-card.info .stat-icon {
            background: rgba(33, 150, 243, 0.15);
            color: var(--info);
        }

        .stat-card.purple .stat-icon {
            background: rgba(124, 77, 255, 0.15);
            color: var(--purple);
        }

        .stat-trend {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 6px;
        }

        .stat-trend.up {
            background: rgba(0, 200, 83, 0.15);
            color: var(--success);
        }

        .stat-trend.down {
            background: rgba(244, 67, 54, 0.15);
            color: var(--danger);
        }

        .stat-value {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 4px;
            line-height: 1;
        }

        .stat-label {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .stat-footer {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .stat-detail {
            font-size: 12px;
            color: var(--text-muted);
        }

        .stat-detail strong {
            color: var(--text-primary);
        }

        /* Main Grid */
        .main-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 24px;
        }

        /* Card Component */
        .card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            overflow: hidden;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .card-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
            font-weight: 700;
        }

        .card-title i {
            color: var(--congo-green);
        }

        .card-actions {
            display: flex;
            gap: 8px;
        }

        .card-btn {
            padding: 8px 16px;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 12px;
            font-weight: 500;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .card-btn:hover {
            background: var(--bg-card-hover);
            color: var(--text-primary);
            border-color: var(--border-light);
        }

        .card-btn.primary {
            background: var(--congo-green);
            border-color: var(--congo-green);
            color: white;
        }

        .card-btn.primary:hover {
            background: #00a83f;
        }

        .card-body {
            padding: 24px;
        }

        /* Map Section */
        .map-container {
            position: relative;
            height: 520px;
            background: linear-gradient(135deg, #0a1628 0%, #132744 100%);
            border-radius: 12px;
            overflow: hidden;
        }

        .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .congo-map-svg {
            width: 90%;
            height: 90%;
            opacity: 0.9;
        }

        .map-legend {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px;
        }

        .legend-title {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .legend-item:last-child {
            margin-bottom: 0;
        }

        .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .legend-dot.green { background: var(--success); box-shadow: 0 0 8px var(--success); }
        .legend-dot.yellow { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
        .legend-dot.red { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
        .legend-dot.gray { background: var(--text-muted); }

        .map-stats {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .map-stat-item {
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 12px 16px;
            min-width: 140px;
        }

        .map-stat-value {
            font-size: 20px;
            font-weight: 800;
        }

        .map-stat-value.green { color: var(--success); }
        .map-stat-value.yellow { color: var(--warning); }
        .map-stat-value.red { color: var(--danger); }

        .map-stat-label {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* Department markers on map */
        .dept-marker {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .dept-marker:hover {
            transform: scale(1.15);
            z-index: 10;
        }

        .dept-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 2px solid white;
            box-shadow: 0 0 10px currentColor;
        }

        .dept-dot.high { background: var(--success); color: var(--success); }
        .dept-dot.medium { background: var(--warning); color: var(--warning); }
        .dept-dot.low { background: var(--danger); color: var(--danger); }

        .dept-label {
            margin-top: 4px;
            font-size: 8px;
            font-weight: 600;
            color: white;
            text-shadow: 0 1px 3px rgba(0,0,0,0.9);
            white-space: nowrap;
            text-align: center;
        }

        .dept-percent {
            font-size: 9px;
            font-weight: 700;
            color: white;
            background: rgba(0,0,0,0.7);
            padding: 2px 6px;
            border-radius: 4px;
            margin-top: 2px;
        }

        /* Chart Container */
        .chart-container {
            height: 400px;
            position: relative;
        }

        /* Department Table */
        .dept-table {
            width: 100%;
            border-collapse: collapse;
        }

        .dept-table th {
            text-align: left;
            padding: 12px 16px;
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
            background: var(--bg-surface);
        }

        .dept-table td {
            padding: 14px 16px;
            font-size: 13px;
            border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
        }

        .dept-table tr:hover td {
            background: var(--bg-surface);
        }

        .dept-table tr:last-child td {
            border-bottom: none;
        }

        .dept-name {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .dept-name-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .dept-chef-lieu {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 400;
        }

        .progress-bar-container {
            width: 100%;
            height: 8px;
            background: var(--bg-dark);
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .progress-bar-fill.high { background: linear-gradient(90deg, var(--success), var(--success-light)); }
        .progress-bar-fill.medium { background: linear-gradient(90deg, var(--warning), var(--warning-light)); }
        .progress-bar-fill.low { background: linear-gradient(90deg, var(--danger), var(--danger-light)); }

        .dept-percent-text {
            font-weight: 700;
            font-variant-numeric: tabular-nums;
        }

        .dept-percent-text.high { color: var(--success); }
        .dept-percent-text.medium { color: var(--warning); }
        .dept-percent-text.low { color: var(--danger); }

        .dept-bv {
            color: var(--text-secondary);
        }

        /* Quick Actions Panel */
        .quick-actions {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            padding: 20px;
            background: var(--bg-surface);
            border-radius: 12px;
            margin-top: 24px;
        }

        .quick-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 20px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .quick-action:hover {
            border-color: var(--congo-green);
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow-green);
        }

        .quick-action-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--congo-green), var(--success));
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
        }

        .quick-action:nth-child(2) .quick-action-icon {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
        }

        .quick-action:nth-child(3) .quick-action-icon {
            background: linear-gradient(135deg, var(--purple), #9c7cff);
        }

        .quick-action-label {
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            width: 700px;
            max-height: 80vh;
            overflow: hidden;
            animation: modalIn 0.3s ease;
        }

        @keyframes modalIn {
            from { transform: scale(0.95); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .modal-title {
            font-size: 18px;
            font-weight: 700;
        }

        .modal-close {
            width: 36px;
            height: 36px;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }

        .modal-close:hover {
            background: var(--danger);
            border-color: var(--danger);
            color: white;
        }

        .modal-body {
            padding: 24px;
            max-height: 60vh;
            overflow-y: auto;
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            padding: 20px 24px;
            border-top: 1px solid var(--border-color);
            background: var(--bg-surface);
        }

        .modal-btn {
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .modal-btn.secondary {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
        }

        .modal-btn.primary {
            background: var(--congo-green);
            color: white;
        }

        /* Department Detail in Modal */
        .dept-detail-meta {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-top: 16px;
        }

        .dept-meta-item {
            background: var(--bg-surface);
            padding: 16px;
            border-radius: 12px;
            text-align: center;
        }

        .dept-meta-value {
            font-size: 20px;
            font-weight: 800;
            color: var(--congo-green);
        }

        .dept-meta-label {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* Toast Container */
        .toast-container {
            position: fixed;
            top: 90px;
            right: 32px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .toast {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 320px;
            box-shadow: var(--shadow-lg);
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .toast-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .toast.success .toast-icon {
            background: rgba(0, 200, 83, 0.15);
            color: var(--success);
        }

        .toast.error .toast-icon {
            background: rgba(244, 67, 54, 0.15);
            color: var(--danger);
        }

        .toast-content {
            flex: 1;
        }

        .toast-title {
            font-size: 13px;
            font-weight: 600;
        }

        .toast-message {
            font-size: 12px;
            color: var(--text-secondary);
        }

        .toast-close {
            color: var(--text-muted);
            cursor: pointer;
        }

        /* Responsive */
        @media (max-width: 1400px) {
            .stats-row {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 1200px) {
            .main-grid {
                grid-template-columns: 1fr;
            }
            
            .header-stat {
                display: none;
            }
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
