/* ============================================
   TRICHY AMMU TRAVELS — Main Design System
   Style Guide: Premium Dark Navy + Saffron Gold
   ============================================ */

/* ── Content Guard ── */
@import url('content-guard.css?v=3.5.0');

/* ── CSS Design Tokens ── */
:root {
  /* Primary Colors */
  --primary-navy: #0A1628;
  --primary-navy-light: #132240;
  --primary-navy-dark: #060E1A;
  --primary-saffron: #E8A317;
  --primary-saffron-light: #F0B840;
  --primary-saffron-dark: #C48A0F;

  /* Accent Colors */
  --accent-teal: #0EA5E9;
  --accent-teal-light: #38BDF8;
  --accent-teal-dark: #0284C7;
  --accent-emerald: #10B981;
  --accent-rose: #F43F5E;
  --accent-purple: #8B5CF6;
  --accent-amber: #F59E0B;

  /* Neutral Colors */
  --neutral-50: #F8FAFC;
  --neutral-100: #F1F5F9;
  --neutral-200: #E2E8F0;
  --neutral-300: #CBD5E1;
  --neutral-400: #94A3B8;
  --neutral-500: #64748B;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1E293B;
  --neutral-900: #0F172A;

  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #0EA5E9;

  /* Background */
  --bg-primary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-dark: #0A1628;
  --bg-dark-secondary: #132240;
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-light: rgba(255, 255, 255, 0.85);

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #64748B;
  --text-inverse: #FFFFFF;
  --text-accent: #E8A317;

  /* Borders */
  --border-light: rgba(226, 232, 240, 0.8);
  --border-medium: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(232, 163, 23, 0.3);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow-saffron: 0 0 20px rgba(232, 163, 23, 0.3);
  --shadow-glow-teal: 0 0 20px rgba(14, 165, 233, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A1628 0%, #132240 100%);
  --gradient-saffron: linear-gradient(135deg, #E8A317 0%, #F0B840 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(19, 34, 64, 0.85) 50%, rgba(232, 163, 23, 0.15) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-teal: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
  --gradient-cta: linear-gradient(135deg, #E8A317 0%, #F59E0B 50%, #E8A317 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0) 0%, rgba(10, 22, 40, 0.95) 100%);

  /* Typography */
  --font-heading: 'Outfit', 'Noto Sans Tamil', sans-serif;
  --font-body: 'Inter', 'Noto Sans Tamil', sans-serif;
  --font-tamil: 'Noto Sans Tamil', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-whatsapp: 900;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 80px;
  --header-height-mobile: 64px;
}

/* ── CSS Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.main-content,
.page-content,
.account-main,
#userDashboard,
.auth-page-wrapper,
.legal-page {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Global Tamil Typography Rule ── */
:lang(ta),
[lang="ta"],
html[lang="ta"],
html[lang="ta"] body,
html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3,
html[lang="ta"] h4,
html[lang="ta"] h5,
html[lang="ta"] h6,
html[lang="ta"] p,
html[lang="ta"] span,
html[lang="ta"] a,
html[lang="ta"] button,
html[lang="ta"] input,
html[lang="ta"] select,
html[lang="ta"] textarea,
html[lang="ta"] label,
html[lang="ta"] div,
.font-tamil,
.tamil-text,
.lang-ta-active {
  font-family: 'Noto Sans Tamil', sans-serif !important;
}

/* ── Layout & Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-20) 0;
}

.section-dark {
  background: var(--gradient-primary);
  color: var(--text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--neutral-300);
}

.section-alt {
  background: var(--bg-secondary);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-saffron);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: rgba(232, 163, 23, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 163, 23, 0.2);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--neutral-400);
}

/* Accent underline */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-saffron);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto 0;
}

.section-header.text-left .section-title::after {
  margin-left: 0;
}

/* ── Flexbox / Grid Utilities ── */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Text Utilities ── */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-accent {
  color: var(--primary-saffron);
}

.text-teal {
  color: var(--accent-teal);
}

.text-white {
  color: var(--text-inverse);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

/* ── Visibility ── */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Announcement Bar (Separate Isolated Container) ── */
.announcement-bar {
  display: none;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(90deg, #059669, #047857);
  color: #ffffff;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  letter-spacing: 0.3px;
}

body.has-announcement {
  padding-top: 40px !important;
}

body.has-announcement .header {
  top: 40px !important;
}

/* ── Header / Navigation ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-fixed);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-transparent {
  background: transparent;
}

.header-scrolled,
.header-solid,
.header:not(.header-transparent) {
  background: rgba(10, 22, 40, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 1051 !important;
}

.header-solid .nav-link,
.header:not(.header-transparent) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.header-solid .header-logo-text,
.header:not(.header-transparent) .header-logo-text {
  color: #ffffff;
}

.header-solid .header-logo-tagline,
.header:not(.header-transparent) .header-logo-tagline {
  color: var(--primary-saffron);
}

/* ── Light Mode: Header Transparent Menu Text Legibility over Editorial Hero ── */
:root:not([data-theme="dark"]) .header.header-transparent .header-logo-text,
[data-theme="light"] .header.header-transparent .header-logo-text {
  color: #0A1628 !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .nav-link,
[data-theme="light"] .header.header-transparent .nav-link {
  color: #0F172A !important;
  font-weight: 600 !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .nav-link:hover,
[data-theme="light"] .header.header-transparent .nav-link:hover {
  color: #C48A0F !important;
  background: rgba(10, 22, 40, 0.08) !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .nav-link.active,
[data-theme="light"] .header.header-transparent .nav-link.active {
  color: #0A1628 !important;
  background: rgba(232, 163, 23, 0.28) !important;
  border: 1px solid rgba(232, 163, 23, 0.55) !important;
  box-shadow: 0 2px 10px rgba(232, 163, 23, 0.2) !important;
  font-weight: 700 !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .header-actions .lang-toggle,
[data-theme="light"] .header.header-transparent .header-actions .lang-toggle {
  color: #0A1628 !important;
  background: rgba(10, 22, 40, 0.06) !important;
  border-color: rgba(10, 22, 40, 0.2) !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .header-actions .lang-toggle:hover,
[data-theme="light"] .header.header-transparent .header-actions .lang-toggle:hover {
  background: rgba(10, 22, 40, 0.12) !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .theme-toggle,
[data-theme="light"] .header.header-transparent .theme-toggle {
  color: #0A1628 !important;
  background: rgba(10, 22, 40, 0.06) !important;
  border-color: rgba(10, 22, 40, 0.2) !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .theme-toggle:hover,
[data-theme="light"] .header.header-transparent .theme-toggle:hover {
  background: rgba(10, 22, 40, 0.12) !important;
}

:root:not([data-theme="dark"]) .header.header-transparent .mobile-menu-toggle span,
[data-theme="light"] .header.header-transparent .mobile-menu-toggle span {
  background: #0A1628 !important;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  width: 100%;
  padding: 0 var(--space-8);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: max-content;
}

.header-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-saffron);
  background: #ffffff;
  flex-shrink: 0;
}

.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--text-inverse);
  line-height: var(--leading-tight);
  white-space: nowrap;
}

.header-logo-tagline {
  font-size: var(--text-xs);
  color: var(--primary-saffron);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
  min-width: max-content;
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 20px;
  height: 3px;
  background: var(--primary-saffron);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-link:hover {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(232, 163, 23, 0.22) !important;
  border: 1px solid rgba(232, 163, 23, 0.45) !important;
  box-shadow: 0 2px 10px rgba(232, 163, 23, 0.2) !important;
  font-weight: 700;
}

.nav-link.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-link .dropdown-icon {
  font-size: 10px;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--primary-navy);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-2xl);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
}

.nav-dropdown-item .icon {
  font-size: var(--text-lg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: max-content;
}

.header-actions .lang-toggle {
  padding: 6px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-actions .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.header-scrolled .header-actions .lang-toggle,
.header:not(.header-transparent) .header-actions .lang-toggle {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-color: var(--border-medium);
}

.header-scrolled .header-actions .lang-toggle:hover,
.header:not(.header-transparent) .header-actions .lang-toggle:hover {
  background: var(--border-light);
}

.header-actions .lang-toggle.lang-ta-active,
.header-scrolled .header-actions .lang-toggle.lang-ta-active,
.header:not(.header-transparent) .header-actions .lang-toggle.lang-ta-active {
  background: var(--primary-saffron);
  color: #0A1628 !important;
  border-color: var(--primary-saffron);
  font-weight: 700;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--text-lg);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
}

/* Header User Authentication Badge (Non-colliding, integrated with name & logout) */
.header-user-badge {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 3px 6px 3px 8px;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast, 0.2s ease);
}

.header-scrolled .header-user-badge,
.header:not(.header-transparent) .header-user-badge {
  background: var(--bg-secondary, #f8fafc);
  border-color: var(--border-medium, #e2e8f0);
}

.header-user-badge:hover {
  border-color: var(--primary-saffron, #FF9933);
}

.header-user-link,
.header-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-inverse, #ffffff);
  font-weight: 700;
  font-size: 12.5px;
  padding: 0;
  border: none;
  background: none;
}

.header-scrolled .header-user-link,
.header-scrolled .header-user-chip,
.header:not(.header-transparent) .header-user-link,
.header:not(.header-transparent) .header-user-chip {
  color: var(--text-primary, #0A1628);
}

.header-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.header-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.header-scrolled .header-user-divider,
.header:not(.header-transparent) .header-user-divider {
  background: var(--border-medium, #cbd5e1);
}

.header-quick-logout {
  background: transparent;
  border: none;
  padding: 3px 5px;
  color: var(--text-inverse, #ffffff);
  opacity: 0.8;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}

.header-scrolled .header-quick-logout,
.header:not(.header-transparent) .header-quick-logout {
  color: var(--text-secondary, #64748b);
}

.header-quick-logout:hover {
  opacity: 1;
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12);
}

/* Dark mode adjustments */
[data-theme="dark"] .header-user-badge,
.dark-theme .header-user-badge {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .header-user-link,
[data-theme="dark"] .header-user-chip,
.dark-theme .header-user-link,
.dark-theme .header-user-chip {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .header-user-divider,
.dark-theme .header-user-divider {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .header-quick-logout,
.dark-theme .header-quick-logout {
  color: #94a3b8 !important;
}

/* When customer badge is active, hide standalone login and logout buttons across all viewports */
.header-actions:has(.header-user-badge) a[href*="auth"],
.header-actions:has(.header-user-badge) [data-i18n="nav.login"],
.header-actions:has(.header-user-badge) .nav-login-btn,
.header-actions:has(.header-user-badge) #dashLogoutBtn,
.header-actions:has(.header-auth-slot .header-user-badge) a[href*="auth"],
.header-actions:has(.header-auth-slot .header-user-badge) [data-i18n="nav.login"],
.header-actions:has(.header-auth-slot .header-user-badge) .nav-login-btn,
.header-actions:has(.header-auth-slot .header-user-badge) #dashLogoutBtn,
body.user-logged-in .header-actions a[href*="auth"],
body.user-logged-in .header-actions [data-i18n="nav.login"],
body.user-logged-in .header-actions .nav-login-btn,
body.user-logged-in #dashLogoutBtn,
#dashLogoutBtn {
  display: none !important;
  visibility: hidden !important;
}

/* Modal secondary button hover styling across all viewports */
.modal-footer .btn-secondary,
#rescheduleModalOverlay .modal-footer .btn-secondary,
#cancelModalOverlay .modal-footer .btn-secondary {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.modal-footer .btn-secondary:hover,
#rescheduleModalOverlay .modal-footer .btn-secondary:hover,
#cancelModalOverlay .modal-footer .btn-secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-1px) !important;
}

.modal-footer .btn-secondary:active,
#rescheduleModalOverlay .modal-footer .btn-secondary:active,
#cancelModalOverlay .modal-footer .btn-secondary:active {
  background: #cbd5e1 !important;
  transform: translateY(0) !important;
}

[data-theme="dark"] .modal-footer .btn-secondary,
[data-theme="dark"] #rescheduleModalOverlay .modal-footer .btn-secondary,
[data-theme="dark"] #cancelModalOverlay .modal-footer .btn-secondary {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .modal-footer .btn-secondary:hover,
[data-theme="dark"] #rescheduleModalOverlay .modal-footer .btn-secondary:hover,
[data-theme="dark"] #cancelModalOverlay .modal-footer .btn-secondary:hover {
  background: #334155 !important;
  color: #ffffff !important;
  border-color: #64748b !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Locked Phone input */
.phone-input-locked,
.input-locked {
  background-color: var(--bg-secondary) !important;
  color: var(--text-secondary) !important;
  cursor: not-allowed !important;
  border-color: var(--border-medium) !important;
  box-shadow: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: calc(var(--z-fixed) + 10);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: clamp(650px, 74vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height, 68px) + 24px);
  padding-bottom: 120px;
  box-sizing: border-box;
}

html[lang="ta"] .hero {
  min-height: clamp(650px, 74vh, 780px);
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-top: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  background: rgba(232, 163, 23, 0.15);
  border: 1px solid rgba(232, 163, 23, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary-saffron-light);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title,
html[lang="en"] .hero-title {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-inverse);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 820px;
  min-height: auto;
  display: block;
}

/* Tamil Typography & Navbar Balancing */
html[lang="ta"] .hero-title {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1.32;
  letter-spacing: normal;
  max-width: 840px;
  margin-top: 0;
  margin-bottom: 20px;
  min-height: auto;
  display: block;
}

html[lang="ta"] .header-logo {
  gap: var(--space-2);
}

html[lang="ta"] .header-logo-text {
  font-size: clamp(13px, 1.15vw, 16px);
  white-space: nowrap;
}

html[lang="ta"] .header-logo-tagline {
  font-size: 9px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html[lang="ta"] .nav {
  gap: 2px;
}

html[lang="ta"] .nav-link {
  font-size: 12.5px;
  padding: 5px 7px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

html[lang="ta"] .header-actions {
  gap: var(--space-2);
}

html[lang="ta"] .header-actions .lang-toggle {
  padding: 5px 10px;
  font-size: 11.5px;
}

html[lang="ta"] .header-actions .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  gap: 5px;
}

.hero-title .highlight {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description,
html[lang="en"] .hero-description {
  font-size: 15px;
  color: #CBD5E1;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 720px;
}

html[lang="ta"] .hero-description {
  font-size: 14px;
  color: #CBD5E1;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: clamp(28px, 4.2vw, 56px);
  margin-top: 0;
  margin-bottom: 28px;
  align-items: flex-start;
}

.hero-stat {
  text-align: left;
  min-width: 90px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--primary-saffron);
  line-height: 1.15;
}

.hero-stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
  margin-top: 6px;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

html[lang="ta"] .hero-stat-label {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

/* ── Search Widget ── */
.search-widget,
#homeSearchSection {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  margin-bottom: var(--space-16);
  scroll-margin-top: calc(var(--header-height, 80px) + 24px) !important;
}

.field-highlight-pulse {
  animation: fieldGlowPulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  border-color: var(--primary-saffron, #e8a317) !important;
}

@keyframes fieldGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 163, 23, 0.7);
    border-color: #e8a317;
  }
  30% {
    box-shadow: 0 0 0 8px rgba(232, 163, 23, 0.28);
    border-color: #e8a317;
  }
  60% {
    box-shadow: 0 0 0 4px rgba(232, 163, 23, 0.14);
    border-color: #e8a317;
  }
  100% {
    box-shadow: none;
  }
}

.search-card {
  background: var(--bg-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-3);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
}

.search-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.search-tab {
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.search-tab:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.search-tab.active {
  color: var(--primary-navy);
  background: rgba(232, 163, 23, 0.1);
  border-color: var(--primary-saffron);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: var(--space-4);
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.search-bar .form-group,
.filter-controls-row .form-group {
  margin-bottom: 0;
}

/* ── Contact Form Vertical Spacing ── */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

#contactForm .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contactForm .form-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

#contactForm button[type="submit"] {
  margin-top: var(--space-2);
}

/* ── Destinations & Gallery Guaranteed Visibility ── */
#destinationsFullGrid .card,
#galleryGrid .gallery-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.form-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-input,
.form-select {
  height: 44px;
  padding: 8px 14px;
  background: var(--bg-primary, #ffffff);
  border: 1.5px solid var(--border-medium, #cbd5e1);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary, #0f172a);
  font-family: inherit;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.form-textarea {
  padding: 10px 14px;
  background: var(--bg-primary, #ffffff);
  border: 1.5px solid var(--border-medium, #cbd5e1);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary, #0f172a);
  font-family: inherit;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 100px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-saffron);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.15);
  background: var(--bg-primary, #ffffff);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary, #94a3b8);
  font-family: inherit;
  font-size: 13px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── Page Hero Common Class (Ensures generous clearance below fixed navbar) ── */
.page-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  padding-top: calc(var(--header-height, 80px) + var(--space-12, 48px)) !important;
  padding-bottom: var(--space-12) !important;
  color: white;
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--primary-navy-dark);
  color: var(--text-inverse);
  padding-top: var(--space-16);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-saffron);
  background: #ffffff;
  margin-bottom: var(--space-4);
  display: block;
}

.footer-brand p {
  color: var(--neutral-400);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--neutral-400);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-saffron);
  border-color: var(--primary-saffron);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--text-inverse);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-saffron);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--neutral-400);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--primary-saffron);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--neutral-400);
  font-size: var(--text-sm);
}

.footer-contact-item .icon {
  color: var(--primary-saffron);
  font-size: var(--text-lg);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.footer-bottom a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--primary-saffron);
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-whatsapp);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.whatsapp-tooltip {
  background: var(--bg-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary-navy, #0a1628);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse, #ffffff);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base, 0.25s ease);
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-saffron, #e8a317);
  color: var(--primary-navy, #0a1628);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 163, 23, 0.35);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 92px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 84px;
  height: 84px;
  border-radius: 50% !important;
  object-fit: contain;
  border: none !important;
  background: transparent !important;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
  margin: 0 auto var(--space-6);
  display: block;
  animation: loader-bounce 1.2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-inner {
  height: 100%;
  width: 40%;
  background: var(--gradient-saffron);
  border-radius: var(--radius-full);
  animation: loader-slide 1.2s ease-in-out infinite;
}

@keyframes loader-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes loader-slide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

/* ── Scrollbar Custom ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-400);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-saffron);
}

/* ── Selection ── */
::selection {
  background: rgba(232, 163, 23, 0.3);
  color: var(--primary-navy);
}

/* ═══════════ LUXURY ACCOUNT DASHBOARD STYLES ═══════════ */
.account-wrapper {
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: var(--space-16);
}

.account-hero-card {
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(19, 34, 64, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: var(--text-inverse);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--space-8);
}

.account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-saffron);
  color: var(--primary-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(232, 163, 23, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(232, 163, 23, 0.18);
  color: var(--primary-saffron-light);
  border: 1px solid rgba(232, 163, 23, 0.4);
}

.account-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.account-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.account-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-saffron);
}

.account-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.quick-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.booking-filter-tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-6);
  overflow-x: auto;
}

.booking-filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.booking-filter-btn.active {
  background: var(--primary-navy);
  color: #fff;
}

[data-theme="dark"] .booking-filter-btn.active {
  background: var(--primary-saffron);
  color: var(--primary-navy);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.account-table th {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--border-medium);
  white-space: nowrap;
}

.account-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.account-table tr:hover td {
  background: var(--bg-secondary);
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMER ACCOUNT LUXURY DASHBOARD & MOBILE RESPONSIVE STYLES
   ══════════════════════════════════════════════════════════════ */
.account-table-desktop-wrap {
  display: block;
}

.account-mobile-card-list {
  display: none;
}

.user-booking-mobile-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.user-booking-mobile-card:hover {
  border-color: var(--primary-saffron, #e8a317);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px dashed var(--border-light, #e2e8f0);
  padding-bottom: 10px;
}

.ub-booking-id {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 4px;
}

.ub-trip-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  line-height: 1.3;
}

.ub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ub-route-tag {
  font-size: 11.5px;
  color: #0284c7;
  font-weight: 600;
  background: #f0f9ff;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #bae6fd;
}

.ub-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary, #475569);
}

.ub-driver-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ub-fare-summary {
  background: var(--bg-secondary, #f8fafc);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
}

.ub-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 6px;
}

.ub-actions-grid .btn {
  font-size: 11px;
  padding: 6px 10px;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .account-wrapper {
    padding-top: calc(var(--header-height) + 12px);
  }

  .account-hero-card {
    padding: var(--space-5);
    border-radius: 16px;
  }

  .account-hero-card>div {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .account-hero-card>div>div:last-child {
    width: 100%;
    min-width: unset !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    margin-top: 4px;
  }

  /* ── Screen 14: Balanced 3-Column Account KPI Grid & Action Bar ── */
  .account-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .account-kpi-card {
    padding: 8px 6px !important;
    gap: 4px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 72px !important;
    box-sizing: border-box !important;
  }

  .account-kpi-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
    margin-bottom: 1px !important;
  }

  .account-kpi-card div div:first-child,
  #kpiTripsCount,
  #kpiActiveTrips,
  #kpiKm {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .account-kpi-card div div:nth-child(2),
  #kpiTripsTitle,
  [data-i18n="account.upcomingJourneys"],
  [data-i18n="account.kpiKm"] {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--text-secondary) !important;
  }

  #kpiTripsSub,
  #kpiActiveSub,
  #kpiKmSub {
    display: none !important;
  }

  .quick-action-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }

  .quick-action-bar .btn {
    width: 100% !important;
    height: 38px !important;
    font-size: 11.5px !important;
    padding: 0 8px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  .quick-action-bar .btn-whatsapp {
    grid-column: 1 / -1 !important;
  }

  /* ── Screen 19: Customer Review & Rating Modal Mobile Layout ── */
  #customerReviewModalOverlay .modal {
    max-height: 90vh !important;
    max-height: 90dvh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: auto 10px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  #customerReviewModalOverlay .modal-header {
    padding: 12px 16px !important;
    flex-shrink: 0 !important;
  }

  #customerReviewModalOverlay .modal-body {
    padding: 14px 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 !important;
  }

  #customerReviewModalOverlay .modal-footer {
    padding: 10px 16px max(10px, env(safe-area-inset-bottom, 10px)) !important;
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  #customerReviewModalOverlay .modal-footer .btn {
    height: 38px !important;
    font-size: 12px !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  /* Customer Account Reschedule & Cancel Modal: Snug Fit (Zero Blank Space) */
  #rescheduleModalOverlay .modal,
  #cancelModalOverlay .modal {
    height: auto !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #rescheduleModalOverlay .modal form,
  #cancelModalOverlay .modal form {
    height: auto !important;
    flex: 0 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #rescheduleModalOverlay .modal-body,
  #cancelModalOverlay .modal-body {
    flex: 0 1 auto !important;
    max-height: calc(90vh - 140px) !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
  }

  /* Customer Account Reschedule & Cancel Modal Footers: Responsive Stacking & Full Padding */
  #rescheduleModalOverlay .modal-footer,
  #cancelModalOverlay .modal-footer {
    padding: 14px 20px max(14px, env(safe-area-inset-bottom, 14px)) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  #rescheduleModalOverlay .modal-footer .btn,
  #cancelModalOverlay .modal-footer .btn {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 130px !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }

  @media (max-width: 640px) {
    #rescheduleModalOverlay .modal-footer,
    #cancelModalOverlay .modal-footer {
      flex-direction: column-reverse !important;
      gap: 10px !important;
      padding: 12px 16px max(12px, env(safe-area-inset-bottom, 12px)) !important;
    }

    #rescheduleModalOverlay .modal-footer .btn,
    #cancelModalOverlay .modal-footer .btn {
      width: 100% !important;
      max-width: 100% !important;
      flex: 1 1 100% !important;
    }
  }

  /* Polished Cancellation / Reschedule Locked Button Design */
  .btn-action-locked,
  #rescheduleModalOverlay .modal-footer .btn-action-locked,
  #cancelModalOverlay .modal-footer .btn-action-locked {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1.5px solid #f87171 !important;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.12) !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  [data-theme="dark"] .btn-action-locked,
  [data-theme="dark"] #rescheduleModalOverlay .modal-footer .btn-action-locked,
  [data-theme="dark"] #cancelModalOverlay .modal-footer .btn-action-locked {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border-color: rgba(248, 113, 113, 0.45) !important;
  }

  #rescheduleModalOverlay .modal-footer .btn-secondary,
  #cancelModalOverlay .modal-footer .btn-secondary {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  #rescheduleModalOverlay .modal-footer .btn-secondary:hover,
  #cancelModalOverlay .modal-footer .btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-1px) !important;
  }

  #rescheduleModalOverlay .modal-footer .btn-secondary:active,
  #cancelModalOverlay .modal-footer .btn-secondary:active {
    background: #cbd5e1 !important;
    transform: translateY(0) !important;
  }

  [data-theme="dark"] #rescheduleModalOverlay .modal-footer .btn-secondary,
  [data-theme="dark"] #cancelModalOverlay .modal-footer .btn-secondary {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
  }

  [data-theme="dark"] #rescheduleModalOverlay .modal-footer .btn-secondary:hover,
  [data-theme="dark"] #cancelModalOverlay .modal-footer .btn-secondary:hover {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #64748b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  }

  /* When customer badge is active, hide standalone login and logout buttons */
  .header-actions:has(.header-user-badge) a[href*="auth"],
  .header-actions:has(.header-user-badge) [data-i18n="nav.login"],
  .header-actions:has(.header-user-badge) .nav-login-btn,
  .header-actions:has(.header-user-badge) #dashLogoutBtn,
  .header-actions:has(.header-auth-slot .header-user-badge) a[href*="auth"],
  .header-actions:has(.header-auth-slot .header-user-badge) [data-i18n="nav.login"],
  .header-actions:has(.header-auth-slot .header-user-badge) .nav-login-btn,
  .header-actions:has(.header-auth-slot .header-user-badge) #dashLogoutBtn {
    display: none !important;
    visibility: hidden !important;
  }

  #dashLogoutBtn {
    display: none !important;
  }

  .booking-filter-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    padding-bottom: 6px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .booking-filter-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .booking-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }

  .account-table-desktop-wrap {
    display: none !important;
  }

  .account-mobile-card-list {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
}

