/* ──────────────────────────────────────────────────────────────────────────
   Global Variables
────────────────────────────────────────────────────────────────────────── */
:root {
  --color-primary:   #D4AF37;
  --color-secondary: #f5f5f5;
  --font-body:       'Helvetica Neue', sans-serif;
  --font-heading:    'Roboto Slab', serif;
  --spacing-unit:    1rem;
  --border-radius:   8px;
  --max-width:       1000px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Box-Sizing & Base
────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: #F8F8F8;
  color: #2E2E2E;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* ──────────────────────────────────────────────────────────────────────────
   Responsive Container
────────────────────────────────────────────────────────────────────────── */
.container,
main.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 1);
}

main.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(var(--spacing-unit) * 2) 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   Fluid Typography
────────────────────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 calc(var(--spacing-unit) * 1.5);
  color: var(--color-primary);
  word-break: break-word;
  hyphens: auto;
}
h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 calc(var(--spacing-unit) * 1.25);
  color: var(--color-primary);
  word-break: break-word;
  hyphens: auto;
}
h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.3;
  margin: 0 0 var(--spacing-unit);
  color: var(--color-primary);
  word-break: break-word;
  hyphens: auto;
}
p {
  margin: 0 0 var(--spacing-unit);
  font-size: 1rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   Hero Section
────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  background-color: #000;
  overflow: hidden;
}

.hero-inner {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--spacing-unit) * 1) 0;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius);
}

/* hero-text-box constrained to avoid overflowing on small screens */
.hero-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 720px);
  padding: calc(var(--spacing-unit) * 2);
  background-color: rgba(10, 10, 10, 0.7);
  color: var(--color-primary);
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* typography inside hero text box */
.hero-text-box h1,
.hero-text-box h2 {
  margin: 0 0 0.5rem 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* safer font-size for hero heading with clamp */
.hero-text-box .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 6.5vw, 2.25rem);
  line-height: 1.08;
  margin: 0 0 0.5rem 0;
}

/* subtitle inside hero */
.hero-text-box .hero-subtitle {
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  line-height: 1.4;
  margin: 0;
  color: #F5E6B3;
}

/* ──────────────────────────────────────────────────────────────────────────
   Navigation
────────────────────────────────────────────────────────────────────────── */
.main-nav {
  width: 100%;
  background-color: #000;
}

.nav-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  box-sizing: border-box;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  flex: 0 0 auto;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 0.5rem 0.75rem;
}

.nav-links li a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.logo {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  margin-right: 2rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   Mobile Toggle
────────────────────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #F8F8F8;
}

/* ──────────────────────────────────────────────────────────────────────────
   Responsive Navigation & Mobile adjustments
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background-color: #000;
    gap: 1rem;
    padding: 1rem 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  /* tighten hero inner padding on tablets and phones */
  .hero-inner {
    padding: calc(var(--spacing-unit) * 0.75) 0;
  }

  .hero-text-box {
    padding: calc(var(--spacing-unit) * 1.25);
    width: min(94%, 640px);
  }
}

/* very small screens: force readable sizes and tighter spacing */
@media (max-width: 380px) {
  html { font-size: 95%; }
  .hero-text-box {
    padding: calc(var(--spacing-unit) * 0.9);
    width: 94%;
  }
  .hero-text-box .hero-title {
    font-size: 1.15rem;
    line-height: 1.02;
  }
  .hero-text-box .hero-subtitle {
    font-size: 0.95rem;
  }
  .logo {
    margin-right: 1rem;
    font-size: 0.95rem;
  }
  .nav-links li a {
    padding: 0.45rem 0.5rem;
  }
} /* ──────────────────────────────────────────────────────────────────────────
   Links
────────────────────────────────────────────────────────────────────────── */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover,
a:focus {
  text-decoration: underline;
  outline: none;
}
a:focus-visible {
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
  border-radius: 4px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Buttons
────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.08s ease;
  line-height: 1;
  vertical-align: middle;
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
  box-sizing: border-box;
}
.btn:active { transform: translateY(0.5px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,10,10,0.12);
  border-radius: 6px;
}

