/* ===============================
   GLOBAL STYLES
=============================== */
:root {
  --white: #ffffff;
  --green: #358c74;
  --aqua: #48d9b0;
  --dark: #1f6351;
  --mint: #80ffdb;
  --bg: #f8f9f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* ===============================
   HEADER
=============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}
header .brand-left h1 {
  font-family: 'Bebas Neue', cursive;
  color: var(--green);
  font-size: 1.8rem;
}
.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  width: 60px;
  border-radius: 50%;
}
nav ul { list-style: none; display: flex; gap: 1.5rem; }
nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
}
nav a.button {
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* spacing between text and icon */
}

.nav-coming-soon .nav-icon {
  height: 30px;  /* adjust as needed */
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-coming-soon:hover .nav-icon {
  transform: scale(1.1);
  opacity: 1;
}


/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { height: 3px; width: 25px; background: var(--dark); margin: 4px 0; }

@media (max-width: 800px) {
  nav ul { 
    display: none; 
    flex-direction: column;
    background: var(--white);
    position: absolute; top: 70px; right: 20px;
    border: 1px solid #ddd;
    padding: 1rem;
  }
  nav ul.active { display: flex; }
  .hamburger { display: flex; }
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text {
  max-width: 500px;
  margin: 0 auto;
}
.hero h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #2e4e44;
}
.hero img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ===============================
   HERO - ABOUT PAGE VARIANT
=============================== */
.hero-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-about h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.hero-about p {
  font-size: 1.1rem;
  color: #2e4e44;
  line-height: 1.6;
}


/* Mobile Fix for Hero */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero > div:first-child {
    order: 2;
    margin-bottom: 1.5rem;
  }
  .hero-text {
    order: 1;
    margin: 0 auto;
  }
  .widget {
    margin: 1.5rem auto 0 auto;
    width: 100%;
    max-width: 350px;
  }

  /* Mobile Fix for Hero-About */
  .hero-about {
    padding: 4rem 1.5rem;
    text-align: center;
  }

  .hero-about h2 {
    font-size: 2.3rem;
  }

  .hero-about p {
    font-size: 1rem;
    line-height: 1.5;
  }
}


/* ===============================
   WIDGET (Reserve / Nearby)
=============================== */
.widget {
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
}
.tabs { display: flex; gap: 1rem; margin-bottom: 1rem; }
.tabs button {
  flex: 1; border: none; padding: 0.7rem;
  background: #eee; border-radius: 6px;
  font-weight: 600; cursor: pointer;
}
.tabs button.active {
  background: var(--green); color: var(--white);
}
.widget input, .widget select {
  width: 100%; padding: 0.8rem; margin-bottom: 1rem;
  border-radius: 6px; border: 1px solid #ccc;
}
.widget button {
  width: 100%; background: var(--green); color: var(--white);
  padding: 1rem; font-weight: 700; border: none;
  border-radius: 8px; cursor: pointer;
}
.widget button:hover { background: var(--aqua); }

/* ===============================
   FEATURE SECTIONS
=============================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 6rem 8rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.feature:nth-child(even) { background: var(--bg); }
.feature img { 
  width: 100%; 
  border-radius: 8px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
  justify-self: center;
}
.feature img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(53, 140, 116, 0.3);
}
.feature h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature p { 
  margin-bottom: 1.5rem; 
  font-size: 1.1rem; 
  max-width: 550px;
}
.feature a {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}
.feature a:hover { background: var(--aqua); transform: translateY(-3px); }

@media (max-width: 800px) {
  .feature {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }
  .feature img {
    max-width: 300px;
    margin: 0 auto 1.5rem;
  }
}

/* ===============================
   FOOTER
=============================== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem;
  font-size: 0.95rem;
}

.footer-brand {
  text-align: center;
}
.footer-logo {
  height: 50px;
  display: block;
  margin: 0 auto 0.75rem auto;
}
.footer-brand p {
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.4;
}
.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}
.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--mint);
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
}
.footer-links a:hover { color: var(--mint); }
.footer-social {
  text-align: center;
}
.footer-social h4 {
  margin-bottom: 0.5rem;
  color: var(--mint);
  font-size: 1rem;
}
.footer-social a {
  color: var(--mint);
  margin: 0 0.4rem;
  text-decoration: none;
}
.footer-social a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* ===============================
   CONTACT FORM
=============================== */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(53, 140, 116, 0.15);
  outline: none;
}

.contact-form textarea {
  resize: none;
  min-height: 140px;
}

.contact-form .checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  text-align: left;
  flex-wrap: nowrap; /* prevents checkbox from jumping above text */
}

.contact-form .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green); /* adds your theme color on supported browsers */
}