[data-theme="dark"] .user-booking-mobile-card {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .ub-card-header {
  border-bottom-color: #334155;
}

[data-theme="dark"] .ub-route-tag {
  background: rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.35);
  color: #38bdf8;
}

[data-theme="dark"] .ub-fare-summary {
  background: #1e293b;
  border-color: #334155;
}

/* ══════════════════════════════════════════════════════════════
   PRINT MEDIA RULES FOR TRAVEL BILL & GST TAX INVOICE
   ══════════════════════════════════════════════════════════════ */
@media print {

  /* Hide all background and layout elements when printing bill, duty slip, or digital ticket */
  body.printing-voucher>*:not(.app-dialog-backdrop),
  body:has(.voucher-modal-card)>*:not(.app-dialog-backdrop),
  body:has(#dutyPassModal.open)>*:not(#dutyPassModal),
  body:has(.duty-pass-overlay.open)>*:not(.duty-pass-overlay),
  body.printing-digital-ticket>*:not(#digitalBookingTicketModal),
  body:has(#digitalBookingTicketModal.open)>*:not(#digitalBookingTicketModal),
  header,
  .header,
  footer,
  .footer,
  nav,
  .mobile-bottom-nav,
  #mobileBottomNav,
  .whatsapp-float,
  .back-to-top,
  .cookie-banner,
  .no-print,
  .voucher-mode-switcher,
  .voucher-footer,
  #btnVoucherModeBill,
  #btnVoucherModeGst,
  .voucher-close-btn,
  .voucher-print-btn,
  .voucher-share-btn,
  .voucher-modal-card a[href^="tel:"],
  .voucher-modal-card .btn-call-driver,
  .duty-pass-sheet a[href^="tel:"],
  .duty-pass-sheet .btn-call-driver {
    display: none !important;
    visibility: hidden !important;
  }

  /* Reset document and body for clean, crisp white-page print */
  html,
  body,
  body.printing-voucher,
  body:has(.voucher-modal-card) {
    background: #ffffff !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Remove dark modal overlay and make dialog backdrop full width/transparent */
  .app-dialog-backdrop,
  .app-dialog-backdrop:has(.voucher-modal-card),
  body.printing-voucher .app-dialog-backdrop {
    position: static !important;
    display: block !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: auto !important;
  }

  /* Strip card border-radius, shadows, fixed heights and make it 100% width cleanly framed */
  .voucher-modal-card {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 1.5px solid #0f172a !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    overflow: visible !important;
    max-height: none !important;
    page-break-inside: avoid !important;
  }

  /* Voucher header styling in print */
  .voucher-modal-card .voucher-header {
    background: #0f172a !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    padding: 14px 18px !important;
    border-radius: 4px 4px 0 0 !important;
  }

  .voucher-modal-card .voucher-header * {
    color: #ffffff !important;
  }

  .voucher-modal-card .voucher-header [style*="color: #f59e0b"] {
    color: #f59e0b !important;
  }

  /* Voucher body styling in print */
  .voucher-modal-card .voucher-body {
    padding: 14px 18px !important;
    max-height: none !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  /* Ensure all tables in invoice print with crisp borders and colors */
  .voucher-modal-card table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  .voucher-modal-card th,
  .voucher-modal-card td {
    padding: 6px 8px !important;
    border-color: #cbd5e1 !important;
  }

  /* Digital Booking Ticket / E-Receipt Print Rules */
  #digitalBookingTicketModal.open,
  body.printing-digital-ticket #digitalBookingTicketModal {
    position: static !important;
    display: block !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
  }

  #digitalBookingTicketModal .dbt-wrapper {
    max-width: 580px !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  #digitalBookingTicketModal .dbt-perforated-strip::before,
  #digitalBookingTicketModal .dbt-perforated-strip::after,
  body.printing-digital-ticket .dbt-perforated-strip::before,
  body.printing-digital-ticket .dbt-perforated-strip::after {
    display: none !important;
    visibility: hidden !important;
    background: transparent !important;
    width: 0 !important;
    height: 0 !important;
  }

  #digitalBookingTicketModal .dbt-actions {
    display: none !important;
    visibility: hidden !important;
  }

  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }
}


/* Unified App Icon SVG System */
.app-icon,
svg.app-icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Account KPI Card Icon Sizing */
.account-kpi-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  stroke-width: 2px;
}

/* ── Tamil Responsive Typography & Layout Safeguards ── */
html[lang="ta"],
body.lang-ta {
  --font-heading: 'Noto Sans Tamil', 'Outfit', sans-serif;
  --font-body: 'Noto Sans Tamil', 'Inter', sans-serif;
  font-family: 'Noto Sans Tamil', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.55;
  word-break: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lang-ta h1,
body.lang-ta h2,
body.lang-ta h3,
body.lang-ta h4,
body.lang-ta h5,
body.lang-ta h6,
body.lang-ta .hero-title,
body.lang-ta .section-title {
  font-family: 'Noto Sans Tamil', 'Outfit', sans-serif !important;
  line-height: 1.35;
  word-break: normal;
}

body.lang-ta .btn,
body.lang-ta .btn-primary,
body.lang-ta .btn-secondary,
body.lang-ta .btn-outline,
body.lang-ta .est-tab-btn,
body.lang-ta .route-chip,
body.lang-ta .home-airport-chip,
body.lang-ta .airport-dir-pill,
body.lang-ta .tariff-pill,
body.lang-ta .le-cta-btn {
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.lang-ta p,
body.lang-ta .card-description,
body.lang-ta .section-subtitle,
body.lang-ta .hero-sub,
body.lang-ta .tariff-subtext,
body.lang-ta .est-toll-pill-sub {
  line-height: 1.65;
  overflow-wrap: break-word;
}

body.lang-ta .card-title,
body.lang-ta .section-title,
body.lang-ta .page-title,
body.lang-ta .tariff-matrix-title {
  line-height: 1.4;
  overflow-wrap: break-word;
}

body.lang-ta .tariff-cell-pricing,
body.lang-ta .tariff-cell-name {
  word-break: normal;
  overflow-wrap: break-word;
}

.home-cab-search-form .form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  height: 18px;
  line-height: 18px;
  display: flex;
  align-items: center;
}

body.lang-ta .home-cab-search-form .form-label {
  font-size: 11.5px;
  line-height: 18px;
  letter-spacing: normal;
}

body.lang-ta .cab-service-tab .tab-title {
  font-size: 12px;
  white-space: nowrap;
  line-height: 1.3;
}

body.lang-ta .cab-service-tab .tab-sub {
  font-size: 9.5px;
  letter-spacing: 0;
  line-height: 1.35;
}

body.lang-ta table td,
body.lang-ta table th {
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  body.lang-ta .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.3rem);
    line-height: 1.35;
  }

  body.lang-ta .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  body.lang-ta .btn {
    font-size: 0.9em;
    padding-left: 12px;
    padding-right: 12px;
  }

  body.lang-ta .nav-menu {
    font-size: 0.95rem;
  }

  body.lang-ta .route-chip,
  body.lang-ta .home-airport-chip {
    font-size: 11.5px;
    padding: 6px 12px;
  }

  body.lang-ta .airport-dir-switch {
    flex-wrap: wrap;
  }
}

