/* --- Bright, Modern Styles --- */
    :root {
      --primary: #2196f3;
      --accent: #08f7fe;
      --background: #f7faff;
      --header-bg: linear-gradient(90deg, #2196f3 0%, #08f7fe 100%);
      --section-bg: #ffffffee;
      --footer-bg: linear-gradient(90deg, #08f7fe 0%, #2196f3 100%);
      --menu-hover: #d0f0ff;
      --text: #222;
      --error: #f8333c;
      --success: #44cf6c;
    }
    body {
      margin: 0;
      font-family: 'Segoe UI', 'Arial', sans-serif;
      background: var(--background);
      color: var(--text);
    }
    .navbar {
      background: var(--header-bg);
      color: white;
      padding: 0.8rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 16px #2196f355;
      position: relative;
    }
    .navbar-brand {
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-shadow: 0 2px 10px #08f7fe88;
    }
    .dropdown {
      position: relative;
      display: inline-block;
    }
    .dropdown-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 1.1rem;
      font-weight: 500;
      cursor: pointer;
      padding: 0.5rem 1rem;
      transition: background 0.3s;
      border-radius: 6px;
    }
    .dropdown-toggle:hover, .dropdown-toggle:focus {
      background: var(--menu-hover);
      color: var(--primary);
      outline: none;
    }
    .dropdown-menu {
      display: none;
      position: absolute;
      right: 0;
      background: white;
      min-width: 160px;
      box-shadow: 0 8px 24px #2196f399;
      border-radius: 8px;
      z-index: 10;
      padding: 0.5rem 0;
      margin-top: 5px;
    }
    .dropdown-menu.show {
      display: block;
      animation: fadeIn 0.2s;
    }
    @keyframes fadeIn {
      from { opacity: 0;}
      to { opacity: 1;}
    }
    .dropdown-menu a {
      display: block;
      padding: 0.75rem 1.25rem;
      color: var(--primary);
      text-decoration: none;
      transition: background 0.25s, color 0.25s;
      border-radius: 0;
      font-weight: 500;
    }
    .dropdown-menu a:hover {
      background: var(--accent);
      color: white;
      border-radius: 0;
    }
    main {
      max-width: 1200px;
      margin: 2rem auto 2rem auto;
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
    }
    section {
      background: var(--section-bg);
      border-radius: 18px;
      box-shadow: 0 2px 24px #2196f333;
      padding: 2rem;
      margin-bottom: 2rem;
      flex: 1 1 328px;
      min-width: 300px;
      transition: box-shadow 0.3s;
    }
    section:hover {
      box-shadow: 0 6px 32px #08f7fe55;
      transform: translateY(-2px) scale(1.01);
    }
    .search-title {
      font-size: 1.3rem;
      margin-bottom: 1rem;
      font-weight: 600;
      color: var(--primary);
    }
    .search-form {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
      align-items: center;
    }
    .search-input {
      padding: 0.7rem 1rem;
      font-size: 1.1rem;
      border: 2px solid var(--accent);
      border-radius: 8px;
      background: #fff;
      transition: border-color 0.2s;
      flex: 1 1 160px;
    }
    .search-input:focus {
      border-color: var(--primary);
      outline: none;
    }
    .search-btn {
      background: var(--primary);
      color: white;
      font-weight: 600;
      font-size: 1.05rem;
      border: none;
      border-radius: 8px;
      padding: 0.7rem 1.2rem;
      cursor: pointer;
      box-shadow: 0 2px 8px var(--primary);
      transition: background 0.2s, box-shadow 0.3s;
    }
    .search-btn:hover {
      background: var(--accent);
      box-shadow: 0 4px 16px var(--accent);
      color: var(--primary);
    }
    #map {
      width: 100%;
      height: 390px;
      border-radius: 12px;
      box-shadow: 0 2px 24px #2196f322;
      margin-top: 1rem;
      margin-bottom: 1rem;
      transition: box-shadow 0.3s;
    }
    .results-list {
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 1rem;
    }
    .results-list li {
      padding: 0.7rem;
      margin-bottom: 0.5rem;
      border-radius: 6px;
      background: #2196f321;
      transition: background 0.22s;
      cursor: pointer;
    }
    .results-list li:hover {
      background: var(--accent);
      color: white;
    }
    .msg.error {
      color: var(--error);
      font-weight: 500;
      margin-bottom: 0.8rem;
      border-left: 4px solid var(--error);
      padding-left: 0.8rem;
    }
    .msg.success {
      color: var(--success);
      font-weight: 500;
      margin-bottom: 0.8rem;
      border-left: 4px solid var(--success);
      padding-left: 0.8rem;
    }
    footer {
      width: 100%;
      background: var(--footer-bg);
      color: white;
      text-align: center;
      padding: 1.5rem 0 1rem 0;
      margin-top: 2rem;
      font-size: 1.11rem;
      border-top: 1px solid var(--accent);
      box-shadow: 0 -2px 24px #2196f322;
      letter-spacing: 1px;
    }
    .attribution {
      font-size: 0.9rem;
      opacity: 0.8;
      margin-top: 0.3rem;
    }
    @media (max-width: 800px) {
      main {
        flex-direction: column;
        gap: 0rem;
      }
    }
    @media (max-width: 510px) {
      .navbar {
        flex-direction: column;
        gap: 0.7rem;
        font-size: 95%;
        padding-left: 0.7rem;
      }
      section {
        padding: 1rem;
      }
      #map {
        height: 250px;
      }
    }