.contact-form .checkbox label {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.contact-form .checkbox a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
  background: none;
  padding: 0;
}

.contact-form button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form .checkbox a:hover {
  color: var(--aqua);
}

.hp { display: none !important; }

/* ===============================
   CONTACT QUICK LINKS
=============================== */
.feature--muted {
  background: var(--bg);
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature--muted h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature--muted p {
  font-size: 1rem;
  color: var(--dark);
}

.feature--muted a {
  background: var(--green);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.feature--muted a:hover {
  background: var(--aqua);
}

/* ===============================
   CONTACT MODALS
=============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-card {
  background: var(--white);
  color: var(--dark);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(53, 140, 116, 0.5);
}

.modal-card h3 {
  color: var(--green);
  margin-bottom: 1rem;
}

.modal-card button {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: 600;
}

.modal-card button:hover {
  background: var(--aqua);
}

/* ===============================
   MOBILE CONTACT LAYOUT
=============================== */
@media (max-width: 800px) {
  #contact-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form {
    margin: 0 auto;
    width: 90%;
  }

  .feature--muted {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}


/* ===============================
   RESERVE / SUCCESS PAGES
=============================== */
.container {
  max-width: 540px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
h1, h2 {
  color: #1f6351;
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
}
label {
  margin-top: 15px;
  font-weight: 600;
}
input, select, button {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
button {
  margin-top: 20px;
  background-color: #48d9b0;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #358c74;
}
.disclaimer {
  margin-top: 20px;
  font-size: 0.9em;
  color: #777;
}

.map-section {
  margin-top: 1px;
  text-align: center;
}
.map-section img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  margin-top: 10px;
}

#infoText {
  margin-top: 15px;
}

#infoTextUser {
  margin-top: 2px;
}

.map-caption {
  font-size: 0.85em;
  color: #555;
  margin-top: 5px;
  margin-bottom: 5px;
}

.legal {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
  line-height: 1.7;
  color: var(--dark);
}

.legal h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.legal h3 {
  margin-top: 2rem;
  color: var(--green);
}

.legal a {
  color: var(--aqua);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .legal {
    padding: 1.5rem;
    text-align: left;
  }
}

/* ==============================
   COMING SOON AI PAGE STYLES
============================== */

.ai-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green) 60%, var(--mint) 100%);
  text-align: center;
  color: var(--green);
  padding: 2rem;
}

.ai-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(6px);
}

.ai-container h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.ai-container h1 span {
  color: var(--mint);
}

.ai-container p.subtext {
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.ai-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-form input[type="email"] {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
}

.ai-form .btn-primary {
  background-color: var(--green);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.ai-form .btn-primary:hover {
  background-color: var(--green-dark);
}

.ai-container .small-text {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}


/* ===============================
   MODALS
=============================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-width: 90%;
  width: 400px;
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h2 {
  font-family: 'Bebas Neue', cursive;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.modal-content button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background: var(--aqua);
}

/* ===============================
   COMING SOON APP PAGE
=============================== */
.app-coming-page {
  text-align: center;
  color: var(--dark);
}

.app-hero {
  background: linear-gradient(145deg, var(--green-dark), var(--green), var(--mint));
  color: var(--green);
  padding: 5rem 2rem;
}

.app-hero-content h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.app-hero-content .subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.app-hero-content .description {
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.app-buttons {
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically (if needed) */
  width: 100%;
  margin-top: 1.5rem;
}

.app-buttons img {
  height: 250px;
  width: auto;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-buttons img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.app-showcase {
  padding: 4rem 2rem;
  background: var(--bg);
}

.app-showcase h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.screenshot-grid img {
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.screenshot-grid img:hover {
  transform: translateY(-5px);
}

.app-highlights {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem 2rem;
}

.app-highlights .highlight {
  max-width: 300px;
}

.app-highlights h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.app-highlights p {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .screenshot-grid img {
    max-width: 90%;
  }
  .app-highlights {
    flex-direction: column;
    align-items: center;
  }
  .app-buttons img {
    height: 250px;
  }
}

/* === Reserve Button States === */
#reserveBtn {
  background-color: #b0b0b0;       /* Light gray when inactive */
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.6;
  transition: all 0.25s ease-in-out;
}

#reserveBtn.active {
  background-color: #1f6351;       /* Your OpenSpots green */
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 0 10px rgba(31, 99, 81, 0.4);
}

#reserveBtn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(31, 99, 81, 0.6);
}

/* === Nearby Button === */
#findBtn {
  background-color: #b0b0b0;       /* Inactive gray */
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}

#findBtn.active {
  background-color: #1f6351;       /* OpenSpots green */
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 0 10px rgba(31, 99, 81, 0.4);
}

#findBtn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(31, 99, 81, 0.6);
}