/* size variants */
.btn-small {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
}
.btn-full {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  box-sizing: border-box;
}

/* color variants preserved */
.btn-primary {
  background-color: #0A0A0A;
  color: #F8F8F8;
  border-radius: 6px;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary);
  color: #0A0A0A;
}
.btn-secondary {
  background-color: #bdc3c7;
  color: #2c3e50;
  border-radius: 6px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #95a5a6;
}
.btn-danger {
  background-color: #c0392b;
  color: #fff;
  border-radius: 6px;
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: #e74c3c;
}
.btn-password {
  background-color: var(--color-primary);
  color: #0A0A0A;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.btn-password:hover,
.btn-password:focus {
  background-color: #bfa133;
}

/* stack buttons on very narrow screens (keeps your rule but ensures spacing) */
@media (max-width: 400px) {
  .btn,
  .btn-full {
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-unit);
    box-sizing: border-box;
  }
  .btn:last-child { margin-bottom: 0; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Sections & Backgrounds
────────────────────────────────────────────────────────────────────────── */
section {
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
}
.bg-secondary {
  background-color: var(--color-secondary);
}

/* ──────────────────────────────────────────────────────────────────────────
   Section Cards
────────────────────────────────────────────────────────────────────────── */
.section-card {
  background-color: #fff;
  padding: 2rem;
  margin: 2rem auto;
  width: 90%;
  max-width: var(--max-width);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow-x: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  -webkit-overflow-scrolling: touch;
}
.section-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.section-card h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #D4AF37;
  font-weight: 600;
}
.section-card p,
.section-card ul {
  line-height: 1.6;
  color: #374151;
  margin: 0 0 0.75rem 0;
}

/* small-screen adjustments for cards */
@media (max-width: 480px) {
  .section-card {
    padding: 1rem;
    margin: 1rem auto;
    width: 94%;
  }
  .section-card h2 { font-size: 1.15rem; }
  .section-card p,
  .section-card ul { font-size: 0.95rem; line-height: 1.45; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Summary Card
────────────────────────────────────────────────────────────────────────── */
.summary-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin: 2rem auto;
  width: 90%;
  max-width: 500px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.summary-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #D4AF37;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
}
.summary-card p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #374151;
}
.summary-card strong {
  color: #2E2E2E;
}
.summary-card small {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
}

/* small screen summary tweaks */
@media (max-width: 420px) {
  .summary-card { padding: 14px; margin: 1.25rem auto; }
  .summary-card h3 { font-size: 1.15rem; }
  .summary-card p { font-size: 0.9rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Tables
────────────────────────────────────────────────────────────────────────── */
.rides-table-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.rides-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  min-width: 600px;
}
.rides-table th,
.rides-table td {
  padding: 0.45rem 0.6rem;
  border: 1px solid #e0e0e0;
  color: #333;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.rides-table thead {
  background-color: #f7f7f7;
}
.rides-table thead th {
  font-weight: 600;
}
.rides-table th.datetime,
.rides-table td.datetime {
  width: 80px;
  white-space: normal;
  text-align: center;
}
.rides-table td.datetime a span {
  display: block;
  line-height: 1.2;
}

/* responsive table: allow wrapping and reduce font-size on narrow screens */
@media (max-width: 640px) {
  .rides-table {
    font-size: 0.78rem;
    min-width: 520px;
  }
  .rides-table th,
  .rides-table td {
    padding: 0.35rem 0.5rem;
    white-space: normal;
  }
  .rides-table th:first-child,
  .rides-table td:first-child { min-width: 90px; }
}

/* very small screens: keep wrapper scrollable but make table usable */
@media (max-width: 420px) {
  .rides-table { font-size: 0.75rem; }
  .rides-table th,
  .rides-table td { padding: 0.3rem 0.45rem; }
}
/* ──────────────────────────────────────────────────────────────────────────
   Forms & Feedback
────────────────────────────────────────────────────────────────────────── */
form label {
  display: block;
  margin-top: var(--spacing-unit);
  font-weight: bold;
  color: #2E2E2E;
}
form input,
form textarea,
form select {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1);
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
  border-color: var(--color-primary);
}

/* feedback messages */
.error,
.success {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
}
.error {
  background-color: #ffe6e6;
  color: #cc0000;
}
.success {
  background-color: #e6ffe6;
  color: #2e7d32;
}

/* ──────────────────────────────────────────────────────────────────────────
   Forms: Booking & Map
────────────────────────────────────────────────────────────────────────── */
.booking input,
.booking textarea,
.booking button,
.booking select {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1);
  margin-bottom: var(--spacing-unit);
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}
.booking button {
  background-color: #0A0A0A;
  color: #F8F8F8;
  border: none;
  cursor: pointer;
}
.booking button:hover,
.booking button:focus {
  background-color: #D4AF37;
  color: #0A0A0A;
}
.booking .disclaimer {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: var(--spacing-unit);
}
.booking.section-card {
  max-width: var(--max-width);
  margin: 2rem auto;
}

