/* Base styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0b1f3a; /* deep navy blue */
    color: #e0e6ed; /* soft light text */
  }
  
  /* Header */
  header {
    background-color: #102a4d; /* slightly lighter blue */
    color: #ffffff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  /* Navigation */
  nav a {
    margin: 0 1rem;
    color: #a9c4ff;
    text-decoration: none;
    font-weight: bold;
  }
  
  nav a:hover {
    color: #ffffff;
  }
  
  /* Section titles */
  h2 {
    color: #a9c4ff;
    border-bottom: 2px solid #1f3f6e;
    padding-bottom: 0.3rem;
  }
  
  /* Stats grid */
  .stats-grid {
    display: flex;
    gap: 1rem;
    margin: 1rem;
    flex-wrap: wrap;
  }
  
  .card {
    background-color: #1f3f6e;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    flex: 1;
    min-width: 200px;
  }
  
  /* Footer */
  footer {
    background-color: #102a4d;
    color: #a9c4ff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
  }

  .search-form {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
  }
  
  .search-form input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
  }
  
  .search-form button {
    padding: 0.5rem 1rem;
    background-color: #003366; /* Dark blue */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .search-form button:hover {
    background-color: #0055aa;
  }

  #postcode-summary {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #0b1f3a;;
    border-radius: 8px;
  }
  
  #postcode-summary h2 {
    margin-bottom: 1rem;
  }
  
  #postcode-summary form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  #postcode-summary input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  #postcode-summary button {
    padding: 0.5rem 1rem;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .summary-results {
    margin-top: 1rem;
    background-color: #0078d4;
    padding: 1rem;
    border-left: 4px solid #0078d4;
  }
  
  .white-link {
    color: white;
    text-decoration: none; /* optional: removes underline */
  }
  
  .white-link:hover {
    text-decoration: underline; /* optional: adds underline on hover */
  }
  
  .tile-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem;
    flex-wrap: wrap;
  }
  
  .tile {
    background-color: #033d67;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 400px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .tile:hover {
    transform: translateY(-5px);
    background-color: #e2eaf1;
  }
  .guide-group ul {
    list-style-type: none;
    text-align: center;
    padding-left: 0;
    margin: 0;
  }
  
  .tile-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
  }
  
  .tile {
    background-color: #033d67;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 220px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .tile:hover {
    transform: translateY(-5px);
    background-color: #e2eaf1;
  }

  .no-results {
    color: #dc3545;
    font-weight: bold;
    margin-top: 1rem;
  }
  
