    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    }

    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

    .dark ::-webkit-scrollbar-thumb {
        background: #475569;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .sidebar-link {
        transition: all 0.2s ease;
        position: relative;
    }

    .sidebar-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(135deg, #3b8bff, #1e6af5);
        border-radius: 0 4px 4px 0;
        transition: height 0.2s ease;
    }

    .sidebar-link:hover::before,
    .sidebar-link.active::before {
        height: 60%;
    }

    .sidebar-link.active {
        background: linear-gradient(135deg, rgba(59, 139, 255, 0.1), rgba(30, 106, 245, 0.05));
        color: #3b8bff;
    }

    .dark .sidebar-link.active {
        background: linear-gradient(135deg, rgba(59, 139, 255, 0.15), rgba(30, 106, 245, 0.08));
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .dark .glass-card {
        background: rgba(30, 41, 59, 0.7);
        border: 1px solid rgba(71, 85, 105, 0.3);
    }

    .kpi-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .kpi-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        opacity: 0.05;
        transition: all 0.3s ease;
    }

    .kpi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    }

    .dark .kpi-card:hover {
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    }

    .gradient-text {
        background: linear-gradient(135deg, #3b8bff, #1e6af5, #7c3aed);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .shimmer {
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
        background-size: 200% 100%;
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes pulse-dot {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }
    }

    .animate-fade-in-up {
        animation: fadeInUp 0.5s ease forwards;
    }

    .animate-fade-in {
        animation: fadeIn 0.3s ease forwards;
    }

    .animate-slide-in-right {
        animation: slideInRight 0.4s ease forwards;
    }

    .animate-slide-down {
        animation: slideDown 0.3s ease forwards;
    }

    .animate-scale-in {
        animation: scaleIn 0.2s ease forwards;
    }

    .animate-pulse-dot {
        animation: pulse-dot 2s ease-in-out infinite;
    }

    .property-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
    }

    .dark .property-card:hover {
        box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
    }

    .notification-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        width: 18px;
        height: 18px;
        background: linear-gradient(135deg, #ef4444, #dc2626);
        border-radius: 50%;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        border: 2px solid white;
    }

    .dark .notification-badge {
        border-color: #1e293b;
    }

    .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    .status-online {
        background: #22c55e;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    }

    .status-away {
        background: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }

    .status-offline {
        background: #94a3b8;
    }

    .progress-bar {
        height: 6px;
        border-radius: 3px;
        overflow: hidden;
        background: #e2e8f0;
    }

    .dark .progress-bar {
        background: #334155;
    }

    .progress-fill {
        height: 100%;
        border-radius: 3px;
        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 100;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .modal-overlay.active {
        display: flex;
    }

    .toast-container {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 200;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-section-title {
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 0.75rem 1.25rem 0.35rem;
    }

    /* Map placeholder */
    .map-container {
        background: linear-gradient(145deg, #e8f4f8, #d1e8ef, #c3dfe8);
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        min-height: 300px;
    }

    .dark .map-container {
        background: linear-gradient(145deg, #1a2332, #1e293b, #233044);
    }

    .map-grid {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(59, 139, 255, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(59, 139, 255, 0.08) 1px, transparent 1px);
        background-size: 40px 40px;
    }

    .map-road {
        position: absolute;
        background: rgba(59, 139, 255, 0.12);
    }

    .dark .map-road {
        background: rgba(59, 139, 255, 0.15);
    }

    .map-marker {
        position: absolute;
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, #3b8bff, #1e6af5);
        border-radius: 50% 50% 50% 0;
        transform: rotate(-45deg);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(59, 139, 255, 0.4);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .map-marker:hover {
        transform: rotate(-45deg) scale(1.2);
    }

    .map-marker span {
        transform: rotate(45deg);
        color: white;
        font-size: 12px;
        font-weight: 700;
    }

    .map-price-badge {
        position: absolute;
        background: white;
        padding: 2px 8px;
        border-radius: 6px;
        font-size: 10px;
        font-weight: 700;
        color: #1e293b;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        white-space: nowrap;
        z-index: 3;
    }

    .dark .map-price-badge {
        background: #334155;
        color: #e2e8f0;
    }

    @media (max-width: 1024px) {
        .sidebar-desktop {
            transform: translateX(-100%);
            position: fixed;
            z-index: 50;
        }

        .sidebar-desktop.open {
            transform: translateX(0);
        }
    }

    .dropdown-menu {
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    input[type="search"]::-webkit-search-cancel-button {
        display: none;
    }