:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --gold: #FFD040;
  --white: #ffffff;
  --text-dark: #334155;
  --text-light: #64748b;
  /* Slightly darker for better contrast */
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  /* Softer shadow */
  --shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --container: 1100px;
  /* Slightly narrower for better reading measure */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --hero-overlay-start: rgba(15, 23, 42, 0.70);
  --hero-overlay-end: rgba(15, 23, 42, 0.85);
  --hero-bg-image: url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?q=80&w=2200&auto=format&fit=crop');
  --hero-bg-image-next: url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?q=80&w=2200&auto=format&fit=crop');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  background-image:
    radial-gradient(at 0% 0%, rgba(255, 208, 64, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 23, 42, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 208, 64, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 90px 0;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, #ffc107 100%);
  color: #0f172a;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 208, 64, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(255, 208, 64, 0.5);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0px) scale(0.98);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.15);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 208, 64, .16);
  color: #8a6700;
  font-weight: 800;
  font-size: 12px;
}

.heading-group {
  margin-bottom: 46px;
  text-align: center;
}

.heading-group h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.heading-group p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.heading-group span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-weight: 650;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 84px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: none;
  will-change: opacity, transform;
}

.hero::before {
  background-image: linear-gradient(var(--hero-overlay-start), var(--hero-overlay-end)), var(--hero-bg-image);
  opacity: 1;
  transform: translateX(0);
}

.hero::after {
  background-image: linear-gradient(var(--hero-overlay-start), var(--hero-overlay-end)), var(--hero-bg-image-next, var(--hero-bg-image));
  opacity: 0;
  transform: translateX(0);
}

.hero.hero-bg-animating::before,
.hero.hero-bg-animating::after {
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero.hero-bg-fade::before {
  opacity: 0;
}

.hero.hero-bg-fade::after {
  opacity: 1;
}

.hero.hero-bg-slide::before {
  transform: translateX(0);
  opacity: 1;
}

.hero.hero-bg-slide::after {
  transform: translateX(var(--hero-slide-offset, 100%));
  opacity: 0;
}

.hero.hero-bg-slide.hero-bg-slide-active::before {
  transform: translateX(calc(var(--hero-slide-offset, 100%) * -1));
  opacity: 0;
}

.hero.hero-bg-slide.hero-bg-slide-active::after {
  transform: translateX(0);
  opacity: 1;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  /* Reduced gap to allow more space */
  align-items: center;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.1;
  color: #fff;
  font-weight: 950;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

/* Light Mode: Main text is dark */
.theme-light .hero-text h1 {
  color: var(--primary);
}

/* Christmas Mode: Keep white */

.hero-text .hero-main {
  color: inherit;
  white-space: nowrap;
  /* Force "Experience Paris in" to one line */
}

.hero-text .hero-highlight {
  color: var(--gold);
  white-space: nowrap;
  /* Force "Ultimate Luxury" to one line */
}

.hero-text p {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  margin-bottom: 24px;
}

.booking-widget {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Running Border Effect for Hero Widget */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.booking-widget--hero {
  position: relative;
  z-index: 10;
  /* Use pseudo-elements for bg and border to control layering */
  background: transparent !important;
  /* Ensure radius is applied to pseudos */
  border-radius: var(--radius);
}

/* The Border (Bottom Layer) */
.booking-widget--hero::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--angle), transparent 70%, var(--gold) 92%, #fff 100%);
  border-radius: calc(var(--radius) + 2px);
  z-index: -2;
  pointer-events: none;
  filter: drop-shadow(0 0 10px var(--gold));
  animation: rotateBorder 3s linear infinite;
}

/* The Background (Middle Layer) - Covers the center of the border */
.booking-widget--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius);
  z-index: -1;
  pointer-events: none;
}

/* .booking-widget--hero::after removed (No Glow) */

@keyframes rotateBorder {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.tab-box {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.b-tab {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  color: var(--text-light);
  background: transparent;
  border: none;
}

.b-tab.active {
  background: var(--primary);
  color: #fff;
}

.input-group {
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  gap: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.input-wrapper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 208, 64, 0.15);
}

.input-wrapper span {
  color: var(--text-light);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-weight: 700;
  color: var(--primary);
  font-family: inherit;
}

.input-wrapper textarea {
  min-height: 90px;
  resize: vertical;
}

.notice {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease-out backwards;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 208, 64, .85);
}

.card-body {
  padding: 22px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-title h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
}

