
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f1419;
            color: #ffffff;
            overflow-x: hidden;
        }
        
        .dashboard-container {
            min-height: 100vh;
            background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
            display: flex;
        }
        
        /* Sidebar Styles */
        .sidebar {
            width: 280px;
            background: rgba(255,255,255,0.03);
            backdrop-filter: blur(20px);
            border-right: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            padding: 20px 0;
            transition: transform 0.3s ease;
        }
        .sidebar {
            position: fixed;       /* lock it in place */
            top: 0;
            left: 0;
            height: 100vh;         /* full height */
            width: 280px;          /* keep same width */
            background: rgba(255,255,255,0.03);
            backdrop-filter: blur(20px);
            border-right: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            padding: 20px 0;
            transition: transform 0.3s ease;
}
.main-content {
    margin-left: 280px; /* same as sidebar width */
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

        
        .sidebar-header {
            padding: 0 25px 25px 25px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .logo {
            font-size: 28px;
        }
        
        .sidebar-title h1 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 2px;
        }
        
        .sidebar-subtitle {
            font-size: 12px;
            color: #64748b;
        }
        
        .sidebar-nav {
            flex: 1;
            padding: 20px 0;
        }
        
        .nav-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }
        
        .nav-item:hover {
            background: rgba(255,255,255,0.05);
            border-left-color: rgba(59, 130, 246, 0.5);
        }
        
        .nav-item.active {
            background: rgba(59, 130, 246, 0.1);
            border-left-color: #3b82f6;
        }
        
        .nav-icon {
            font-size: 18px;
            width: 20px;
        }
        
        .nav-text {
            font-weight: 500;
            font-size: 14px;
        }
        
        .sidebar-footer {
            padding: 20px 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        .officer-info {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
        }
        
        .status-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
            padding: 8px 12px;
            background: rgba(34, 197, 94, 0.2);
            border-radius: 20px;
            border: 1px solid rgba(34, 197, 94, 0.3);
            font-size: 12px;
        }
        
        .status-dot {
            width: 6px;
            height: 6px;
            background: #22c55e;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        /* Main Content Area */
        .main-content {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
        }
        
        .page-header {
            margin-bottom: 30px;
        }
        
        .page-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .page-subtitle {
            color: #64748b;
            font-size: 14px;
        }
        
        /* Alert Banner */
        .alert-banner {
            background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.1));
            border: 1px solid rgba(239, 68, 68, 0.3);
            padding: 15px 20px;
            margin-bottom: 30px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 15px;
            animation: slideDown 0.5s ease-out;
        }
        
        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 25px;
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .stat-card:hover {
            transform: translateY(-3px);
            background: rgba(255,255,255,0.08);
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }
        
        .stat-card.clickable::after {
            content: '→';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 18px;
            opacity: 0.5;
            transition: all 0.3s ease;
        }
        
        .stat-card.clickable:hover::after {
            opacity: 1;
            transform: translateX(5px);
        }
        
        .stat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .stat-icon {
            font-size: 28px;
            opacity: 0.8;
        }
        
        .stat-trend {
            font-size: 12px;
            color: #22c55e;
            font-weight: 600;
            padding: 4px 8px;
            background: rgba(34, 197, 94, 0.2);
            border-radius: 12px;
        }
        
        .stat-number {
            font-size: 42px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #fff;
        }
        
        .stat-label {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
        }
        
        /* Map Section */
        .map-section {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 25px;
            border: 1px solid rgba(255,255,255,0.1);
            height: 450px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .map-controls {
            display: flex;
            gap: 10px;
        }
        
        .control-btn {
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 12px;
        }
        
        .control-btn.active,
        .control-btn:hover {
            background: rgba(59, 130, 246, 0.3);
            border-color: rgba(59, 130, 246, 0.5);
        }
        
        .interactive-map {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border-radius: 12px;
            height: calc(100% - 70px);
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.1);
        }
        
        .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.3);
            flex-direction: column;
            gap: 15px;
        }
        
        .incident-marker {
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 3px solid white;
            cursor: pointer;
            animation: pulseMarker 2s infinite;
        }
        
        .marker-critical { background: #ef4444; }
        .marker-high { background: #f97316; }
        .marker-medium { background: #eab308; }
        .marker-low { background: #22c55e; }
        
        .drone-path {
            position: absolute;
            width: 30px;
            height: 30px;
            background: #3b82f6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            animation: dronePatrol 15s linear infinite;
            border: 2px solid rgba(59, 130, 246, 0.5);
        }
        
        /* Page Content Styles */
        .page-content {
            display: none;
        }
        
        .page-content.active {
            display: block;
        }
        
        /* Reports Page */
        .reports-grid {
            display: grid;
            gap: 20px;
            margin-top: 20px;
        }
        
        .report-item {
            background: rgba(255,255,255,0.03);
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid #3b82f6;
            transition: all 0.3s ease;
        }
        
        .report-item:hover {
            background: rgba(255,255,255,0.08);
        }
        
        .report-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .report-title {
            font-weight: 600;
            font-size: 16px;
        }
        
        .report-time {
            font-size: 12px;
            color: #64748b;
        }
        
        .report-details {
            font-size: 14px;
            color: #cbd5e1;
            margin-bottom: 10px;
        }
        
        .report-location {
            font-size: 12px;
            color: #64748b;
        }
        
        /* Incidents Page */
        .incidents-grid {
            display: grid;
            gap: 15px;
            margin-top: 20px;
        }
        
        .incident-item {
            background: rgba(255,255,255,0.03);
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .incident-item:hover {
            background: rgba(255,255,255,0.08);
            transform: translateX(4px);
        }
        
        .incident-critical { border-left-color: #ef4444; }
        .incident-high { border-left-color: #f97316; }
        .incident-medium { border-left-color: #eab308; }
        .incident-low { border-left-color: #22c55e; }
        
        .incident-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .incident-title {
            font-weight: 600;
            font-size: 16px;
        }
        
        .incident-priority {
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .priority-critical { background: rgba(239, 68, 68, 0.3); color: #fca5a5; }
        .priority-high { background: rgba(249, 115, 22, 0.3); color: #fdba74; }
        .priority-medium { background: rgba(234, 179, 8, 0.3); color: #fde047; }
        .priority-low { background: rgba(34, 197, 94, 0.3); color: #86efac; }
        
        .incident-location {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 8px;
        }
        
        .incident-time {
            font-size: 12px;
            color: #64748b;
        }
        
        .incident-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .action-btn {
            background: rgba(59, 130, 246, 0.2);
            border: 1px solid rgba(59, 130, 246, 0.3);
            color: #93c5fd;
            padding: 8px 14px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 12px;
        }
        
        .action-btn:hover {
            background: rgba(59, 130, 246, 0.3);
        }
        
        .action-btn.danger {
            background: rgba(239, 68, 68, 0.2);
            border-color: rgba(239, 68, 68, 0.3);
            color: #fca5a5;
        }
        
        .action-btn.success {
            background: rgba(34, 197, 94, 0.2);
            border-color: rgba(34, 197, 94, 0.3);
            color: #86efac;
        }
        
        /* Drones Page */
        .drones-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .drone-card {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 25px;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .drone-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .drone-id {
            font-weight: 600;
            font-size: 18px;
        }
        
        .drone-status {
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .status-active { background: rgba(34, 197, 94, 0.3); color: #86efac; }
        .status-patrol { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
        .status-responding { background: rgba(249, 115, 22, 0.3); color: #fdba74; }
        
        .drone-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .drone-location {
            font-size: 14px;
            color: #cbd5e1;
        }
        
        .battery-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .battery-bar {
            flex: 1;
            height: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 4px;
            overflow: hidden;
        }
        
        .battery-fill {
            height: 100%;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .battery-high { background: #22c55e; }
        .battery-medium { background: #eab308; }
        .battery-low { background: #ef4444; }
        
        .battery-percent {
            font-size: 12px;
            font-weight: 600;
            min-width: 35px;
        }
        
        /* Animations */
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        @keyframes pulseMarker {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }
        
        @keyframes dronePatrol {
            0% { left: 10%; top: 20%; }
            25% { left: 80%; top: 30%; }
            50% { left: 70%; top: 70%; }
            75% { left: 20%; top: 60%; }
            100% { left: 10%; top: 20%; }
        }
        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                position: fixed;
                height: 100vh;
                z-index: 1000;
            }
            
            .sidebar.mobile-open {
                transform: translateX(0);
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .drones-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .mobile-menu-btn {
            display: none;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1001;
            background: rgba(59, 130, 246, 0.3);
            border: 1px solid rgba(59, 130, 246, 0.5);
            color: white;
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
        }
        
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
        }