/* === GENERAL PAGE STYLE === */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8fdfb;
  color: #1f6351;
  margin: 0;
  padding: 0;
}

/* === CONTAINER === */
.container {
  max-width: 600px;
  margin: 60px auto;
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 40px;
  text-align: center;
}

/* === HEADER LOGOS ROW === */
/* Logo Row */
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.logo-row img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.logo-row img.center-logo {
  height: 60px;
}

/* Fix the NRG logo size specifically */
.logo-row img.nrg-logo {
  height: 45px;
  margin-top: 5px;
}

/* Read-only event display */
.event-display {
  background-color: #f2f9f6;
  border: 1px solid #cce3db;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  text-align: center;
  color: #1f6351;
  margin-bottom: 15px;
}


/* === HEADINGS === */
h1 {
  font-size: 1.5rem;
  color: #1f6351;
  text-transform: uppercase;
  font-weight: 600;
}

h2 {
  font-size: 1.2rem;
  margin-top: 25px;
  color: #1f6351;
  font-weight: 600;
}

/* === FORM === */
label {
  display: block;
  text-align: left;
  margin-top: 10px;
  font-weight: 600;
}

select,
input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #cce3db;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

select:focus,
input:focus {
  border-color: #1f6351;
}

/* === BUTTON === */
button {
  width: 100%;
  background-color: #1f6351;
  color: white;
  border: none;
  padding: 14px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 10px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #358c74;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(31, 99, 81, 0.3);
}

/* === DISCLAIMER === */
.disclaimer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 15px;
}


/* === PARKING GRID === */
.parking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 20px;
  justify-items: center;
}

.spot {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6f2ef;
  border: 2px solid #1f6351;
  border-radius: 10px;
  font-weight: 600;
  color: #1f6351;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spot:hover {
  background-color: #cce3db;
  transform: translateY(-2px);
}

.spot.selected {
  background-color: #358c74;
  color: #fff;
}

.spot.reserved {
  background-color: #ccc;
  color: #777;
  cursor: not-allowed;
}

/* === MOBILE RESPONSIVE GRID === */
@media (max-width: 768px) {
  .parking-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile */
    gap: 12px;
  }

  .spot {
    width: 60px;
    height: 60px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .parking-grid {
    grid-template-columns: repeat(3, 1fr); /* stays 3 columns */
    gap: 10px;
  }

  .spot {
    width: 55px;
    height: 55px;
    font-size: 0.8rem;
  }
}


/* === SELECTED SPOT DISPLAY === */
.selected-spot-display {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f6351;
}

/* === DISABLED BUTTON STATE === */
button:disabled {
  background-color: #a3c3b7;
  cursor: not-allowed;
}

.feedback {
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

#event-display {
  white-space: pre-line; /* respects \n line breaks */
}

.hint-text {
  display: block;
  text-align: center;
  color: #5f7068;
  font-size: 0.9rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

/* --- Details Page Layout --- */
.details-body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9fafb;
  margin: 0;
  color: #222;
}

.details-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 0;
}

.details-logo {
  height: 60px;
}

/* Back Button (aligned left, fixed width, not full width) */
.back-btn {
  position: absolute;
  left: 2rem;
  top: 10%;
  background: none;
  border: 2px solid #1f6351;
  color: #1f6351;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  width: auto;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #1f6351;
  color: #fff;
}

.details-main {
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}

.details-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
}

.details-form-section {
  background: white;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.details-form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #1f6351;
}

.subtext {
  color: #666;
  margin-bottom: 1.5rem;
}