/* Universal Mandatory Field Red Asterisk Styling */
.req-star,
.required-star,
.required,
label .req-star,
.form-label .req-star,
span.req-star {
  color: #dc2626 !important;
  font-weight: 800 !important;
  margin-left: 3px;
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   UNIFIED RESPONSIVE CUSTOMER BOOKING CARD EXPERIENCE
   ══════════════════════════════════════════════════════════════ */
.user-bookings-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.user-booking-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: visible;
  border-left: 4px solid #cbd5e1;
}

.account-trips-card,
.card.account-trips-card,
.account-trips-card:hover,
.card.account-trips-card:hover {
  transform: none !important;
  -webkit-transform: none !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.user-booking-card {
  transform: none !important;
  -webkit-transform: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.user-booking-card:hover {
  border-top-color: #cbd5e1;
  border-right-color: #cbd5e1;
  border-bottom-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transform: none !important;
  -webkit-transform: none !important;
}

/* Eliminate button hover transforms inside booking cards to prevent mouseenter/mouseleave oscillation flicker */
.user-booking-card .btn,
.user-booking-card .btn:hover,
.user-booking-card .btn:focus,
.user-booking-card .btn:active,
.user-booking-card .btn-outline,
.user-booking-card .btn-outline:hover,
.user-booking-card .btn-outline:focus,
.user-booking-card .btn-outline:active,
.ubc-actions-bar .btn,
.ubc-actions-bar .btn:hover,
.ubc-actions-bar .btn:focus,
.ubc-actions-bar .btn:active,
.ubc-doc-actions .btn,
.ubc-doc-actions .btn:hover,
.ubc-doc-actions .btn:focus,
.ubc-doc-actions .btn:active,
.ubc-status-actions .btn,
.ubc-status-actions .btn:hover,
.ubc-status-actions .btn:focus,
.ubc-status-actions .btn:active,
.btn-action-bill,
.btn-action-bill:hover,
.btn-action-pass,
.btn-action-pass:hover,
.btn-action-chat,
.btn-action-chat:hover,
.btn-action-reschedule,
.btn-action-reschedule:hover,
.btn-action-cancel,
.btn-action-cancel:hover,
.btn-action-rate,
.btn-action-rate:hover,
.rating-badge-pill,
.rating-badge-pill:hover,
.ubc-driver-call,
.ubc-driver-call:hover {
  transform: none !important;
  -webkit-transform: none !important;
}

.user-booking-card.completed {
  border-left-color: #3b82f6;
}

.user-booking-card.confirmed {
  border-left-color: #10b981;
}

.user-booking-card.pending {
  border-left-color: #f59e0b;
}

.user-booking-card.dispatched,
.user-booking-card.in-trip {
  border-left-color: #06b6d4;
}

.user-booking-card.cancelled {
  border-left-color: #ef4444;
}

/* Card Header */
.ubc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border-light, #f1f5f9);
  padding-bottom: 9px;
}

.ubc-ref-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ubc-ref {
  font-family: 'Outfit', monospace;
  font-size: 13px;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 2.5px 7px;
  border-radius: 5px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  letter-spacing: -0.2px;
}

.ubc-trip-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
}

