    html, body {
      min-height: 100%;
      overflow-x: hidden;
    }

    html {
      overflow-y: auto;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      font-size: 12px;
      background: #fafafa;
      min-height: 100%;
      overflow: visible;
    }

    :root {
      --primary: #2563eb;
      --text: #111827;
      --muted: #6b7280;
      --bg: #f9fafb;
    }    
    .form-section {
      margin-top: 8px;
    }

    input {
      font-size: 14px;
      padding: 10px;
    }
    #planTripBtn {
      background: linear-gradient(135deg, #2F6FED, #1FA971);
      color: white;
      font-weight: 600;
      padding: 10px 16px;
      border-radius: 8px;
      border: none;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }    
    .divider {
      height: 1px;
      background: #f1f5f9;
      margin: 8px 0;
    }    
    .controls {
      position: sticky; top:0; z-index:1000;
      background:#fff; 
      padding-left: 10px; 
      padding-right: 10px;
      box-shadow:0 2px 5px rgba(0,0,0,0.1);
    }
    
    .hero-intro {
      padding: 5px 5px 2px;
      text-align: center;
      background: linear-gradient(135deg, #f7f9fc, #eef3ff);
    }

    .hero-intro h1 {
      max-width: 760px;
      margin: 0 auto 6px;
      color: #111827;
      font-size: 24px;
      line-height: 1.1;
      font-weight: 800;
    }

    .hero-intro .subtext {
      max-width: 720px;
      margin: 0 auto;
      color: #4b5563;
      font-size: 13px;
      line-height: 1.4;
    }

    .hero-intro .how-it-works {
      max-width: 760px;
      margin: 8px auto 0;
      color: #1f2937;
      font-size: 11px;
      line-height: 1.35;
      font-weight: 600;
    }

    .hero-features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      margin-top: 10px;
    }

    .trust-line
    {
      font-size: 11px;
    }

.days-input {
  display: flex;
  flex-direction: column; /* Stacks the label above the input */
}

.days-input label {
  margin-bottom: 3px; /* Creates the 2-3px gap you requested */
}

.days-input input {
  width: 100%;
  border: 1px solid #d1d5db !important;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  outline: none;
  appearance: textfield;
}