.muted {
  color: var(--text-light);
  font-size: 14px;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 18px;
  font-size: 14px;
  color: var(--text-light);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 700;
}

#fleet {
  background: var(--bg-light);
}

.fleet-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.car-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background: #e2e8f0;
}

.price-tag {
  font-weight: 950;
  font-size: 18px;
  color: var(--primary);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 36px 26px;
  text-align: center;
}

.s-icon {
  width: 58px;
  height: 58px;
  background: rgba(255, 208, 64, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #b78900;
}

.s-icon span {
  font-size: 30px;
}

#pricing {
  background: var(--primary);
  color: #fff;
}

#pricing .heading-group h2 {
  color: #fff;
}

#pricing .heading-group p {
  color: rgba(255, 255, 255, 0.70);
}

/* What is Included Section */
.included-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.included-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.included-item .material-icons-round {
  color: #4ade80;
  /* Soft Green */
  font-size: 20px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-table th {
  background: rgba(255, 255, 255, 0.10);
  font-weight: 950;
  color: var(--gold);
}

.price-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.price-highlight {
  font-weight: 950;
  color: var(--gold);
}

.review-card {
  background: #f8fafc;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stars {
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ddd;
  object-fit: cover;
}

footer {
  background: var(--primary);
  color: #fff;
  padding: 70px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 46px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 900;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 2000;
}

.modal {
  width: min(640px, 95vw);
  max-height: 90vh;
  /* Viewport constraint */
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, .9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.modal-wide {
  width: min(900px, 95vw);
}

.modal-header {
  padding: 16px 18px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  /* Prevent header shrinking */
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 950;
  color: var(--primary);
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
  /* Enable internal scrolling */
  overscroll-behavior: contain;
}

.modal-actions {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-shrink: 0;
  /* Prevent footer shrinking */
  background: #fff;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.icon-btn:hover {
  color: var(--primary);
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, .96);
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  display: none;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  z-index: 2200;
  max-width: calc(100% - 24px);
}

.toast strong {
  font-weight: 900;
}

@media (max-width: 600px) {
  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
    transform: none;
    border-radius: 14px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kv .pill {
  justify-content: space-between;
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 18px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .price-table {
    display: block;
    overflow-x: auto;
  }

  .kv {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 36px !important;
    line-height: 1.2;
  }

  .booking-widget {
    padding: 24px 20px !important;
  }
}


/* --- Home hero (screenshot style) --- */
.hero {
  min-height: 100vh;
}

.hero-content {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.hero-text {
  text-align: left;
  max-width: 560px;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 1.02;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-btn-outline {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, .55) !important;
  color: #fff !important;
}

.hero-btn-outline:hover {
  border-color: rgba(255, 255, 255, .9) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.booking-widget--hero {
  width: min(560px, 100%);
  margin-left: auto;
  padding: 34px;
  border-radius: 20px;
  box-shadow: 0 22px 70px -28px rgba(0, 0, 0, .45);
}

.booking-widget--hero .tab-box {
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.booking-widget--hero .b-tab {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.dt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-cta {
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
  font-size: 16px;
}

/* Responsive tweaks */
@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .dt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .dt-grid {
    grid-template-columns: 1fr;
  }

  .hero-text .hero-main,
  .hero-text .hero-highlight {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tab-box {
    flex-wrap: wrap;
    justify-content: center;
  }

  .b-tab {
    flex: 1 1 120px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 48px;
  }
}


/* --- Fleet vehicle details modal (gallery) --- */
.modal.modal-wide {
  width: min(980px, 100%);
}

.vehicle-modal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(226, 232, 240, .85);
}

.gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  pointer-events: none;
}

.gallery-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(15, 23, 42, .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gallery-nav button:hover {
  background: rgba(15, 23, 42, .72);
}

.gallery-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 86px;
  height: 64px;
  flex: 0 0 auto;
  cursor: pointer;
  background: #f1f5f9;
  opacity: .85;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.vehicle-meta .title {
  font-size: 22px;
  font-weight: 950;
  color: var(--primary);
}

.vehicle-meta .sub {
  color: var(--text-light);
  margin-top: 4px;
}

.vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.vehicle-section {
  margin-top: 14px;
}

.vehicle-section h4 {
  font-size: 14px;
  font-weight: 950;
  color: var(--primary);
  margin-bottom: 8px;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dark);
}

.bullets li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .vehicle-modal {
    grid-template-columns: 1fr;
  }

  .gallery-main img {
    height: 280px;
  }
}


/* --- Booking: selected vehicle in price summary --- */
.vehicle-summary {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-light);
}

.vehicle-summary__img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
  flex: 0 0 auto;
}

.vehicle-summary__name {
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.vehicle-summary__sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}

.vehicle-summary__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pill-lite {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
}

.freebie-section {
  margin-top: 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.freebie-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.freebie-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px 24px;
  margin-top: 12px;
}

.freebie-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.freebie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dcfce7;
  color: #4ade80;
  /* Soft Green */
  font-size: 18px;
}