/* Dedicated Travel Schedule Banner */
.ubc-schedule-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
}

.ubc-sched-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ubc-sched-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary, #0f172a);
}

.ubc-sched-item strong {
  color: #0284c7;
  font-weight: 800;
}

.ubc-sched-item.return-item strong {
  color: #059669;
}

.ubc-sched-lbl {
  color: #64748b;
  font-weight: 600;
  font-size: 11px;
}

/* Audit Footnote */
.ubc-audit-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
  font-size: 10.5px;
  color: #94a3b8;
}

.ubc-meta-timestamps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ubc-time-badge {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  background: transparent;
  padding: 0;
  border: none;
  white-space: nowrap;
}

.ubc-updated-badge {
  color: #0284c7;
  font-weight: 600;
}

.ubc-rescheduled-tag {
  font-size: 10.5px;
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.ubc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Card Content Grid */
.ubc-content-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .ubc-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.ubc-cardlet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-hover, #f8fafc);
  border: 1px solid var(--border-light, #f1f5f9);
  border-radius: 10px;
  padding: 11px 13px;
  min-height: 100%;
}

.ubc-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-tertiary, #64748b);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Route & Itinerary: Journey Timeline Spine */
.ubc-journey-spine {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border-light, #e2e8f0);
}

.ubc-spine-point {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ubc-spine-point .spine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ubc-spine-point .spine-dot-pickup {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.ubc-spine-point .spine-dot-drop {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.ubc-spine-point .spine-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  line-height: 1.3;
}

.ubc-spine-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 3px;
  padding: 2px 0;
}

.ubc-spine-track .spine-track-line {
  width: 2px;
  height: 16px;
  background: #cbd5e1;
  border-radius: 1px;
}

.ubc-spine-track .spine-track-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.ubc-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #475569);
  background: var(--bg-secondary, #f8fafc);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light, #e2e8f0);
}

.ubc-meta-return {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  font-weight: 700;
}

/* Vehicle & Chauffeur */
.ubc-veh-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ubc-veh-name svg {
  color: #0284c7;
}

.ubc-driver-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 3px;
}

.ubc-driver-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ubc-driver-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ubc-driver-name {
  font-weight: 800;
  color: #065f46;
  font-size: 12.5px;
}

.ubc-driver-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #059669;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 1px 5px;
  border-radius: 4px;
}