.details-form-section label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.details-form-section input {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.details-form-section button {
  margin-top: 2rem;
  width: 100%;
  background-color: #1f6351;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.details-form-section button:hover {
  background-color: #358c74;
}

/* --- Right Summary --- */
.summary-section {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  height: fit-content;
}

.summary-box h3 {
  margin-top: 0;
  color: #1f6351;
  font-size: 1.4rem;
}

.summary-item {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.privacy-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

.privacy-note a {
  color: #1f6351;
  text-decoration: underline;
}


/* --- Legal Page Content Container (Matches Details Layout) --- */
.legal {
  max-width: 900px;
  margin: 3rem auto;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 3rem 3rem 2rem;
  color: #333;
  line-height: 1.6;
}

.legal h2 {
  color: #1f6351;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1.8rem;
}

.legal p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.legal h3 {
  color: #1f6351;
  margin-top: 1.8rem;
  font-size: 1.2rem;
}

/* ——— Checkout Layout ——— */
.checkout-body {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f9fb;
  color: #111827;
  margin: 0;
}

.checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.checkout-header .logo {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

.checkout-header h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

/* Container */
.checkout-container {
  max-width: 980px;
  margin: 32px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

/* Left: Order Summary */
.summary-card, .payment-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.summary-card h2, .payment-card h2 {
  font-size: 1rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 0.95rem;
}
.summary-row:last-child { border-bottom: 0; }

/* Right: Pay Box */
.pay-box {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.total-line .label { color: #6b7280; }
.total-line .value { font-size: 1.25rem; font-weight: 800; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  background: #2f6c5b; /* OpenSpots green */
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.02s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 14px rgba(47,108,91,0.18);
}
.btn-primary:hover { background: #285d50; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  color: #2f6c5b;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Small info */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 999px;
  background: #e6f4f1;
  color: #215448;
  font-weight: 700;
}
.meta {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Footer (simple) */
.checkout-footer {
  padding: 24px 16px 40px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Glow + scale hover */
.footer-social .social-icons img:hover {
  transform: scale(1.15);
  filter: brightness(1.4);
  box-shadow: 0 0 12px rgba(53, 140, 116, 0.75); /* mint glow */
}

/* ==========================================
   FINAL UNIVERSAL FOOTER (2025 STABLE VERSION)
========================================== */

footer {
  background: #2f6c5b;
  color: #fff;
  padding: 2rem 0 0.75rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  height: 60px;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0.25rem 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

/* Social */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-social h4 {
  color: #8fffd2;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.footer-social .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-social .social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.25s ease, filter 0.3s ease;
}

.footer-social .social-icons img:hover {
  transform: scale(1.1);
  filter: brightness(1.4);
}

/* Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: #fff;
  text-align: center;
}

/* -------- MOBILE FIXES -------- */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    padding-left: 1.7rem;
    padding-right: 1.7rem;
  }

  .footer-brand,
  .footer-social {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    height: 50px;
    margin-bottom: 0.5rem;
  }

  .footer-brand p {
    max-width: 240px;
  }

  .footer-social .social-icons {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .footer-social .social-icons img {
    width: 28px;
    height: 28px;
  }

  .footer-bottom {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
  }
}

@media (max-width: 900px) {
  .details-container {
    grid-template-columns: 1fr;
  }

  .summary-section {
    order: 0; /* or 0 if you prefer at the top */
    margin-top: 1.5rem;
  }

  .details-form-section {
    order: 1;
  }
}

/* Locate Me Button */
    .locate-btn {
      position: absolute;
      bottom: 100px;
      right: 20px;
      background-color: #ffffff;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      font-size: 22px;
      font-weight: bold;
      cursor: pointer;
      margin: 10px;
      display: flex;
      align-items: center;     /* centers vertically */
      justify-content: center; /* centers horizontally */
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
      transition: transform 0.2s ease;
   }

.locate-btn:hover {
  background-color: #d6d6d6;
  transform: scale(1.1);
}

.radius-popup {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.15);
  width: 80%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}

.radius-title {
  font-size: 15px;
  font-weight: 700;
  color: #2d5d52;
  text-align: center;
}

.radius-btn {
  padding: 10px;
  background: #2d6b5f;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
}

/* REFINED SPOT INFO CARD (FlutterFlow style) */
.spot-info-card {
  position: absolute;
  bottom: 23px; /* sits above navbar */
  left: 50%;
  transform: translateX(-50%);

  width: 88%;
  max-width: 360px;

  background: #ffffff;
  border-radius: 14px;        /* smaller + cleaner */
  padding: 14px 18px;         /* tighter padding */
  
  box-shadow: 0px 4px 14px rgba(0,0,0,0.12); /* better elevation */
  
  display: flex;
  flex-direction: column;
  gap: 6px;                    /* spacing between title/info/button */

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* when visible */
.spot-info-card.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -8px);  /* subtle slide-up */
}

/* Title text */
.spot-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #2f5f55;
  letter-spacing: 0.2px;
}

/* Details text */
.spot-info-details {
  font-size: 13px;
  color: #3d3d3d;
  line-height: 1.3;
}

/* ===============================
   MOBILE FIX — Spot Info Card
=============================== */
@media (max-width: 768px) {
  .spot-info-card {
    bottom: 55px; /* ⬅️ clears navbar + center button */
  }
}


/* NAVIGATE button */
.navigate-btn {
  width: 100%;
  background: #2d6b5f;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
  border: none;
}


@keyframes slideUpCard {
  from { transform: translateX(-50%) translateY(140px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.nearby-popup {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  background: #2f6f62;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: 0 0 14px rgba(0,0,0,0.25);
  animation: slidePopup 0.35s ease-out;
  z-index: 9999;
}

@keyframes slidePopup {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}


    /* Take Me Here Button */
    .take-me-btn {
      background-color: #2c7a7b;
      color: white;
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      cursor: pointer;
      font-weight: 600;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }
    .take-me-btn:hover {
      background-color: #225f61;
      transform: scale(1);
    }

    .gm-style-iw {
      max-width: 220px !important;
    }

    .busy-btn {
  background-color: #d83b3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: default;
  box-shadow: 0 0 10px rgba(216, 59, 59, 0.4);
  margin-bottom: 25px; /* space below button */
  width: auto;
  display: block;       /* force full line */
  margin-left: auto;    /* center horizontally */
  margin-right: auto;
  text-align: center;
}

.busy-btn:hover {
  background-color: #d83b3b !important;
  transform: none !important;
  cursor: default;
}

/* ============= LOGIN PAGE STYLES (REVISED) ============= */

/* Background suggestion: Light Mint */
.login-bg {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  background: linear-gradient(
    200deg,
    #358c74 0%,
    #f5fffb 60%,
    #358c74 100%
  );
}

/* Gradient card container (slimmer + height controlled) */
.login-container {
    width: 85%;
    max-width: 360px;
    max-height: 90vh;

    background: linear-gradient(
      300deg,
      #358c74 0%,
      #48d9b0 20%,
      #1f6351 80%
    );

    padding: 85px 28px;   /* MUCH SMALLER */
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    color: white;
}


.login-logo {
  width: 100px;
  margin-bottom: 12px;
}

.signup-logo {
  width: 50px;
  margin-bottom: 1px;
}

.login-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 15px;
  color: #eafdf7;
  margin-bottom: 8px;
}

.login-input {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  margin-top: 10px;
  margin-bottom: 18px;
  background: white;
  font-size: 15px;
  outline: none;
  color: #1f6351;
  font-weight: 500;
}

.login-btn {
  width: 100%;
  padding: 7px;
  background-color: #1f6351;
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 10px;
  transition: 0.2s ease-in-out;
}

.login-btn:hover {
  opacity: 0.9;
}

.login-forgot {
  margin-top: 14px;
  display: block;
  color: #e7fff6;
  text-decoration: none;
  font-size: 15px;
}

.login-signup {
  margin-top: 22px;
  color: #ffffff;
  font-size: 15px;
}

.login-signup a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.login-error {
  display: none;
  margin-top: 10px;
  color: #ff4d4f;          /* Clean red (not harsh) */
  font-weight: 600;       /* Slightly bold */
  font-size: 0.9rem;
  text-align: center;
}


/* Error message style (already inline but optional here) */
#error-message {
    width: 90%;
    margin: 0 auto;
}

/* SIGNUP TITLE */
.signup-title {
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    color: white;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px; /* spacing between lines */
}

.signup-title-bold {
    font-size: 50px;
    font-weight: 700;
}

/* SIGNUP CONTAINER — MOBILE SAFE */
.signup-container {
    width: 85%;
    max-width: 360px;
    max-height: 90vh;     /* prevents content from overflowing the phone screen */

    background: linear-gradient(
      300deg,
      #358c74 0%,
      #48d9b0 20%,
      #1f6351 80%
    );

    padding: 28px;        /* reduced from your large values */
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    color: white;
}

/* ===========================
   ACCOUNT SETUP PAGE STYLES
=========================== */

.accset-container {
    width: 85%;
    max-width: 360px;
    max-height: 90vh;

    background: linear-gradient(
      400deg,
      #358c74 0%,
      #48d9b0 20%,
      #1f6351 80%
    );

    padding: 28px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    color: white;
}

.accset-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #eafdf7;
}

.accset-subtitle {
    font-size: 15px;
    margin-bottom: 18px;
    color: #eafdf7;
    line-height: 1.45;
}

.accset-input {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 14px;
    background: white;
    font-size: 15px;
    outline: none;
    color: #1f6351;
    font-weight: 500;
}

.accset-btn {
    width: 100%;
    padding: 10px;
    background-color: #1f6351;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.25s ease-in-out;
}

.accset-btn:hover {
    opacity: 0.9;
}

.bottom-logo {
  width: 70px;
  height: 70px;
  margin-top: 10px; /* NEW */
}

.header-container {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2f6f62;
  color: white;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
}

.header-title {
  font-size: 35px;
  letter-spacing: 1px;
}


.navbar {
  width: 100%;
  height: 80px;
  background: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #ffffff;
  z-index: 999;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  color: #2f6f62;
  transition: transform 0.25s ease;
}


/* =========================================================
   FIXED — PERFECT NEON GLOW BEHIND NEARBY BUTTON
========================================================= */

/* Wrapper stays relative */
.nav-center {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -45px; /* lifts button above navbar line */
}

/* Solid green button circle */
.nav-center-bg {
  position: absolute;
  width: 72px;
  height: 72px;
  background: #2f6f62;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Logo icon stays crisp, centered, not animated */
.nav-center-icon {
  position: absolute;
  width: 68px;
  z-index: 5;
}

/* Nearby page layout shell */
.app-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Main area should sit between header and bottom nav */
.app-main {
  flex: 1;
  position: relative;
  padding-bottom: 96px; /* room for bottom nav + card */
}

@media (max-width: 768px) {
  .app-main {
    padding-bottom: 100px; /* room for navbar + card */
  }
}

/* Map fills the main area */
.nearby-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  margin-top: .1rem;
  margin-bottom: 1rem;
  border: none;
}

.nearby-info {
  position: absolute;
  min-height: 15px;
  width: 100%;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 999;
}

.nearby-info h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f6351;
}

/* Tooltip bubble */
.tooltip-bubble {
  position: absolute;
  bottom: 120px; /* positions above navbar button */
  left: 50%;
  transform: translateX(-50%);
  background: #2f6f62;
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  animation: fade-in 0.4s forwards;
}

/* Tooltip arrow */
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #2f6f62 transparent transparent transparent;
}

/* Fade animation */
@keyframes fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.gps-button {
  position: absolute;
  bottom: 170px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
}

.nearby-container {
  width: 100%;
  height: calc(100vh - 160px); /* header + navbar height */
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.range-popup {
    position: fixed;
    bottom: 120px; /* keeps it above nav bar */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 18px;
    width: 85%;
    border-radius: 16px;
    box-shadow: rgba(0,0,0,0.25) 0 8px 24px;
    z-index: 99999;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.range-option {
    background: #e8f5e9;
    padding: 12px;
    border-radius: 12px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 600;
}

.range-option:hover {
    background: #d0ecd6;
}

/* ===============================
   FREE PAGE MAP ONLY
=============================== */
.free-map-wrapper #map {
  height: 100%;
  min-height: 450px;
  width: 100%;
  border-radius: 12px;
  margin-top: 1rem;
}

.free-map-wrapper .gm-style .gm-style-iw-c {
  font-family: 'Montserrat', sans-serif;
}

.free-map-wrapper .selected-spot-display {
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}

.free-map-wrapper #reserveBtn {
  margin-top: 1rem;
  background-color: #2f6c5b;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.free-map-wrapper #reserveBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.free-map-wrapper #reserveBtn.active:hover {
  background-color: #3b806d;
}

.free-map-wrapper .details-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.75rem 0;
}

/* UNIVERSAL MAP WRAPPER BASE */
.venue-map-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #e8f3ef;
}

/* NRG Stadium */
.nrg-map-wrapper {
    height: 340px;
}

/* Shell Energy Stadium */
.shell-map-wrapper {
    height: 330px;
}

/* Daikin Center */
.daikin-map-wrapper {
    height: 350px;
}

/* CHILD MAP FILLS WRAPPER */
.venue-map-wrapper #map {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* ===========================
   MAP LEGEND
=========================== */
/* Centered Legend Below Info Bubble */
.legend-login-user {
  position: absolute;
  top: 47px;     /* directly under nearby-info */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  padding: 5px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  z-index: 999;
  width: 100%;
  justify-content: center; /* 🔑 this is the key */
}


.legend-login-user-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-login-user-icon {
  width: 18px;
  height: 18px;
}

/* ===========================
   VENUES
=========================== */


.venue-search {
  margin: .3rem;
  background: white;
  padding: 0.2rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.venue-search input {
  width: 100%;
  font-size: 18px;
  border: none;
  outline: none;
}

.venue-list {
  padding: 1rem;
  padding-bottom: 120px; /* ⬅️ same fix */
}

.venue-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
}

.venue-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.venue-info {
  padding: 1rem;
}

.venue-title {
  font-size: 22px;
  font-weight: 600;
}

.venue-address {
  font-size: 16px;
  color: #5d7c6f;
  margin-top: 4px;
}

.venue-meta {
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 600;
  color: #145c45;
}

/* ===============================
   NAV BAR — ICON STYLES (FINAL)
   Matches your existing nav structure
=============================== */


/* Icon images inside each nav item */
.nav-icon-img {
  width: 26px;        /* perfect mobile size */
  height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(17%) saturate(900%)
          hue-rotate(118deg) brightness(92%) contrast(92%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover effect (subtle upscale + brighten) */
.nav-item:hover .nav-icon-img {
  transform: scale(1.12);
  opacity: 1;
  filter: brightness(1.25);
}

/* ==========================================
   ACTIVE NAV ITEM — FIXED TO MATCH HTML
========================================== */

/* Active item wrapper */
.nav-item.active {
  color: #1f6351;                          /* deeper green */
  font-weight: 700;
}

/* Active icon (correct selector) */
.nav-item.active .nav-icon-img {
  transform: scale(1.38) translateY(-3px);
  filter: brightness(1.25) drop-shadow(0 0 6px rgba(47,108,91,0.45));
  opacity: 1;
  transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
}

/* Active label text */
.nav-item.active span {
  color: #1f6351;
  font-weight: 700;
}


/* ===========================
   VENUES DETAILS
=========================== */

.venue-details-header-back {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 999;
}

.venue-det-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-top: 8px;
  color: #1f4638;
}

.venue-hero-img {
  width: 90%;
  height: auto;
  border-radius: 16px;
  margin: 16px auto;
  display: block;
}

.venue-det-map {
  width: 90%;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  margin: 16px auto;
}

.venue-det-map > div {
  width: 100% !important;
  height: 100% !important;
}


.primary-btn {
  width: 90%;
  padding: 16px;
  background: #1f6a52;
  color: white;
  border-radius: 12px;
  font-size: 18px;
  margin: 20px auto;
  display: block;
}

.venue-back-btn {
  position: absolute;
  background: transparent;
  top: -23px;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.venue-back-btn:hover {
  opacity: 0.8;
}

.form-label {
  text-align: center;
  color: #1f6a52;
}

.selected-spot {
  text-align: center;
  color: #1f6a52;
}

#reserveAirBtn {
  background: #cfcfcf;
  color: #fff;
  cursor: not-allowed;
  padding-bottom: 20px;
}

#reserveAirBtn.enabled {
  background: #3f7f6b; /* OpenSpots green */
  cursor: pointer;
}

.date-input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.flatpickr-calendar {
  border-radius: 14px;
  font-family: inherit;
}

.flatpickr-confirm {
  background: #3f7f6b;
  color: white;
  border-radius: 10px;
}

.flatpickr-confirm svg {
  display: none !important;
}

/* Airport widget container */
.widget.airport-widget {
  width: 100%;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding-bottom: 100px; 
  padding-left: 15px;
  padding-right: 15px;
}

/* Desktop centering */
@media (min-width: 1024px) {
  .widget.airport-widget {
    max-width: 380px;      /* phone-sized card on desktop */
    margin: 40px auto;     /* centers horizontally */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fff;
    padding-bottom: 100px; 
    padding-left: 15px;
    padding-right: 15px;
  }
}
/* ===============================
   AIRPORT OPERATOR CARDS
   Scoped to airparkwidget
================================ */

.airparkwidget {
  padding: 5px;
}

/* Grid behavior */
.airparkwidget .venue-grid {
  display: grid;
  padding: 20px;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Card */
.airparkwidget .venue-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Operator image */
.airparkwidget .venue-card img {
  width: 100%;
  height: 160px;           /* KEY FIX */
  object-fit: cover;       /* KEY FIX */
  display: block;
}

/* Card content */
.airparkwidget .venue-info {
  padding: 14px 16px;
}

.airparkwidget .venue-info h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1f3d36;
}

.airparkwidget .venue-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #4f6f67;
}