.days-input input:focus {
  border-color: #93c5fd !important;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.35);
}

    .feature {
      padding: 6px 8px;
      border-radius: 8px;
      background: rgba(255,255,255,0.84);
      color: #111827;
      font-size: 11px;
      font-weight: 700;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      white-space: nowrap;
    }

    .usage-bar {
      margin-top: 12px;
      padding: 10px 12px;
      border: 1px solid #dbe4f0;
      border-radius: 8px;
      background: #f8fafc;
    }

    .usage-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }

    .usage-copy {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      color: #334155;
      font-size: 13px;
    }

    .usage-info {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      cursor: help;
      line-height: 1;
      flex: 0 0 auto;
    }

    .usage-tooltip {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 8px);
      width: min(280px, 78vw);
      transform: translateX(-50%) translateY(4px);
      padding: 8px 10px;
      border-radius: 8px;
      background: #111827;
      color: #fff;
      font-size: 11px;
      font-weight: 400;
      line-height: 1.4;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s ease, transform 0.15s ease;
      z-index: 2500;
    }

    .usage-info:hover .usage-tooltip,
    .usage-info:focus .usage-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .support-cta {
      flex: 0 0 auto;
      color: #2563eb;
      background: #eff6ff;
      border: 0;
      border-radius: 8px;
      padding: 6px 8px;
      text-decoration: none;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .support-cta:hover {
      background: #dbeafe;
    }

    .usage-track {
      height: 8px;
      background: #e2e8f0;
      border-radius: 999px;
      overflow: hidden;
    }

    .usage-fill {
      height: 8px;
      width: 0%;
      background: #0f766e;
      border-radius: 999px;
      transition: width 0.2s ease;
    }

    label { font-size:12px; font-weight:bold; }

    input, select, textarea {
      width:95%; padding:8px; margin-bottom:6px;
      font-size:12px;
      border-radius: 8px;
      border: 1px solid #e5e7eb;      
    }

    .plan-btn {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #fff;
      padding: 10px;
      border-radius: 10px;
      border: none;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.3px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(37,99,235,0.25);
      transition: all 0.15s ease;
    }

    .plan-btn:active {
      transform: scale(0.97);
      cursor: pointer;
    }

    .plan-btn:disabled {
      background-color: #d1d5db !important; /* Grey */
      color: #9ca3af !important;
      cursor: not-allowed;
    } 

    #map {
      height: 40vh;
      height: 40dvh;
      min-height: 180px;
      width: 100%;
    }

    #results { padding:10px; }
    
    .attractions {
      margin-top:5px;
      padding-top:8px;
      border-top:1px solid #eee;
      overflow: hidden;
      transition: max-height 0.3s ease;   
    }  
   
    
  .card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;

    box-shadow: 
      0 1px 3px rgba(0,0,0,0.06),
      0 4px 12px rgba(0,0,0,0.08);

    transition: transform 0.15s ease, box-shadow 0.15s ease;
  } 
    /* hover (desktop) */
    .card:hover {
      transform: translateY(-0.5px);
      box-shadow:0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* active (mobile tap feedback) */
    .card:active {
      background-color: #f5f9ff;
      transform: translateY(1px);
      box-shadow:0 1px 2px rgba(0,0,0,0.06);      
    }    
    .section-title {
      font-size: 11px;
      color: #6b7280;
      margin-top: 8px;
      margin-bottom: 4px;
      text-transform: uppercase;
    }    
    .spinner {
      margin:auto;
      width:30px;
      height:30px;
      border:4px solid #ddd;
      border-top:4px solid #007bff;
      border-radius:50%;
      animation: spin 1s linear infinite;
    }

    .loading-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(1px);
    }

    .loading-overlay.hidden {
      display: none;
    }

    .loader-content {
      min-width: 180px;
      padding: 18px 20px;
      border-radius: 8px;
      background: rgba(255,255,255,0.95);
      text-align: center;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    .loader-content p {
      margin: 10px 0 0;
      color: #1f2937;
      font-size: 13px;
      font-weight: 600;
    }
    
    @keyframes spin {
      100% { transform: rotate(360deg); }
    }    
    h4 {
      color: blue;
      font-weight: bold;
    }
    .active-card {
      border: 2px solid #007bff;
    }  
    .action-bar {
      bottom: 0;
      background: #ffffff;
      padding: 10px;
      display: flex;
      gap: 8px;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
      display: flex;
      justify-content: center; /* Centers horizontally */
      align-items: center;     /* Centers vertically */
    }   
    .copyright {
      background: #f0fcc8;
      padding: 6px 10px;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.08);

      text-align: center;
      width: 100%;
    }   
    /* Warning Banner */
    .warning-box {
      display: none;
      position: sticky;
      top: 0;
      z-index: 2000;

      margin: 8px;
      padding: 12px 14px;

      border-radius: 10px;
      border: 1px solid #fde68a;

      background: linear-gradient(135deg, #fff7ed, #fffbeb);
      color: #92400e;

      font-size: 13px;
      line-height: 1.4;

      box-shadow: 0 4px 12px rgba(0,0,0,0.08);

      display: flex;
      align-items: center;
      justify-content: space-between;

      animation: slideDown 0.25s ease;
    }

    .warning-content {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .warning-icon {
      font-size: 16px;
    }

    .warning-close {
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      opacity: 0.6;
    }

    .warning-close:hover {
      opacity: 1;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-10px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }  
    
  .input-box {
    width: 100%;
    margin: 2px 0;
  }

  gmp-place-autocomplete {
    width: 100%;
    display: block;
  }

  /* Try to normalize look */
  gmp-place-autocomplete::part(input) {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
  }      
  .reset-btn {
  margin-left: 10px;
  background: #eee;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.break-card {
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 6px;
}

.break-card:hover {
    background: #f5f5f5;
}

.break-card.active {
    border-color: #007bff;
    background: #eef5ff;
}
.day-card {
  border: 1px solid #ddd;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #fff;
}

.day-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 8px 0;
}

.day-actions button {
  margin-right: 0;
  cursor: pointer;
}

.day-details {
  margin-top: 10px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 6px;
}

.weather-advisory {
  margin-top: 6px;
  font-size: 13px;
  color: #475569;
}

.comfort-score {
  margin: 8px 0 10px;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comfort-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comfort-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--comfort-bg);
  color: var(--comfort-text);
  font-weight: 700;
  line-height: 1.2;
}

.comfort-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  cursor: help;
}

.comfort-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  width: min(260px, 78vw);
  transform: translateX(-50%) translateY(4px);
  padding: 8px 10px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}

.comfort-info:hover .comfort-tooltip,
.comfort-info:focus .comfort-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.comfort-bar {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.comfort-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--comfort-color);
  transition: width 0.35s ease;
}

.comfort-meta {
  margin-top: 6px;
  color: var(--comfort-text);
  font-size: 11px;
  font-weight: 600;
}

.hidden {
  display: none;
}

.fuel-summary p {
  margin: 6px 0;
}

.fuel-brand-label {
  font-weight: 700;
}

.fuel-disclaimer {
  margin-top: 8px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.5;
}

