      :root {
            --midnight: #020617;
            --slate-blue: #1E293B;
            --cool-gray: #64748B;
            --silver: #94A3B8;
            --electric: #3B82F6;
            --emerald: #10B981;
            --amber: #F59E0B;
            --crimson: #EF4444;
            --glacial: #F8FAFC;
        }
        
        * {
            font-family: 'Inter', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
            min-height: 100vh;
            color: #F8FAFC;
        }
        
        /* Glassmorphism Card */
        .glass-card {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(148, 163, 184, 0.1);
            border-radius: 16px;
            transition: all 0.3s ease;
        }
        
        .glass-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        /* KPI Card Styles */
        .kpi-card {
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
            border: 1px solid rgba(148, 163, 184, 0.15);
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .kpi-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--electric), var(--emerald));
        }
        
        .kpi-card.success::before {
            background: linear-gradient(90deg, var(--emerald), #34d399);
        }
        
        .kpi-card.warning::before {
            background: linear-gradient(90deg, var(--amber), #fbbf24);
        }
        
        .kpi-card.danger::before {
            background: linear-gradient(90deg, var(--crimson), #f87171);
        }
        
        /* Animated Counter */
        .counter-value {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Progress Ring */
        .progress-ring {
            transform: rotate(-90deg);
        }
        
        .progress-ring-circle {
            transition: stroke-dashoffset 1s ease-in-out;
        }
        
        /* Gauge Meter */
        .gauge-container {
            position: relative;
            width: 120px;
            height: 80px;
        }
        
        .gauge-bg {
            fill: none;
            stroke: rgba(148, 163, 184, 0.2);
            stroke-width: 10;
        }
        
        .gauge-fill {
            fill: none;
            stroke-width: 10;
            stroke-linecap: round;
            transition: stroke-dashoffset 1s ease-in-out;
        }
        
        /* Map Container */
        .map-container {
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            min-height: 400px;
        }
        
        .map-grid {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridMove 20s linear infinite;
        }
        
        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }
        
        /* Utility Lines */
        .utility-line {
            position: absolute;
            height: 4px;
            border-radius: 2px;
            opacity: 0.8;
        }
        
        .utility-line.water { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .utility-line.gas { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
        .utility-line.electric { background: linear-gradient(90deg, #ef4444, #f87171); }
        .utility-line.telecom { background: linear-gradient(90deg, #10b981, #34d399); }
        .utility-line.sewage { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
        
        /* Animated Pulse */
        .pulse-dot {
            position: absolute;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.5); opacity: 0.5; }
        }
        
        /* Chart Container */
        .chart-container {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        /* Sidebar */
        .sidebar {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-right: 1px solid rgba(148, 163, 184, 0.1);
            width: 280px;
margin-left:0px;
}

     .nav-item {
            padding: 8px 10px;
            border-radius: 8px;
            margin: 2px 6px;
            transition: all 0.3s ease;
            color: #94a3b8;
        }
        
        .nav-item:hover, .nav-item.active {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
            color: #fff;
        }
        
        .nav-item.active {
            border-left: 3px solid #3b82f6;
        }
        
        /* Button Styles */
        .btn-electric {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            border: none;
            color: white;
            padding: 10px 24px;
            border-radius: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }
        
        .btn-electric:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
            color: white;
        }
        
        /* Timeline */
        .timeline-item {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--electric);
            box-shadow: 0 0 10px var(--electric);
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 24px;
            width: 2px;
            height: calc(100% - 16px);
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.5) 0%, transparent 100%);
        }
        
        .timeline-item:last-child::after {
            display: none;
        }
        
        /* Alert Badge */
        .alert-badge {
            animation: alertPulse 2s ease-in-out infinite;
        }
        
        @keyframes alertPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
            50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
        }
        
        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.5);
        }
        
        ::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.5);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(59, 130, 246, 0.7);
        }
        
        /* Layer Toggle */
        .layer-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(30, 41, 59, 0.8);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .layer-toggle:hover {
            background: rgba(59, 130, 246, 0.2);
        }
        
        .layer-toggle.active {
            border: 1px solid currentColor;
        }
        
        /* Stat Badge */
        .stat-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        .stat-badge.up {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }
        
        .stat-badge.down {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
        
        /* Loading Skeleton */
        .skeleton {
            background: linear-gradient(90deg, rgba(30, 41, 59, 0.5) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(30, 41, 59, 0.5) 100%);
            background-size: 200% 100%;
            animation: skeleton 1.5s infinite;
        }
        
        @keyframes skeleton {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        /* Glow Effect */
        .glow {
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
        }
        
        /* Text Gradient */
        .text-gradient {
            background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Floating Animation */
        .float {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        /* Header Notification */
        .notification-dot {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
            animation: notifyPulse 1.5s ease-in-out infinite;
        }
        
        @keyframes notifyPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }
        
        /* Real-time indicator */
        .live-indicator {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .live-indicator::before {
            content: '';
            width: 8px;
            height: 8px;
            background: #10b981;
            border-radius: 50%;
            animation: livePulse 1s ease-in-out infinite;
        }
        
        @keyframes livePulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }
        
/* Gauge Needle Animation */
        .gauge-needle {
            transform-origin: 50% 100%;
            animation: needleMove 3s ease-in-out infinite;
        }
        
        @keyframes needleMove {
            0%, 100% { transform: rotate(-45deg); }
            50% { transform: rotate(45deg); }
        }
        
        /* ==================== HEADER DROPDOWNS ==================== */
        
        /* Dropdown Panel Base */
        .dropdown-panel {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            width: 360px;
            background: rgba(15, 23, 42, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(148, 163, 184, 0.15);
            border-radius: 16px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
            z-index: 100;
            animation: dropdownFadeIn 0.2s ease;
            overflow: hidden;
        }
        
        @keyframes dropdownFadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .dropdown-panel.hidden {
            display: none;
        }
        
        /* User Dropdown - Wider */
        .dropdown-panel.user-dropdown {
            width: 320px;
        }
        
        /* Dropdown Header */
        .dropdown-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        /* Dropdown Content */
        .dropdown-content {
            max-height: 320px;
            overflow-y: auto;
            padding: 8px;
        }
        
        .dropdown-content::-webkit-scrollbar {
            width: 4px;
        }
        
        .dropdown-content::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .dropdown-content::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.3);
            border-radius: 2px;
        }
        
        /* Dropdown Footer */
        .dropdown-footer {
            padding: 12px 16px;
            border-top: 1px solid rgba(148, 163, 184, 0.1);
            text-align: center;
        }
        
        /* Notification Items */
        .notification-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .notification-item:hover {
            background: rgba(59, 130, 246, 0.1);
        }
        
        .notification-item.unread {
            background: rgba(59, 130, 246, 0.05);
            border-left: 3px solid #3b82f6;
        }
        
        .notif-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .notif-content {
            flex: 1;
            min-width: 0;
        }
        
        /* Message Items */
        .message-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .message-item:hover {
            background: rgba(59, 130, 246, 0.1);
        }
        
        .message-item.unread {
            background: rgba(59, 130, 246, 0.05);
        }
        
        .message-avatar {
            position: relative;
            flex-shrink: 0;
        }
        
        .message-avatar img {
            border: 2px solid rgba(148, 163, 184, 0.2);
        }
        
        .online-dot {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 12px;
            height: 12px;
            background: #10b981;
            border: 2px solid #0f172a;
            border-radius: 50%;
        }
        
        .message-content {
            flex: 1;
            min-width: 0;
        }
        
        /* User Info Card */
        .user-info-card {
            padding: 16px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        /* Dropdown Menu */
        .dropdown-menu {
            padding: 8px;
        }
        
        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 10px;
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .dropdown-item:hover {
            background: rgba(59, 130, 246, 0.15);
            color: #fff;
        }
        
        .dropdown-item i:first-child {
            width: 20px;
            text-align: center;
        }
        
        /* Theme Buttons */
        .theme-btn {
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }
        
        .theme-btn.active {
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        /* Light Theme Styles */
        body.light-theme {
            --midnight: #f8fafc;
            --slate-blue: #e2e8f0;
            --cool-gray: #64748b;
            --silver: #475569;
            --glacial: #0f172a;
        }
        
        body.light-theme .dropdown-panel {
            background: rgba(255, 255, 255, 0.98);
            border-color: rgba(0, 0, 0, 0.1);
        }
        
        body.light-theme .dropdown-header,
        body.light-theme .dropdown-footer,
        body.light-theme .user-info-card {
            border-color: rgba(0, 0, 0, 0.1);
        }
        
        body.light-theme .notification-item:hover,
        body.light-theme .message-item:hover,
        body.light-theme .dropdown-item:hover {
            background: rgba(59, 130, 246, 0.1);
        }
        
        body.light-theme .dropdown-item {
            color: #475569;
        }
        
        body.light-theme .user-info-card {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .dropdown-panel {
                width: 300px;
                right: -60px;
            }
            
            .dropdown-panel.user-dropdown {
                width: 280px;
                right: -80px;
            }
        }


        :root {
            --midnight: #020617;
            --slate-blue: #1E293B;
            --cool-gray: #64748B;
            --silver: #94A3B8;
            --electric: #3B82F6;
            --emerald: #10B981;
            --amber: #F59E0B;
            --crimson: #EF4444;
            --glacial: #F8FAFC;
            --purple: #8B5CF6;
            --cyan: #06B6D4;
        }
        
        * {
            font-family: 'Inter', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
            min-height: 100vh;
            color: #F8FAFC;
        }
        
        /* Glassmorphism */
        .glass {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(148, 163, 184, 0.1);
        }
        
        .glass-card {
            background: rgba(30, 41, 59, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(148, 163, 184, 0.1);
            border-radius: 20px;
            transition: all 0.3s ease;
        }
        
        .glass-card:hover {
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        /* Progress Steps */
        .step-container {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 1;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.4s ease;
            border: 2px solid rgba(148, 163, 184, 0.3);
            background: rgba(30, 41, 59, 0.8);
            color: #94a3b8;
        }
        
        .step-circle.active {
            border-color: #3b82f6;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
            transform: scale(1.1);
        }
        
        .step-circle.completed {
            border-color: #10b981;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
        }
        
        .step-label {
            margin-top: 10px;
            font-size: 0.85rem;
            color: #94a3b8;
            text-align: center;
            max-width: 100px;
            transition: all 0.3s ease;
        }
        
        .step-label.active {
            color: #3b82f6;
            font-weight: 500;
        }
        
        .step-label.completed {
            color: #10b981;
        }
        
        .step-line {
            flex: 1;
            height: 3px;
            background: rgba(148, 163, 184, 0.2);
            margin: 0 15px;
            margin-bottom: 30px;
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }
        
        .step-line::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, #3b82f6, #10b981);
            border-radius: 2px;
            transition: width 0.5s ease;
        }
        
        .step-line.active::after {
            width: 100%;
        }
        
        /* Form Inputs */
        .form-control-custom {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 12px;
            padding: 14px 18px;
            color: white;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .form-control-custom:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }
        
        .form-control-custom::placeholder {
            color: #64748b;
        }
        
        .form-label-custom {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #e2e8f0;
            font-size: 0.9rem;
        }
        
        .form-label-custom .required {
            color: #ef4444;
            margin-left: 2px;
        }
        
        /* Select Dropdown */
        .form-select-custom {
            background: rgba(15, 23, 42, 0.6) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 15px center/12px 12px;
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 12px;
            padding: 14px 40px 14px 18px;
            color: white;
            transition: all 0.3s ease;
            width: 100%;
            appearance: none;
            cursor: pointer;
        }
        
        .form-select-custom:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }
        
        .form-select-custom option {
            background: #1e293b;
            color: white;
            padding: 10px;
        }
        
        /* Buttons */
        .btn-electric {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            border: none;
            color: white;
            padding: 14px 32px;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }
        
        .btn-electric:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
            color: white;
        }
        
        .btn-electric:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid rgba(148, 163, 184, 0.3);
            color: #94a3b8;
            padding: 12px 28px;
            border-radius: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-outline:hover {
            border-color: #3b82f6;
            color: #3b82f6;
        }
        
        .btn-success-gradient {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border: none;
            color: white;
            padding: 14px 32px;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }
        
        .btn-success-gradient:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            color: white;
        }
        
        /* Project Type Cards */
        .project-type-card {
            background: rgba(15, 23, 42, 0.5);
            border: 2px solid rgba(148, 163, 184, 0.15);
            border-radius: 16px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .project-type-card:hover {
            border-color: rgba(59, 130, 246, 0.4);
            transform: translateY(-4px);
        }
        
        .project-type-card.selected {
            border-color: #3b82f6;
            background: rgba(59, 130, 246, 0.1);
            box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
        }
        
        .project-type-card .icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 1.5rem;
        }
        
        /* Coordinate Input Group */
        .coord-input-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .coord-input {
            flex: 1;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 10px;
            padding: 10px 14px;
            color: white;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
        }
        
        .coord-input:focus {
            outline: none;
            border-color: #3b82f6;
        }
        
        /* Map Container */
        .map-wrapper {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(148, 163, 184, 0.2);
            position: relative;
        }
        
        #map {
            height: 400px;
            width: 100%;
            background: #0f172a;
        }
        
        .leaflet-container {
            background: #0f172a;
        }
        
        .map-toolbar {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .map-tool-btn {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(30, 41, 59, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .map-tool-btn:hover, .map-tool-btn.active {
            background: #3b82f6;
            border-color: #3b82f6;
        }
        
        /* Coordinate Type Selector */
        .coord-type-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .coord-type-btn {
            flex: 1;
            padding: 12px 16px;
            border-radius: 12px;
            background: rgba(15, 23, 42, 0.5);
            border: 2px solid rgba(148, 163, 184, 0.15);
            color: #94a3b8;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .coord-type-btn:hover {
            border-color: rgba(59, 130, 246, 0.4);
        }
        
        .coord-type-btn.active {
            border-color: #3b82f6;
            background: rgba(59, 130, 246, 0.15);
            color: #3b82f6;
        }
        
        /* Validation States */
        .input-valid {
            border-color: #10b981 !important;
        }
        
        .input-invalid {
            border-color: #ef4444 !important;
        }
        
        .validation-message {
            font-size: 0.8rem;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .validation-message.valid {
            color: #10b981;
        }
        
        .validation-message.invalid {
            color: #ef4444;
        }
        
        /* Step Content Animation */
        .step-content {
            display: none;
            animation: fadeInUp 0.5s ease;
        }
        
        .step-content.active {
            display: block;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Success Animation */
        .success-checkmark {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            animation: scaleIn 0.5s ease, pulse-glow 2s ease-in-out infinite;
        }
        
        @keyframes scaleIn {
            from {
                transform: scale(0);
            }
            to {
                transform: scale(1);
            }
        }
        
        @keyframes pulse-glow {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
            }
            50% {
                box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
            }
        }
        
        /* Sidebar */
        .sidebar {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-right: 1px solid rgba(148, 163, 184, 0.1);
            width: 280px;
            margin-left: 0px;  
        }
        
.nav-item {
            padding: 10px 12px;
            border-radius: 10px;
            margin: 2px 6px;
            transition: all 0.3s ease;
            color: #94a3b8;
        }
        
        .nav-item:hover, .nav-item.active {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
            color: #fff;
        }
        
        .nav-item.active {
            border-left: 3px solid #3b82f6;
        }
        
        /* File Upload */
        .file-upload-zone {
            border: 2px dashed rgba(148, 163, 184, 0.3);
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .file-upload-zone:hover, .file-upload-zone.dragover {
            border-color: #3b82f6;
            background: rgba(59, 130, 246, 0.05);
        }
        
        .file-upload-zone .upload-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }
        
        /* Info Cards */
        .info-card {
            background: rgba(59, 130, 246, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.2);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .info-card .info-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: rgba(59, 130, 246, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.5);
        }
        
        ::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.5);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(59, 130, 246, 0.7);
        }
        
        /* Floating particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(59, 130, 246, 0.3);
            border-radius: 50%;
            animation: float-particle 15s infinite linear;
        }
        
        @keyframes float-particle {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) rotate(720deg);
                opacity: 0;
            }
        }
        
/* Responsive */
        @media (max-width: 768px) {
            .step-label {
                font-size: 0.7rem;
                max-width: 70px;
            }
            
            .step-circle {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }
            
            .coord-input-group {
                flex-direction: column;
            }
        }
        
/* Nav Icon Wrapper */
        .nav-icon-wrapper {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
justify-content: center;
            flex-shrink: 0;
        }
        
        /* Sidebar Scrollbar */
        .scrollbar-thin::-webkit-scrollbar {
            width: 2px;
        }
        
        .scrollbar-thin::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .scrollbar-thin::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.3);
            border-radius: 2px;
        }
        
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
            background: rgba(59, 130, 246, 0.5);
        }
        
/* Sidebar Submenu Styles */
        .nav-group {
            position: relative;
        }
        
        .nav-group-btn {
            cursor: pointer;
            border: none;
            background: transparent;
            text-align: left;
            width: 100%;
        }
        
        .nav-group-btn .bi-chevron-down {
            transition: transform 0.3s ease;
        }
        
        .nav-group-btn .bi-chevron-down.rotate-180 {
            transform: rotate(180deg);
        }
        
.nav-submenu {
            padding-left: 0.8rem;
            margin-top: 0.25rem;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 1px;
        }
        
        .nav-submenu.hidden {
            display: none;
        }
        
.nav-subitem {
            display: block;
            width: 100%;
            padding: 0.625rem 0.875rem;
            padding-left: 1.95rem;
            color: #94a3b8;
            text-decoration: none;
            font-size: 1.1rem;
            transition: all 0.2s ease;
            position: relative;
            border-radius: 0.5rem;
        }
        
.nav-subitem::before {
            content: '';
            position: absolute;
            left: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #3b82f6;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        .nav-subitem:hover {
            color: #fff;
            background: rgba(59, 130, 246, 0.15);
        }
        
        .nav-subitem:hover::before {
            opacity: 1;
        }
    