/* Visit link */
.airparkwidget .venue-info a {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2e7d6b;
  text-decoration: none;
}

.airparkwidget .venue-info a:hover {
  text-decoration: underline;
}

/* SETTINGS PAGE */

.account-card {
  background: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: 16px;
  margin: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.account-card h2 {
  margin: 0;
  color: #2f6f5f;
  font-size: 20px;
}

.account-card p {
  margin: 4px 0;
  color: #4f6f66;
  font-size: 14px;
}

.settings-section {
  margin: 20px 16px;
}

.section-title {
  color: #2f6f5f;
  margin-bottom: 8px;
  font-size: 16px;
}

.settings-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  text-align: center;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  color: #2f6f5f;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid #eef3f1;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row:hover {
  background: #f4f8f7;
}

.arrow {
  font-size: 18px;
  opacity: 0.6;
}

.logout-wrapper {
  display: flex;
  justify-content: center;
  margin: 24px 0 80px;
}

.logout-btn {
  background: #4f8f7a;
  color: #ffffff;
  border: none;
  padding: 10px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 200px;
}

.logout-btn:hover {
  background: #3f7f6a;
}

/* SETTINGS PAGE WRAPPER */
.settings-container {
  padding: 16px;
  padding-bottom: 100px; /* space for navbar */
  box-sizing: border-box;
}