.freebie-text {
  line-height: 1.2;
}


/* --- Booking: highlight total price --- */
.pill-total {
  border-color: rgba(255, 208, 64, 0.55);
  background: rgba(255, 208, 64, 0.14);
}

.pill-total .total-amt {
  font-size: 20px;
  font-weight: 950;
  color: var(--primary);
  letter-spacing: .2px;
}


/* --- Booking: sticky price summary --- */
.booking-summary {
  position: sticky;
  top: 110px;
  /* below fixed navbar */
  align-self: start;
}

@media (max-width: 968px) {
  .booking-summary {
    position: static;
  }
}


/* --- Consistent input highlight (focus + filled) --- */
.input-wrapper {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.input-wrapper:focus-within {
  border-color: rgba(255, 208, 64, .95);
  box-shadow: 0 0 0 4px rgba(255, 208, 64, .20);
  background: #fff;
}

.input-wrapper.is-filled {
  border-color: rgba(255, 208, 64, .55);
  background: rgba(255, 208, 64, .12);
}

.input-wrapper.is-filled span {
  color: rgba(15, 23, 42, .65);
}


/* --- Make browser autofill look consistent --- */
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--primary);
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px rgba(255, 208, 64, .12) inset;
  border-radius: 10px;
}


/* --- Keep filled background when focused + consistent text selection --- */
.input-wrapper.is-filled:focus-within {
  background: rgba(255, 208, 64, .16);
  /* keep the filled tint */
  border-color: rgba(255, 208, 64, .95);
  box-shadow: 0 0 0 4px rgba(255, 208, 64, .22);
}

/* Selected text color inside inputs */
.input-wrapper input::selection,
.input-wrapper textarea::selection {
  background: rgba(255, 208, 64, .35);
  color: var(--primary);
}

.input-wrapper input::-moz-selection,
.input-wrapper textarea::-moz-selection {
  background: rgba(255, 208, 64, .35);
  color: var(--primary);
}

/* --- Home: hourly duration custom hours --- */
.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .duration-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Home: stable layout between transfer/hourly (no shaking) --- */
.switch-stack {
  position: relative;
  min-height: 98px;
  /* one row of inputs */
  margin-bottom: 14px;
}

.switch-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transition: opacity .18s ease, transform .18s ease;
}

/* remove default spacing so stack height stays constant */
.switch-panel.input-group,
.switch-panel.duration-grid {
  margin-bottom: 0;
}

.switch-panel.is-hidden {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.switch-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Keep duration grid aligned in the same slot */
.duration-grid {
  margin-top: 0;
}

/* Custom hours keeps its place (no reflow) */
.is-ghost {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}


/* =========================================================
   Smooth micro-animations (subtle, premium)
   ========================================================= */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slightly softer motion for hero */
.hero .hero-text.reveal {
  transform: translateY(10px);
  transition-duration: .7s;
}

/* Button micro feedback */
.btn {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn.is-pressed {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.98);
}

/* Soft pulse for booking widget on tab switch */
.soft-pulse {
  animation: softPulse .28s ease-out;
}

@keyframes softPulse {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Smooth nav link underline (subtle) */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
  border-radius: 999px;
  opacity: .9;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .soft-pulse {
    animation: none !important;
  }

  .btn {
    transition: none !important;
  }
}


/* Autocomplete menu */
.ac-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 50;
  display: none;
}

.ac-menu.open-up {
  top: auto;
  bottom: calc(100% + 8px);
}

.ac-menu.open {
  display: block;
}

.ac-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-light);
}

.ac-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
}

.ac-item:last-child {
  border-bottom: 0;
}

.ac-item:hover,
.ac-item.active {
  background: var(--bg-light);
}

.ac-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  line-height: 1.2;
}

