    /* Variables CSS */
    :root {
      --primary-color: #667eea;
      --secondary-color: #764ba2;
      --accent-color: #4ecdc4;
      --success-color: #10b981;
      --warning-color: #f59e0b;
      --danger-color: #ef4444;
      --text-primary: #1f2937;
      --text-secondary: #6b7280;
      --text-light: #9ca3af;
      --bg-primary: #ffffff;
      --bg-secondary: #f9fafb;
      --bg-overlay: rgba(255, 255, 255, 0.95);
      --border-color: #e5e7eb;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      --radius-sm: 0.375rem;
      --radius-md: 0.5rem;
      --radius-lg: 0.75rem;
      --radius-xl: 1rem;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Reset et base */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      min-height: 100vh;
      overflow: hidden;
      line-height: 1.6;
      color: var(--text-primary);
    }

    /* Header */
    .header {
      position: relative;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding: 1rem 0;
    }

    .header-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .header-icon {
      font-size: 2rem;
      color: white;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .header-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-btn {
      display: none;
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      padding: 0.75rem;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: var(--transition);
    }

    .mobile-menu-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-1px);
    }

    /* Container principal */
    .container {
      display: flex;
      height: calc(100vh - 80px);
      position: relative;
    }

    /* Section carte */
    .map-section {
      flex: 1;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .map-container {
      position: relative;
      width: 100%;
      height: 100%;
      max-width: 1200px;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow-xl);
      background: white;
    }

    /* FIX CRITIQUE POUR LEAFLET */
    #map {
      width: 100% !important;
      height: 100% !important;
      position: relative !important;
      z-index: 1 !important;
    }

    .leaflet-container {
      width: 100% !important;
      height: 100% !important;
    }

    .leaflet-map-pane {
      width: 100% !important;
      height: 100% !important;
    }

    /* Contrôles de la carte */
    .map-controls {
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 1000;
      display: flex;
      gap: 0.5rem;
    }

    .control-btn {
      background: var(--bg-overlay);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      padding: 0.75rem 1rem;
      border-radius: var(--radius-lg);
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 500;
      box-shadow: var(--shadow-md);
    }

    .control-btn:hover {
      background: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    .reset-btn {
      background: linear-gradient(135deg, var(--danger-color), #dc2626);
      color: white;
      border: none;
    }

    .reset-btn:hover {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
    }

    .btn-text {
      font-size: 0.875rem;
    }

    /* Indicateur de chargement */
    .loading-indicator {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 2000;
      background: var(--bg-overlay);
      backdrop-filter: blur(10px);
      padding: 2rem;
      border-radius: var(--radius-xl);
      text-align: center;
      box-shadow: var(--shadow-xl);
    }

    .loading-spinner {
      width: 3rem;
      height: 3rem;
      border: 3px solid var(--border-color);
      border-top: 3px solid var(--primary-color);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 1rem;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    /* Panel d'informations */
    .info-panel {
      width: 400px;
      background: var(--bg-overlay);
      backdrop-filter: blur(20px);
      border-left: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      transition: var(--transition);
      box-shadow: var(--shadow-xl);
    }

    .info-panel.hidden {
      transform: translateX(100%);
    }

    .panel-header {
      padding: 1.5rem;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(135deg, var(--accent-color), #38b2ac);
      color: white;
    }

    .panel-title {
      font-size: 1.25rem;
      font-weight: 700;
    }

    .panel-close {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      padding: 0.5rem;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: var(--transition);
      display: none;
    }

    .panel-close:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .panel-content {
      flex: 1;
      padding: 1.5rem;
      overflow-y: auto;
    }

    /* Styles pour le contenu du panel */
    .breadcrumb {
      background: rgba(78, 205, 196, 0.1);
      padding: 0.75rem 1rem;
      border-radius: var(--radius-lg);
      margin-bottom: 1.5rem;
      font-size: 0.875rem;
      color: var(--text-secondary);
      border-left: 4px solid var(--accent-color);
    }

    .breadcrumb .current {
      font-weight: 600;
      color: var(--text-primary);
    }

    .info-panel h2 {
      color: var(--text-primary);
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
      font-weight: 700;
      border-bottom: 3px solid var(--accent-color);
      padding-bottom: 0.5rem;
    }

    .info-item {
      margin-bottom: 1rem;
      padding: 1rem;
      background: rgba(78, 205, 196, 0.05);
      border-radius: var(--radius-lg);
      border-left: 4px solid var(--accent-color);
      transition: var(--transition);
    }

    .info-item:hover {
      background: rgba(78, 205, 196, 0.1);
      transform: translateX(4px);
    }

    .info-label {
      font-weight: 600;
      color: var(--text-secondary);
      display: block;
      margin-bottom: 0.25rem;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .info-value {
      color: var(--text-primary);
      font-size: 1rem;
      font-weight: 500;
    }

    .default-message {
      text-align: center;
      padding: 2rem 0;
    }

    .default-icon {
      font-size: 3rem;
      color: var(--text-light);
      margin-bottom: 1rem;
    }

    .default-message h3 {
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      font-size: 1.25rem;
      font-weight: 600;
    }

    .default-message p {
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .district-info {
      background: rgba(245, 158, 11, 0.1);
      border-left: 4px solid var(--warning-color);
      padding: 1rem;
      border-radius: var(--radius-lg);
    }

    .district-info h2 {
      border-bottom-color: var(--warning-color);
    }

    .commune-info {
      background: rgba(16, 185, 129, 0.1);
      border-left: 4px solid var(--success-color);
      padding: 1rem;
      border-radius: var(--radius-lg);
    }

    .commune-info h2 {
      border-bottom-color: var(--success-color);
    }

    /* Overlay mobile */
    .mobile-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1500;
      opacity: 0;
      transition: var(--transition);
    }

    .mobile-overlay.active {
      opacity: 1;
    }

    /* Styles responsive */
    @media (max-width: 1024px) {
      .header-title {
        font-size: 1.25rem;
      }

      .info-panel {
        width: 350px;
      }

      .map-section {
        padding: 1rem;
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-btn {
        display: block;
      }

      .panel-close {
        display: block;
      }

      .mobile-overlay {
        display: block;
      }

      .container {
        flex-direction: column;
      }

      .info-panel {
        position: fixed;
        top: 80px;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 400px;
        transform: translateX(100%);
        z-index: 2000;
        border-left: none;
        border-top-left-radius: var(--radius-xl);
        border-bottom-left-radius: var(--radius-xl);
      }

      .info-panel.mobile-open {
        transform: translateX(0);
      }

      .info-panel.hidden {
        transform: translateX(100%);
      }

      .map-section {
        height: calc(100vh - 80px);
        padding: 0.75rem;
      }

      .map-controls {
        top: 0.75rem;
        right: 0.75rem;
        flex-direction: column;
      }

      .control-btn {
        padding: 0.5rem;
      }

      .btn-text {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .header {
        padding: 0.75rem 0;
      }

      .header-content {
        padding: 0 1rem;
      }

      .header-title {
        font-size: 1rem;
      }

      .header-icon {
        font-size: 1.5rem;
      }

      .info-panel {
        max-width: 100%;
        border-radius: 0;
      }
    }

    /* Scrollbar personnalisée */
    .panel-content::-webkit-scrollbar {
      width: 6px;
    }

    .panel-content::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.05);
      border-radius: 3px;
    }

    .panel-content::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 3px;
    }

    .panel-content::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 0, 0, 0.3);
    }

    /* Styles pour les tooltips Leaflet */
    .leaflet-tooltip {
      background: var(--bg-overlay) !important;
      border: 1px solid var(--border-color) !important;
      border-radius: var(--radius-md) !important;
      color: var(--text-primary) !important;
      font-weight: 500 !important;
      box-shadow: var(--shadow-md) !important;
    }