/* LOGOUT WRAPPER */
.logout-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* OPTIONAL: tighten mobile spacing */
@media (max-width: 480px) {
  .settings-container {
    padding-bottom: 70px;
  }
}

/* EDIT PROFILE */
.edit-profile-container {
  padding: 16px;
}

.edit-profile-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.edit-profile-title {
  margin: 16px 0 8px;
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.edit-profile-card label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: #333;
}

.edit-profile-card input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.edit-profile-card input:disabled {
  background: #f3f3f3;
  color: #777;
}

.save-profile-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #4f8f7a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  width: 200px;
  align-self: center;
}


/* Notifications Page */
.notifications-container {
  max-width: 520px;
  margin: 18px auto 0;
  padding: 0 14px 22px;
}

.notifications-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
}

.notifications-title {
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #2b5a4b;
}

.notifications-subtitle {
  margin: 8px 0 18px;
  text-align: center;
  color: rgba(0,0,0,0.55);
  font-size: 14px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.toggle-row:first-of-type {
  border-top: none;
}

.toggle-text {
  flex: 1;
  min-width: 0;
}

.toggle-label {
  font-weight: 700;
  color: rgba(0,0,0,0.78);
  font-size: 15px;
}

.toggle-desc {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

/* iOS-like Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(0,0,0,0.16);
  border-radius: 999px;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.switch input:checked + .slider {
  background: rgba(46, 122, 101, 0.9);
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}

.save-status {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  color: rgba(0,0,0,0.6);
  min-height: 18px;
}

.payment-options-container {
  padding: 100px 16px 32px;
  display: flex;
  justify-content: center;
}

.payment-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.payment-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.payment-subtitle {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 20px;
}

.payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: #f6f8f7;
  margin-bottom: 16px;
}

.payment-method-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.card-icon {
  font-size: 22px;
}

.card-label {
  font-weight: 600;
  font-size: 15px;
}

.card-desc {
  font-size: 13px;
  color: #6b6b6b;
}

.card-status {
  font-size: 13px;
  color: #999;
}

.primary-gen-btn {
  width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  background: #2f6f62;
  color: #ffffff;
  cursor: pointer;
  text-align: center;
  text-decoration: none; /* KEY for <a> */
}

.primary-gen-btn:hover {
  opacity: 0.95;
}


.payment-note {
  font-size: 12px;
  color: #7a7a7a;
  text-align: center;
  margin-top: 14px;
}

.settings-gen-container {
  padding: 24px 20px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .settings-gen-container {
    padding-bottom: 70px;
  }
}

.socials-grid {
  display: grid;
  grid-template-columns: 1fr; /* 👈 one per row */
  gap: 14px;
  margin-top: 20px;
  padding-bottom: 20px;
  justify-items: center;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px ;
  border-radius: 14px;
  background: #2f6f62;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  width: 200px;
}

.social-card img {
  width: 36px;
  height: 36px;
}

.social-card:hover {
  background: #eef3f1;
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-bottom: 30px;
}

.settings-visual {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 16px;
  display: block;
  padding-top: 20px;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field .toggle-password {
  position: absolute;
  right: 16px;
  top: 45%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

/* ===== Desktop-centered app layout ===== */

.page-container {
  width: 100%;
  max-width: 700px;   /* desktop column width */
  margin: 0 auto;     /* center horizontally */
  padding: 0 10px;    /* breathing room on small screens */
}

/* Slightly wider for large desktop displays */
@media (min-width: 1400px) {
  .page-container {
    max-width: 700px;
  }
}

.auth-modal.hidden { display: none; }
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.auth-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 360px;
  text-align: center;
}

/* ===============================
   INLINE CALENDAR (VENUE DETAILS)
=============================== */

.calendar {
  width: 100%;
  margin-top: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header span {
  font-weight: 700;
  font-size: 16px;
  color: #1f6351;
}

.calendar-header button {
  background: #1f6351;
  color: white;
  border: none;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  margin: 10px;
}

/* Weekdays */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b8f83;
  margin-bottom: 6px;
}

/* Days grid */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

/* Day cell */
.calendar-day {
  height: 44px;
  border-radius: 10px;
  background: #eaf4f1;
  color: #1f6351;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day:hover {
  background: #cce6de;
}

/* Selected states */
.calendar-day.selected {
  background: #1f6351;
  color: white;
}

.calendar-day.in-range {
  background: #48d9b0;
  color: #083d2b;
}

/* Disabled */
.calendar-day.disabled {
  background: #f0f0f0;
  color: #aaa;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .calendar {
    padding: 10px;
    border-radius: 14px;
  }

  .calendar-header span {
    font-size: 15px;
  }

  .calendar-header button {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .calendar-weekdays {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .calendar-days {
    gap: 6px;
  }

  .calendar-day {
    height: 40px;
    font-size: 14px;
    border-radius: 8px;
  }
}

#prevMonth,
#nextMonth {
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  line-height: 1;           /* kill font baseline offset */
  padding-bottom: 2px;      /* optional micro-nudge */
  padding-top: 1px;
}

#prevMonth.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

