    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box
    }

    html {
        overflow-x: hidden
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        overflow-x: hidden
    }

    ::-webkit-scrollbar {
        width: 6px
    }

    ::-webkit-scrollbar-track {
        background: transparent
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.3);
        border-radius: 3px
    }

    .dark ::-webkit-scrollbar-thumb {
        background: rgba(71, 85, 105, 0.5)
    }

    .sidebar-nav {
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none
    }

    .sidebar-nav::-webkit-scrollbar {
        width: 0;
        display: none
    }

    .card-premium {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
    }

    .card-premium:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1)
    }

    .dark .card-premium:hover {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4)
    }

    .status-online {
        animation: statusPulse 2s ease-in-out infinite
    }

    @keyframes statusPulse {

        0%,
        100% {
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4)
        }

        50% {
            box-shadow: 0 0 0 8px rgba(16, 185, 129, 0)
        }
    }

    .menu-active {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.1));
        border-right: 3px solid #10b981;
        color: #059669
    }

    .dark .menu-active {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(14, 165, 233, 0.15));
        color: #34d399
    }

    .badge-pulse {
        animation: badgePulse 2s ease-in-out infinite
    }

    @keyframes badgePulse {

        0%,
        100% {
            transform: scale(1)
        }

        50% {
            transform: scale(1.15)
        }
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .table-responsive::-webkit-scrollbar {
        height: 4px
    }

    .sidebar-overlay {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px)
    }

    .toast-container {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 99999;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        pointer-events: none
    }

    .toast-container>* {
        pointer-events: auto
    }

    .dropdown-panel {
        position: absolute;
        right: 0;
        margin-top: 0.5rem
    }

    @media (max-width: 640px) {
        .dropdown-panel {
            position: fixed !important;
            top: 4.25rem !important;
            left: 0.5rem !important;
            right: 0.5rem !important;
            margin-top: 0 !important;
            width: auto !important;
            max-width: none !important;
            max-height: calc(100vh - 5rem) !important;
            overflow-y: auto !important;
        }
    }

    @media (max-width: 480px) {
        .toast-container {
            top: 0.5rem !important;
            right: 0.5rem !important;
            left: 0.5rem !important;
        }

        .toast-container>* {
            min-width: 0 !important;
            max-width: 100% !important;
            width: 100%;
        }
    }

    .filter-pill.active {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        border-color: transparent;
    }

    /* ===== Google Maps Style Container ===== */
    .gmap-container {
        background: #e5e3df;
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
            radial-gradient(circle at 20% 30%, rgba(199, 220, 164, 0.6) 0%, transparent 30%),
            radial-gradient(circle at 70% 60%, rgba(199, 220, 164, 0.5) 0%, transparent 25%),
            radial-gradient(circle at 40% 80%, rgba(179, 205, 224, 0.5) 0%, transparent 30%),
            radial-gradient(circle at 85% 20%, rgba(199, 220, 164, 0.4) 0%, transparent 20%);
        background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
        position: relative;
        overflow: hidden;
    }

    .dark .gmap-container {
        background: #1a2334;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            radial-gradient(circle at 20% 30%, rgba(30, 60, 90, 0.5) 0%, transparent 30%),
            radial-gradient(circle at 70% 60%, rgba(30, 60, 90, 0.4) 0%, transparent 25%),
            radial-gradient(circle at 40% 80%, rgba(30, 50, 80, 0.5) 0%, transparent 30%),
            radial-gradient(circle at 85% 20%, rgba(30, 60, 90, 0.3) 0%, transparent 20%);
    }

    /* Roads */
    .gmap-road {
        position: absolute;
        background: #ffffff;
        box-shadow: 0 0 0 1px #d1d5db;
        z-index: 1;
    }

    .dark .gmap-road {
        background: #334155;
        box-shadow: 0 0 0 1px #475569;
    }

    .gmap-road-major {
        background: #fff8dc;
        box-shadow: 0 0 0 2px #f4d35e;
    }

    .dark .gmap-road-major {
        background: #4a4a3a;
        box-shadow: 0 0 0 2px #8b7f2e;
    }

    /* Water bodies */
    .gmap-water {
        position: absolute;
        background: #a7c6ed;
        border-radius: 50%;
        opacity: 0.6;
        z-index: 0;
    }

    .dark .gmap-water {
        background: #2d4a68;
    }

    /* Map Pin */
    .map-pin {
        position: absolute;
        transform: translate(-50%, -100%);
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s;
    }

    .map-pin:hover {
        transform: translate(-50%, -105%) scale(1.15);
        z-index: 20;
    }

    .map-pin.active {
        transform: translate(-50%, -110%) scale(1.2);
        z-index: 30;
    }

    .pin-body {
        width: 36px;
        height: 36px;
        border-radius: 50% 50% 50% 0;
        transform: rotate(-45deg);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        border: 3px solid white;
        position: relative;
    }

    .pin-body>i,
    .pin-body>svg {
        transform: rotate(45deg);
        color: white;
        width: 16px;
        height: 16px;
    }

    .pin-active {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .pin-charging {
        background: linear-gradient(135deg, #0ea5e9, #0284c7);
    }

    .pin-maintenance {
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }

    .pin-offline {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .pin-user {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    /* User location pulse */
    .user-location {
        position: absolute;
        transform: translate(-50%, -50%);
        z-index: 15;
    }

    .user-dot {
        width: 20px;
        height: 20px;
        background: #3b82f6;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
        position: relative;
        z-index: 2;
    }

    .user-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        height: 50px;
        background: rgba(59, 130, 246, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: userPulse 2s ease-out infinite;
    }

    @keyframes userPulse {
        0% {
            transform: translate(-50%, -50%) scale(0.5);
            opacity: 1;
        }

        100% {
            transform: translate(-50%, -50%) scale(2.5);
            opacity: 0;
        }
    }

    /* Pin popup */
    .pin-popup {
        position: absolute;
        bottom: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border-radius: 12px;
        padding: 12px;
        min-width: 200px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        z-index: 100;
        display: none;
        border: 1px solid #e5e7eb;
    }

    .dark .pin-popup {
        background: #1e293b;
        border-color: #334155;
    }

    .pin-popup::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-top-color: white;
    }

    .dark .pin-popup::after {
        border-top-color: #1e293b;
    }

    .map-pin.active .pin-popup {
        display: block;
        animation: scaleIn 0.2s ease-out;
    }

    /* Route line */
    .route-line {
        position: absolute;
        height: 4px;
        background: linear-gradient(90deg, transparent, #10b981, transparent);
        background-size: 20px 100%;
        transform-origin: left center;
        z-index: 5;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        animation: routeMove 1s linear infinite;
    }

    @keyframes routeMove {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 20px 0;
        }
    }

    /* Location card active */
    .location-card.active {
        border-color: #10b981;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(14, 165, 233, 0.03));
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    }

    .dark .location-card.active {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.05));
    }