.ac-provider {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Provider debug badge & panel */
.provider-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.provider-badge strong {
  font-weight: 800;
}

.provider-badge__lock {
  font-weight: 700;
  opacity: 0.7;
}

.provider-panel {
  position: fixed;
  right: 18px;
  bottom: 64px;
  z-index: 1200;
  width: 260px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  display: none;
}

.provider-panel.open {
  display: block;
}

.provider-panel__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #0f172a;
}

.provider-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.04);
  cursor: pointer;
  font-size: 18px;
  line-height: 0;
}

.provider-panel__row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.provider-panel__row label {
  color: #334155;
  font-weight: 700;
}

.provider-panel__row select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

.provider-panel__hint {
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}


/* Provider debug badge (debug=1) */
.prov-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.prov-panel {
  position: fixed;
  right: 18px;
  bottom: 66px;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 999;
  display: none;
  overflow: hidden;
}

.prov-panel.open {
  display: block;
}

.prov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
}

.prov-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: var(--text-light);
}

.prov-body {
  padding: 14px;
}

.prov-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.prov-label {
  width: 82px;
  font-weight: 800;
  font-size: 12px;
  color: var(--text-dark);
}

.prov-select {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px;
  background: var(--bg-light);
  font-weight: 700;
  color: var(--primary);
  outline: none;
}

.prov-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

.prov-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* --- Select Vehicle page (Blacklane-style) --- */
.sv-header {
  padding-top: 92px;
  padding-bottom: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0));
}

.sv-stepper {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  user-select: none;
}

.sv-step {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-light);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2px;
}

.sv-step .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
}

.sv-step.active {
  color: var(--primary);
}

.sv-step.active .dot {
  background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 208, 64, 0.2);
}

.sv-route {
  max-width: 920px;
  margin: 0 auto;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.25);
}

.sv-route-title {
  font-weight: 900;
  color: var(--primary);
  font-size: 14px;
}

.sv-route-sub {
  margin-top: 4px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 12px;
}

.sv-main {
  padding: 22px 0 80px;
}

.sv-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.sv-grid.simple {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .sv-grid {
    grid-template-columns: 1fr;
  }
}

.card.sv-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* rounded corners inherit from .card */
}

/* Ensure selected state is still distinct but modern */
.sv-card.selected {
  background: rgba(255, 208, 64, 0.08);
  /* Gold tint */
  border-color: rgba(255, 208, 64, 0.8);
  box-shadow: 0 12px 30px -8px rgba(255, 208, 64, 0.4);
}

.sv-card-title {
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}

.sv-kv {
  display: grid;
  gap: 10px;
}

.sv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  padding-bottom: 10px;
}

.sv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sv-row span {
  color: var(--text-light);
  font-weight: 800;
  font-size: 12px;
}

.sv-row strong {
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  text-align: right;
}

.sv-hint {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 208, 64, 0.45);
  background: rgba(255, 208, 64, 0.15);
  border-radius: 14px;
  color: #7a5a00;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.35;
}

.sv-bullets {
  display: grid;
  gap: 10px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.sv-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 13px;
}

.sv-bullets .material-icons-round {
  font-size: 18px;
  color: #16a34a;
  margin-top: 1px;
}

.sv-title h1 {
  font-size: 30px;
  font-weight: 950;
  color: var(--primary);
  line-height: 1.2;
}

.sv-title p {
  margin-top: 8px;
  color: var(--text-light);
  font-weight: 700;
}

.sv-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.sv-skeleton {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.02);
  color: var(--text-light);
  font-weight: 800;
}

.sv-vehicle {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
}

.sv-vehicle:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -30px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 208, 64, 0.8);
}

.sv-vehicle.active {
  border-color: rgba(255, 208, 64, 1);
  box-shadow: 0 22px 55px -34px rgba(0, 0, 0, 0.38);
}

.sv-vehicle-main {
  display: flex;
  gap: 14px;
  padding: 14px;
}

.sv-vehicle-img {
  width: 112px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-light);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.sv-vehicle-mid {
  flex: 1;
  min-width: 0;
}

.sv-vehicle-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sv-vehicle-name {
  font-weight: 950;
  color: var(--primary);
  font-size: 15px;
}

.sv-vehicle-sub {
  color: var(--text-light);
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
}