.ubc-driver-plate {
  font-family: monospace;
  font-size: 10.5px;
  color: #475569;
  font-weight: 700;
}

.ubc-driver-call {
  color: #059669;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  transition: all 0.15s ease;
}

.ubc-driver-call:hover {
  background: #059669;
  color: #ffffff;
}

.ubc-driver-pending-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  background: #ffffff;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px dashed var(--border-light, #cbd5e1);
  margin-top: 3px;
  line-height: 1.3;
}

.pending-icon {
  font-size: 12px;
}

/* Tariff & Payment */
.ubc-fare-total {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
}

.ubc-fare-strip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}

.ubc-fare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.fare-lbl {
  color: #64748b;
  font-weight: 600;
}

.fare-paid {
  color: #059669;
  font-weight: 800;
}

.fare-due {
  color: #b45309;
  font-weight: 800;
}

.ubc-fare-pay-pickup {
  color: #64748b;
  font-weight: 600;
  font-size: 11px;
}

/* Card Actions Bar */
.ubc-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border-light, #f1f5f9);
  padding-top: 14px;
  margin-top: 4px;
}

.ubc-doc-actions,
.ubc-status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ubc-doc-actions .btn,
.ubc-status-actions .btn {
  height: 35px;
  min-height: 35px;
  padding: 0 11px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-action-bill {
  background: #f8fafc;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

.btn-action-bill:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.btn-action-gst {
  background: #eff6ff;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

.btn-action-gst:hover {
  background: #dbeafe;
  color: #1e40af !important;
  border-color: #93c5fd !important;
}

.btn-action-pass {
  background: #f0fdf4;
  color: #15803d !important;
  border-color: #bbf7d0 !important;
}

.btn-action-pass:hover {
  background: #dcfce7;
  color: #166534 !important;
  border-color: #86efac !important;
}

.btn-action-chat {
  background: #f0fdfa;
  color: #0f766e !important;
  border-color: #99f6e4 !important;
}

.btn-action-chat:hover {
  background: #ccfbf1;
  color: #115e59 !important;
  border-color: #5eead4 !important;
}

.btn-action-reschedule {
  background: #fffbeb;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

.btn-action-reschedule:hover {
  background: #fef3c7;
  color: #92400e !important;
  border-color: #fcd34d !important;
}

.btn-action-cancel {
  background: #fef2f2;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.btn-action-cancel:hover {
  background: #fee2e2;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}

.btn-action-rate {
  background: #fffbeb;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

.btn-action-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  font-weight: 700 !important;
}

.btn-action-whatsapp:hover {
  background: #1ebd5b !important;
  border-color: #1ebd5b !important;
}

/* Rating Badge with Interactive Tooltip */
.user-booking-rating-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 50;
}

.user-booking-rating-badge:hover,
.user-booking-rating-badge:focus-within {
  z-index: 10000;
}

.rating-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.rating-badge-pill:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  transform: translateY(-1px);
}

.rating-badge-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  top: auto;
  width: 290px;
  max-width: min(290px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 10000;
  display: none;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
  animation: fadeInTooltip 0.2s ease;
}

/* Invisible bridge so mouse moving between button and tooltip never loses hover */
.rating-badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: auto;
  display: block;
}

/* When placed in header bars, align downward to prevent top overflow clipping */
.rating-badge-tooltip.tooltip-bottom,
.abc-slips-group .rating-badge-tooltip,
.abc-header-left .rating-badge-tooltip,
.duty-header-left .rating-badge-tooltip {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  right: auto;
  z-index: 10000;
}

.rating-badge-tooltip.tooltip-bottom::after,
.abc-slips-group .rating-badge-tooltip::after,
.abc-header-left .rating-badge-tooltip::after,
.duty-header-left .rating-badge-tooltip::after {
  top: -12px;
  bottom: auto;
  height: 16px;
}

.user-booking-rating-badge:hover .rating-badge-tooltip,
.user-booking-rating-badge:focus-within .rating-badge-tooltip {
  display: flex;
}

.rating-badge-tooltip .rating-stars {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 800;
}

.rating-badge-tooltip .rating-comments {
  font-size: 12px;
  color: #334155;
  font-style: italic;
  line-height: 1.4;
  border-left: 2px solid #f59e0b;
  padding-left: 8px;
}

.rating-badge-tooltip .rating-praises-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.rating-praise-chip {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 4px;
}

.rating-edit-link {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  cursor: pointer;
}

.rating-edit-link:hover {
  text-decoration: underline;
}

/* Dark theme overrides */
[data-theme="dark"] .user-booking-card {
  background: #111b2e;
  border-color: #1e2d4a;
}

[data-theme="dark"] .ubc-cardlet {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ubc-journey-spine {
  background: #111b2e;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ubc-spine-point .spine-text,
[data-theme="dark"] .ubc-trip-title,
[data-theme="dark"] .ubc-veh-name,
[data-theme="dark"] .ubc-fare-total {
  color: #f8fafc;
}

[data-theme="dark"] .ubc-driver-pending-box {
  background: #111b2e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

[data-theme="dark"] .rating-badge-tooltip {
  background: #0f172a;
  border-color: #d97706;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .rating-badge-tooltip .rating-comments {
  color: #cbd5e1;
}

/* ── Destination Transparent Tariff Breakdown Card ── */
.dest-tariff-card {
  background: var(--bg-secondary, #f8fafc);
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0;
  border: 1px solid var(--border-medium, #e2e8f0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .dest-tariff-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dest-tariff-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));
}

[data-theme="dark"] .dest-tariff-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dest-tariff-card-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-tertiary, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dest-tariff-type-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-saffron, #f59e0b);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.dest-tariff-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .dest-tariff-item-row {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dest-tariff-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 12px;
}

.dest-tariff-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary, #475569);
  font-weight: 600;
}

.dest-tariff-item-sub {
  font-size: 11px;
  color: var(--text-tertiary, #64748b);
  padding-left: 21px;
  line-height: 1.3;
}

.dest-tariff-item-val {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.dest-tariff-total-block {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.14) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dest-tariff-total-label {
  color: var(--text-primary, #0f172a);
  font-weight: 800;
  font-size: 14px;
}

.dest-tariff-total-amount {
  color: var(--primary-saffron, #d97706);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.dest-tariff-note {
  font-size: 11px;
  color: var(--text-tertiary, #64748b);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}


/* Ensure Notification Bell & Badge never get clipped by overflow */
#customerNotifBell,
.header-alerts-bell,
#headerAlertsBell,
button#customerNotifBell.btn {
  overflow: visible !important;
}

/* ── Contact Page Layout & Responsive Form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10, 40px);
  align-items: start;
  width: 100%;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-card {
  padding: var(--space-8, 32px);
  border-radius: var(--radius-2xl, 24px);
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
  width: 100%;
  box-sizing: border-box;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 16px);
  width: 100%;
}

#contactForm .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

#contactForm .form-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary, #0f172a);
}

#contactForm .form-input,
#contactForm .form-select,
#contactForm .form-textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Fleet Fare Estimator Trip Type Tabs */
.est-tab-btn {
  font-weight: 700;
  border-radius: 20px;
  padding: 6px 14px;
  border: 1.5px solid var(--border-medium, #cbd5e1);
  background: var(--bg-card, #ffffff);
  color: var(--text-secondary, #475569);
  transition: all var(--transition-fast, 0.15s ease);
  cursor: pointer;
}
.est-tab-btn:hover {
  background: var(--bg-secondary, #f8fafc);
  color: var(--text-primary, #0f172a);
}
.est-tab-btn.active {
  background: var(--primary-navy, #0a1628) !important;
  color: #ffffff !important;
  border-color: var(--primary-navy, #0a1628) !important;
}

/* Global snug fit for Cancel & Reschedule Modals (Zero Ghost Space) */
.custom-select-dropdown:not(.open) {
  display: none !important;
}

#rescheduleModalOverlay .modal,
#cancelModalOverlay .modal {
  height: auto !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  display: flex !important;
  flex-direction: column !important;
}

#rescheduleModalOverlay .modal form,
#cancelModalOverlay .modal form {
  height: auto !important;
  flex: 0 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#rescheduleModalOverlay .modal-body,
#cancelModalOverlay .modal-body {
  flex: 0 1 auto !important;
  max-height: calc(90vh - 140px) !important;
  overflow-y: auto !important;
  padding: 16px 20px 8px !important;
}