* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: #f8f9fa;
      color: #333;
      line-height: 1.6;
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
    }

    .header {
      text-align: center;
      margin-bottom: 30px;
    }

    .header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #2c3e50;
      margin-bottom: 10px;
    }

    .map-wrapper {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      position: relative;
    }

    .map-header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 20px 30px;
      position: relative;
    }

    .map-header h2 {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .legend {
      display: flex;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
      opacity: 0.95;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.1);
      padding: 8px 12px;
      border-radius: 20px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
    }

    .legend-item:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    .legend-indicator {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      border: 2px solid rgba(255, 255, 255, 0.8);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .legend-indicator.very-low {
      background: #2ecc71;
    }
    .legend-indicator.moderate {
      background: #f39c12;
    }
    .legend-indicator.high {
      background: #e67e22;
    }
    .legend-indicator.very-high {
      background: #e74c3c;
    }

    .legend-text {
      font-size: 14px;
      font-weight: 500;
      color: white;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .map-content {
      padding: 0;
      position: relative;
      background: #fff;
    }

    #map-container {
      position: relative;
      width: 100%;
      min-height: 600px;
      background: white;
    }

    #svgMap {
      width: 100%;
      height: auto;
      display: block;
      background: white;
    }

    .tooltip {
      position: absolute;
      background: rgba(0, 0, 0, 0.9);
      color: white;
      padding: 12px 16px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      pointer-events: none;
      display: none;
      z-index: 1000;
      /* white-space: nowrap; scott, changed to wrap */
      white-space: wrap;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tooltip::before {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: rgba(0, 0, 0, 0.9);
    }

    .info-panel {
      background: #f8f9fa;
      padding: 20px 30px;
      border-top: 1px solid #e9ecef;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 15px;
    }

    .info-item {
      background: white;
      padding: 15px;
      border-radius: 8px;
      border-left: 4px solid #506CE7;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .info-item h4 {
      font-size: 14px;
      font-weight: 600;
      color: #506CE7;
      margin-bottom: 5px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .info-item p {
      font-size: 16px;
      color: #2c3e50;
      font-weight: 500;
    }

    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }

    @media (max-width: 768px) {
      .container {
        padding: 15px;
      }
      
      .header h1 {
        font-size: 2rem;
      }
      
      .map-header {
        padding: 15px 20px;
      }
      
      .map-header h2 {
        font-size: 1.5rem;
      }
      
      .legend {
        gap: 15px;
      }
      
      .legend-item {
        padding: 6px 10px;
      }
      
      .info-grid {
        grid-template-columns: 1fr;
      }
    }



    