.sv-vehicle-price {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv-vehicle-price .price {
  font-weight: 950;
  color: var(--primary);
  font-size: 18px;
  white-space: nowrap;
}

.sv-expand {
  border: 1px solid var(--border);
  background: var(--bg-light);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sv-expand .material-icons-round {
  color: var(--text-light);
}

.sv-caps {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.sv-caps .cap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-weight: 900;
  color: var(--text-dark);
  font-size: 12px;
}

.sv-caps .material-icons-round {
  font-size: 16px;
  color: var(--text-light);
}

.sv-features {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 12px;
}

.sv-err {
  margin-top: 10px;
  color: #b91c1c;
  font-weight: 900;
  font-size: 12px;
}

.sv-selected {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 208, 64, 0.18);
  border: 1px solid rgba(255, 208, 64, 0.55);
  color: #7a5a00;
  font-weight: 950;
  font-size: 12px;
}

.sv-selected .material-icons-round {
  font-size: 16px;
}

.sv-more {
  display: none;
  padding: 0 14px 14px;
}

.sv-vehicle.expanded .sv-more {
  display: block;
}

.sv-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 14px;
}

@media (max-width: 620px) {
  .sv-more-grid {
    grid-template-columns: 1fr;
  }

  .sv-vehicle-main {
    flex-direction: column;
  }

  .sv-vehicle-img {
    width: 100%;
    height: 160px;
  }
}

.sv-more-title {
  font-weight: 950;
  color: var(--primary);
  font-size: 12px;
  margin-bottom: 10px;
}

.sv-mini {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sv-mini li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 12px;
}

.sv-mini .material-icons-round {
  font-size: 16px;
  color: #16a34a;
  margin-top: 1px;
}

.sv-about {
  color: var(--text-light);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
}

.sv-policy {
  margin-top: 10px;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 12px;
}

.sv-footer-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 18px;
}

.sv-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sv-continue {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sv-continue:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.sv-terms {
  margin-top: 14px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 12px;
}

.sv-terms a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
}

.sticky {
  position: sticky;
  top: 110px;
}


/* Select Vehicle (simple cards) */

/* Select Vehicle (simple cards) */
.sv-card {
  /* Reset display to block so it acts as a container */
  display: block;
  grid-template-columns: none;
  gap: 0;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  padding: 0;
  /* Override any padding */
}

.sv-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 208, 64, 0.9);
  box-shadow: 0 16px 40px -26px rgba(0, 0, 0, 0.35);
}

.sv-card.selected {
  border-color: var(--gold);
  box-shadow: 0 18px 48px -28px rgba(255, 208, 64, 0.35);
}

.sv-img {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.sv-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sv-name {
  font-weight: 900;
  color: var(--primary);
  font-size: 16px;
}

.sv-sub {
  color: var(--text-light);
  font-weight: 700;
  font-size: 12px;
}

.sv-price {
  text-align: right;
}

.sv-price-val {
  font-weight: 900;
  color: var(--primary);
  font-size: 18px;
}

.sv-actions {
  display: flex;
  justify-content: flex-end;
}

.sv-select-btn {
  padding: 10px 16px;
  font-size: 13px;
}

@media (max-width: 768px) {

  /* Adjustments for mobile are handled in sv-card-main now */
  .sv-img {
    height: 160px;
  }

  .sv-price {
    text-align: left;
  }

  .sv-actions {
    justify-content: flex-start;
  }
}

/* --- UI Refinement: Vehicle Expand & Sticky Footer --- */
.sv-card-main {
  /* Migrate grid layout here */
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px;
}

.sv-details {
  padding: 0 14px 14px 14px;
  animation: fadeIn 0.3s ease;
}

.sv-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 12px;
}

.sv-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.sv-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 700;
}

.sv-feat .material-icons-round {
  font-size: 16px;
  color: var(--gold);
}

.sv-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.sv-expand-toggle {
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.sv-expand-toggle:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.wizard-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
}

/* Add padding to body or main to prevent footer overlap */
.sv-main {
  padding-bottom: 100px;
}

.sv-card {
  padding: 0;
}

@media (max-width: 600px) {
  .sv-card-main {
    flex-direction: column;
  }

  .sv-img {
    width: 100%;
    height: 140px;
  }
}

/* --- Modern Confirmation Page --- */
.success-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 80px 20px 40px;
}

.success-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.success-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
  font-size: 40px;
  color: #10b981;
}

.success-title {
  font-size: 28px;
  font-weight: 950;
  color: var(--primary);
  margin-bottom: 12px;
}