/* ──────────────────────────────────────────────────────────────────────────
   Flatpickr
────────────────────────────────────────────────────────────────────────── */
.flatpickr-calendar {
  font-family: var(--font-body);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.flatpickr-time {
  border-top: 1px solid #eee;
}

/* ──────────────────────────────────────────────────────────────────────────
   Google Map
────────────────────────────────────────────────────────────────────────── */
#map {
  width: 100%;
  height: 400px;
  margin-top: var(--spacing-unit);
  border-radius: 6px;
  box-sizing: border-box;
}

/* ──────────────────────────────────────────────────────────────────────────
   Rewards
────────────────────────────────────────────────────────────────────────── */
.rewards-container {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 1.5);
  justify-content: center;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
}
.reward {
  width: 180px;
  padding: calc(var(--spacing-unit) * 1);
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

/* ──────────────────────────────────────────────────────────────────────────
   Hero Text in Gold + Centered Container
────────────────────────────────────────────────────────────────────────── */
.hero,
.main-nav .nav-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-text-box {
  color: var(--color-primary);
}

/* ──────────────────────────────────────────────────────────────────────────
   FOOTER: Full-Width Background, Centered Content
────────────────────────────────────────────────────────────────────────── */
footer.main-footer {
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: calc(var(--spacing-unit) * 2) 0;
  box-sizing: border-box;
}
footer.main-footer .container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
footer.main-footer a {
  color: #fff;
}
footer.main-footer a:hover,
footer.main-footer a:focus {
  text-decoration: underline;
}

/* ──────────────────────────────────────────────────────────────────────────
   Rides Buttons Uniform Size (fixed selector typo)
────────────────────────────────────────────────────────────────────────── */
.btn-view,
.btn-cancel {
  display: inline-block;
  padding: 0.5rem 1rem;
  min-width: 100px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border: none;
}
.btn-view {
  background-color: var(--color-primary);
  color: #000;
}
.btn-cancel {
  background-color: #c0392b;
  color: #fff;
}
.btn-view:hover,
.btn-cancel:hover,
.btn-view:focus,
.btn-cancel:focus {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────────────────────────────────
   Ride Summary
────────────────────────────────────────────────────────────────────────── */
.ride-summary {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.summary-item {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: #2E2E2E;
  min-width: 140px;
  max-width: 220px;
  text-align: center;
  box-sizing: border-box;
}
.summary-item.completed {
  border-left: 6px solid #2ecc71;
}
.summary-item.canceled {
  border-left: 6px solid #e74c3c;
}

/* responsive stacking for ride-summary */
@media (max-width: 600px) {
  .ride-summary {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .summary-item {
    width: 92%;
    max-width: 420px;
    min-width: 0;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Small-screen form & map adjustments
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  form input,
  form textarea,
  form select,
  .booking input,
  .booking textarea,
  .booking select,
  .booking button {
    font-size: 0.95rem;
    padding: 0.85rem;
  }
  #map {
    height: 260px;
  }
  .reward {
    width: 140px;
    padding: calc(var(--spacing-unit) * 0.75);
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Very small screens and accessibility
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  html { font-size: 95%; }
  .btn-view,
  .btn-cancel {
    min-width: 80px;
    padding: 0.5rem 0.75rem;
  }
  .summary-item { font-size: 1rem; padding: 0.6rem 0.9rem; }
}
/* Flatpickr: card-style theme with wheel behavior */
.flatpickr-calendar {
  background: #ffffff !important;
  color: #0A0A0A !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(10,10,10,0.08) !important;
  border: 1px solid rgba(10,10,10,0.04) !important;
  padding: 0.5rem !important;
}

/* subtle border so flatpickr stands apart from the form */
.flatpickr-calendar {
  border: 1px solid rgba(10,10,10,0.06) !important;
  box-shadow: 0 8px 30px rgba(10,10,10,0.06) !important;
}

/* calendar header and weekdays */
.flatpickr-months,
.flatpickr-weekdaycontainer,
.flatpickr-weekday {
  color: rgba(10,10,10,0.85) !important;
  font-weight: 600 !important;
}

/* Day cells: neutral, with soft hover and selected styles */
.flatpickr-day {
  background: transparent !important;
  color: #0A0A0A !important;
  border-radius: 8px !important;
  min-width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  margin: 3px !important;
  transition: background .12s ease, color .12s ease;
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(10,10,10,0.04) !important;
}
.flatpickr-day.today {
  border: 1px solid rgba(10,10,10,0.06) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #D4AF37 !important;
  color: #0A0A0A !important;
  box-shadow: none !important;
}

/* Time container base (wheel UI occupies this area) */
.flatpickr-time {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  padding: 0.5rem 0.6rem 0.9rem !important;
}

/* FP wheel container (appearance tuned for card style) */
.fp-wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  height: 144px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 14px rgba(10,10,10,0.04) inset;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(10,10,10,0.06) !important; /* wheel border */
}

/* Wheel list and items */
.fp-wheel-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fp-wheel-list::-webkit-scrollbar { display: none; }

.fp-wheel-item {
  min-height: 36px;
  line-height: 36px;
  padding: 0 8px;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  color: #0A0A0A;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}

.fp-wheel-center {
  position: relative;
  pointer-events: none;
  width: 100%;
  height: 36px;
  margin-top: calc(-36px - 4px);
  box-sizing: border-box;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.98));
  border: 1px solid rgba(0,0,0,0.02);
}

/* selected wheel item styling */
.fp-wheel-item.selected {
  background: rgba(212,175,55,0.12);
  color: #0A0A0A;
  transform: none;
}

/* Confirm / cancel styling consistent with cards */
.fp-confirm-wrap {
  background: transparent !important;
  border-top: 1px solid rgba(10,10,10,0.03) !important;
  padding: 0.5rem !important;
}
.fp-confirm-row { margin-top: 6px; }
.fp-confirm, .fp-cancel {
  flex: 1;
  padding: 0.9rem;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
.fp-confirm { background: #D4AF37; color: #0A0A0A; }
.fp-cancel { background: rgba(10,10,10,0.04); color: #0A0A0A; }

/* Alt input styling to match card inputs and improve separation */
.flatpickr-input,
.flatpickr-input--styled,
input.flatpickr-input {
  background: #ffffff !important;
  color: #0A0A0A !important;
  border-radius: 10px !important;
  border: 1px solid rgba(10,10,10,0.06) !important;
  padding: 0.75rem !important;
  box-shadow: 0 6px 18px rgba(10,10,10,0.03) inset;
}

/* Ensure calendar is visible and positioned normally */
.flatpickr-calendar.hasTime,
.flatpickr-calendar.hasTime.animate {
  display: block !important;
  opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .fp-wheel { width: 98px; height: 160px; }
  .fp-wheel-item { min-height: 44px; line-height: 44px; }
  .flatpickr-day { min-width: 44px; height: 44px; line-height: 44px; }
}

/* Alerts upon change of account info */
.alert {
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 4px;
  font-weight: 500;
  position: relative;
  animation: fadeIn 0.5s ease-in-out;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #0c5460;
}

.alert.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* 

```