.footer-disclaimer {
    background: #fafafa;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    padding: 14px 18px;
    border-top: 1px solid #e5e5e5;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* subtle emphasis */
.footer-disclaimer strong {
    color: #333;
}

/* MOBILE FIRST FIX */
@media (max-width: 768px) {
  .hero-intro {
    padding: 12px 10px !important;
  }

  .hero-intro h1 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .hero-intro .subtext {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .hero-intro .how-it-works {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .hero-features {
    gap: 6px;
  }

  .feature {
    font-size: 11px;
    padding: 4px 8px;
  }
}

#support-btn {
  background: linear-gradient(135deg, #2F6FED, #1FA971);
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.support-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;   /* IMPORTANT */
}

/* Text */
.support-note {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

.support-options {
  display: flex;
  gap: 6px;
  flex-shrink: 0;      /* prevents buttons from shrinking */
}

.support-options button {
  white-space: nowrap; /* prevents text wrapping inside buttons */
}

.support-options button {
  padding: 4px 7px;
  font-size: 11px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

/* Highlight ₹100 */
.support-options .primary {
  background: linear-gradient(135deg, #2F6FED, #1FA971);
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .support-note {
    display: none;
  }

  .support-options {
    width: 100%;
    justify-content: space-between;
  }
}

@media (orientation: landscape) and (max-width: 1024px) and (pointer: coarse) {
  .controls {
    position: static;
    box-shadow: none;
  }

  #map {
    height: 34dvh;
    min-height: 140px;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1f2937;
  color: white;
  padding: 15px;
  z-index: 9999;
}

.cookie-content {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-actions button {
  margin-left: 10px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.cookie-actions button:first-child {
  background: #10b981;
  color: white;
}

.cookie-actions button:last-child {
  background: #ef4444;
  color: white;
}
.footer {
  margin-top: 20px;
  padding: 10px;
  background: #ffffff;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 8px;
  text-decoration: none;
  color: #0b3d91;
  font-size: 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}
header {
    background: #0b3d91;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
  }

  header a {
    color: white;
    text-decoration: none;
  }
  nav {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
  }

  nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #0b3d91;
    font-weight: 600;
  }

  nav a:hover {
    text-decoration: underline;
  }

  .container {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    line-height: 1.6;
  }

  h1 {
    margin-top: 0;
    color: #0b3d91;
  }

  h2 {
    margin-top: 25px;
    color: #333;
  }

  ul {
    list-style-type: disc;
    margin-left: 20px;
  }

  .email {
    font-weight: bold;
    color: #0b3d91;
  }

  footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #555;
    margin-top: 40px;
  }

  .hidden {
    display: none;
  }

  .issue-form {
  display: flex;
  flex-direction: column;
}

.issue-form label {
  margin-top: 15px;
  font-weight: 600;
}

.issue-form input,
.issue-form select,
.issue-form textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.issue-form button {
  margin-top: 20px;
  padding: 12px;
  background: #0b3d91;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.issue-form button:hover {
  background: #092c6c;
}

button[data-type] {
  /* Layout & Sizing */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px; /* Slimmer height for mobile */
  
  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  
  /* Styling */
  background: #ffffff;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a; /* Sharp, defined border */
  border-radius: 6px; /* Subtle roundness is more 'elegant' than pills */
  
  /* Interaction */
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation; /* Optimizes for mobile taps */
}

/* Subtle feedback for the thumb press */
button[data-type]:active {
  background-color: #f0f0f0;
  transform: scale(0.96); 
  padding: 2px;
}
.trip-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.toll-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

#planTripBtn {
  margin-bottom: 12px;
}

.recent-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.recent-search-chip {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 11px;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
}

.recent-search-chip:active {
  transform: scale(0.98);
}

body.standalone {
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

@media (display-mode: standalone) {
  .controls {
    padding-top: max(10px, env(safe-area-inset-top));
  }
}
.info {
  align-items: center;
  color: #07955c;
  }

@media (max-width: 768px) {
  .trip-options {
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
  }

  #planTripBtn {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .day-actions {
    justify-content: center;
    gap: 10px;
    padding: 10px 4px;
  }

  .day-actions button[data-type] {
    flex: 1 1 calc(50% - 12px);
    max-width: 220px;
    justify-content: center;
  }
}

.network-status-banner {
  position: fixed;
  left: 50%;
  top: calc(12px + env(safe-area-inset-top, 0px));
  width: min(90vw, 520px);
  max-width: 90vw;
  z-index: 11000;
  pointer-events: none;
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.network-status-banner.is-online {
  background: #15803d;
}

.network-status-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.network-status-banner.is-offline {
  background: #c2410c;
}

.offline-autocomplete-hint {
  margin-top: 4px;
  margin-bottom: 4px;
  color: #b45309;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.offline-manual-input {
  width: 100%;
  display: block;
  padding: 8px;
  font-size: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  margin-top: 0;
  margin-bottom: 6px;
  box-sizing: border-box;
}

.offline-manual-input[hidden],
.offline-autocomplete-hint[hidden] {
  display: none !important;
}

gmp-place-autocomplete.is-autocomplete-offline {
  display: none;
}