.success-sub {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.success-ref {
  background: var(--bg-light);
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  margin-bottom: 32px;
}

.ref-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.ref-code {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
}

.success-actions {
  display: grid;
  gap: 12px;
}

.btn-home {
  width: 100%;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
}

.btn-manage {
  width: 100%;
  justify-content: center;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--primary);
}

.success-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.8;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  80% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* --- Enhanced Selection Visibility --- */
.sv-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 20px 50px -20px rgba(255, 208, 64, 0.3);
  background: rgba(255, 208, 64, 0.03);
  transform: translateY(-2px);
  z-index: 10;
}

.sv-card.selected .sv-name {
  color: #bfa100;
  /* Darker gold/primary mix */
}

/* Add a checkmark badge to selected cards */
.sv-card.selected::before {
  content: "check_circle";
  font-family: 'Material Icons Round';
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(255, 208, 64, 0.4);
  z-index: 20;
  animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* Ensure padding for badge */
.sv-card {
  overflow: visible;
}

/* --- Modern Route Summary Header --- */
.sv-route {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  border-radius: 16px;
}

.route-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-locs {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.route-pt {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 40%;
}

.route-pt .icon {
  font-size: 18px;
  color: var(--primary);
}

.route-pt .icon.start {
  color: #10b981;
}

.route-pt .icon.end {
  color: #f43f5e;
}

.route-pt .text {
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-modern .arrow {
  color: var(--text-light);
  font-size: 18px;
  opacity: 0.5;
}

.route-meta {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

.route-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.04);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.route-badge .material-icons-round {
  font-size: 14px;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .route-locs {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .route-pt {
    max-width: 100%;
  }

  .route-modern .arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 4px 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  70% {
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Add global entry animation to main */
main,
section {
  animation: fadeIn 0.5s ease-out;
}

/* --- Light Mode --- */
body.theme-light {
  /* Keep primary DARK for text/buttons to be visible */
  --primary: #0f172a;
  --text-dark: #1e293b;
  --text-light: #475569;

  /* Swap backgrounds to light */
  --bg-light: #ffffff;
  --border: #e2e8f0;

  --gold-dark: #b45309;
  /* Darker amber for better contrast on white */
  background-image: none;
  background-color: #f1f5f9;
  /* Slate-50 for page bg */
}

/* Force light backgrounds on containers that use primary */
body.theme-light #pricing,
body.theme-light footer,
body.theme-light .navbar {
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0;
}

body.theme-light footer {
  border-top: 1px solid #e2e8f0;
}

/* Fix links in formerly dark areas */
body.theme-light .nav-links a,
body.theme-light .footer-col ul li a,
body.theme-light #pricing .heading-group p {
  color: #475569 !important;
}

body.theme-light .nav-links a:hover,
body.theme-light .footer-col ul li a:hover {
  color: #b45309 !important;
  /* Amber-700 */
}

/* Fix explicit white text in footer (Contact, Description) */
body.theme-light .footer-col p,
body.theme-light .footer-col ul {
  color: #475569 !important;
}

body.theme-light .copyright {
  color: #94a3b8 !important;
  border-top-color: #e2e8f0 !important;
}

body.theme-light .logo {
  color: #0f172a !important;
}

/* Fix cards */
body.theme-light .card,
body.theme-light .step-card,
body.theme-light .booking-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  /* Premium soft shadow */
}

/* Input Styles for Light Mode */
body.theme-light .input-wrapper {
  background: #f8fafc;
  /* Slate-50 */
  border-color: #cbd5e1;
}

body.theme-light .input-wrapper:focus-within {
  background: #fff;
  border-color: #b45309;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

body.theme-light .input-wrapper input::placeholder,
body.theme-light .input-wrapper select::placeholder,
body.theme-light .input-wrapper textarea::placeholder {
  color: #94a3b8;
}

/* Fix Pricing Table */
body.theme-light .price-table {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  /* Darker border */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  /* Visible shadow */
}

body.theme-light .price-table th {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.theme-light .price-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #334155 !important;
}

/* Fix Hero Text */
body.theme-light .hero-text h1 {
  color: #0f172a;
}

body.theme-light .hero-text p {
  color: #475569;
}

/* Force Card Text Colors in Light Mode */
body.theme-light .card-title h3,
body.theme-light .card .specs,
body.theme-light .card .muted {
  color: #0f172a !important;
}

body.theme-light .card .specs .spec-item,
body.theme-light .card .pill {
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

body.theme-light .price-tag {
  color: #0f172a !important;
}

/* Fix Hero Overlay to be light */
body.theme-light {
  --hero-overlay-start: rgba(241, 245, 249, 0.9);
  --hero-overlay-end: rgba(241, 245, 249, 0.8);
}

/* Fix Outline Buttons */
body.theme-light .hero-btn-outline,
body.theme-light .btn-outline {
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.theme-light .hero-btn-outline:hover,
body.theme-light .btn-outline:hover {
  border-color: #0f172a !important;
  background: transparent !important;
}


/* --- Christmas Theme --- */
body.theme-christmas {
  --primary: #166534;
  /* Green */
  --gold: #dc2626;
  /* Red */
  --bg-light: #f0fdf4;
}

body.theme-christmas .navbar {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.theme-christmas .btn {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

body.theme-christmas .btn:hover {
  box-shadow: 0 12px 24px -6px rgba(220, 38, 38, 0.5);
}

body.theme-christmas .badge {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

body.theme-christmas {
  --hero-overlay-start: rgba(22, 101, 52, 0.85);
  --hero-overlay-end: rgba(22, 101, 52, 0.7);
  --hero-bg-image: url('https://images.unsplash.com/photo-1543589077-47d81606c1bf?q=80&w=2200&auto=format&fit=crop');
}

body.theme-christmas .s-icon {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

body.theme-christmas #pricing {
  background: #064e3b;
  /* Darker green */
}

body.theme-christmas .price-table th {
  color: #fca5a5;
  /* Light red */
}

body.theme-christmas .price-highlight {
  color: #fca5a5;
}

body.theme-christmas footer {
  background: #14532d;
}


/* Santa Hat on Logo */
.christmas-effects .logo {
  position: relative;
}

.christmas-effects .logo::after {
  content: '🎅';
  position: absolute;
  top: -15px;
  left: -10px;
  font-size: 24px;
  transform: rotate(-10deg);
}

/* --- Dark Mode Overrides --- */
body.theme-dark {
  --primary: #f2f2f2;
  --primary-light: #e2e8f0;
  --text-dark: #cbd5e1;
  --text-light: #94a3b8;
  --bg-light: #0f172a;
  --border: #1e293b;
  --gold: #fbbf24;
  --white: #1e293b;
  /* Used for card backgrounds, needs to be dark */

  background-color: var(--bg-light);
  background-image:
    radial-gradient(at 0% 0%, rgba(251, 191, 36, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.03) 0px, transparent 50%);
}

body.theme-dark .booking-widget,
body.theme-dark .card,
body.theme-dark .box,
body.theme-dark .modal,
body.theme-dark .input-wrapper {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

body.theme-dark .input-wrapper input,
body.theme-dark .input-wrapper select,
body.theme-dark .input-wrapper textarea {
  color: #fff;
}

body.theme-dark .b-tab {
  color: #94a3b8;
}

body.theme-dark .b-tab.active {
  color: #0f172a;
  /* Black text on Gold/Light button? Primary is White now. */
  background: var(--gold);
}

body.theme-dark .price-table th {
  background: rgba(0, 0, 0, 0.2);
}

body.theme-dark .price-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-dark .navbar {
  background: rgba(15, 23, 42, 0.85);
  /* Keep dark */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dashboard Controls (Date Filter) */
.dashboard-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.control-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-item label {
  font-weight: 700;
  color: var(--text-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 99px;
  /* Pill shape */
  gap: 8px;
  transition: all 0.2s;
}

.date-input-wrapper:focus-within {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 208, 64, 0.15);
}

.date-input-wrapper span {
  color: var(--text-light);
  font-size: 18px;
}

.date-input-wrapper input[type="date"] {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1fe05a;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
  margin-top: 2px;
  /* Visual adjustment */
}

/* Setting Card Group */
.setting-group-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Ensure dark mode support */
body.theme-dark .setting-group-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* --- Mobile UI Fixes --- */

/* 1. Fix Route Info Bubbles - Force 2x2 Grid */
.route-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px;
}

@media (max-width: 600px) {
  .route-meta {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    /* Force 2 equal columns = 2 lines for 4 items */
    gap: 8px;
    width: 100%;
  }
}

/* 2. Responsive Booking Grid (Step 3) */
.booking-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile Default: Stacked */
  gap: 32px;
  position: relative;
}

@media (min-width: 900px) {
  .booking-layout-grid {
    grid-template-columns: 1.2fr 0.8fr;
    /* Desktop: Side-by-Side */
    gap: 40px;
  }
}

/* Improve Summary Card on Mobile */
@media (max-width: 900px) {

  /* When stacked, disable sticky behavior so it doesn't float over form */
  .booking-layout-grid>div:last-child {
    position: static !important;
    margin-top: 0;
    /* Remove top margin since it's now first */
    margin-bottom: 20px;
    /* Add bottom margin instead */
    width: 100%;
    order: -1;
    /* Move to top */
  }

  /* Optimize Route Badges for Mobile */
  .route-badge {
    padding: 5px 10px;
    font-size: 11px;
    flex-grow: 1;
    /* Allow them to fill width a bit */
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .booking-contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* intl-tel-input integration */
.iti {
  width: 100%;
}

/* Override input wrapper padding for phone to make room for flag */
#detailsForm .input-wrapper:has(#phone) {
  padding-left: 0;
}

/* Because we have a material icon "phone" in the wrapper, we need to hide it or move it since iti adds its own flag dropdown */
#detailsForm .input-wrapper:has(#phone) .material-icons-round {
  display: none;
}

#phone {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 100%;
}

/* Fix z-index for country list */
.iti__country-list {
  z-index: 100;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}


/* --- Vehicle Modal Responsive Layout --- */
.vehicle-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: 100%;
  /* Ensure it fills the modal-body */
}

.gallery-main {
  width: 100%;
}

.gallery-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  max-height: 400px;
  /* Prevent massive images */
}

.vehicle-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vehicle-section h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Layout for Vehicle Modal */
@media (max-width: 768px) {
  .vehicle-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-main img {
    max-height: 250px;
    /* Smaller image on mobile */
  }

  .vehicle-meta {
    padding-bottom: 20px;
    /* Extra space at bottom */
  }
}

/* --- Fleet Gallery Scroll Fix --- */
.gallery-wrapper {
  min-width: 0;
  /* CRITICAL: Prevents grid item from expanding beyond column width */
  width: 100%;
}

.gallery-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  /* Force single row */
  overflow-x: auto !important;
  /* Enable horizontal scrolling */
  gap: 10px;
  padding-bottom: 8px;
  /* Space for scrollbar */
  margin-top: 10px;
  scrollbar-width: thin;
  /* Firefox */
  width: 100%;
  max-width: 100%;
  /* Ensure it respects parent width */
  box-sizing: border-box;
}

.thumb {
  flex-shrink: 0;
  /* Prevent shrinking */
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

/* Custom scrollbar for webkit */
.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ... existing code ... */

/* RESPONSIVE MOBILE STYLES */
@media screen and (max-width: 768px) {

  /* Layout Reset */
  body {
    flex-direction: column;
  }

  /* Sidebar - Mobile Drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  /* Main Content Adjustments */
  .main-content {
    margin-left: 0;
    padding: 20px;
    width: 100%;
    margin-top: 60px;
    /* Space for mobile header */
  }

  /* Mobile Header Bar */
  .header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 16px 20px;
    z-index: 900;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    justify-content: space-between;
  }

  .header-bar h1 {
    font-size: 18px;
    margin: 0;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Fleet Grid */
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  /* Tables */
  .table-card {
    overflow-x: auto;
  }

  .data-table {
    min-width: 600px;
    /* Force scroll */
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Menu Toggle Button (To be added in HTML) */
  #mobileMenuBtn {
    display: flex !important;
  }

  /* Hide Open Site button on admin header for mobile */
  .open-site-btn {
    display: none !important;
  }

  /* Admin: Fleet header buttons */
  .fleet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .fleet-header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .fleet-header-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .fleet-header-actions .material-icons-round {
    font-size: 16px;
  }

  /* Hide Overlay adjustments */
  .login-box {
    margin: 20px;
    padding: 24px;
  }

  /* Modal adjustments */
  .modal {
    width: 95%;
    max-height: 85vh;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Autocomplete Menu (Fix for mobile visibility) */
.ac-menu {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  padding: 6px 0;
  z-index: 10000 !important;
  display: none;
  font-size: 14px;
  min-width: 260px;
  max-width: 90vw;
}

.ac-menu.open {
  display: block;
}

.ac-menu.open-up {
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.ac-item {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--primary);
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.ac-item:last-child {
  border-bottom: none;
}

.ac-item:hover,
.ac-item.active {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 20px;
}

.ac-label {
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-empty {
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}
