/* ============================================================
   ANDAMAN FERRY BOOKING — Design System & Component Styles
   Premium ocean-inspired design for ferry booking platform
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary — Deep Midnight (Premium & Professional) */
  --ocean-50: #f0f9ff;
  --ocean-100: #e0f2fe;
  --ocean-200: #bae6fd;
  --ocean-300: #7dd3fc;
  --ocean-400: #38bdf8;
  --ocean-500: #0ea5e9;
  --ocean-600: #0284c7;
  --ocean-700: #0369a1;
  --ocean-800: #075985;
  --ocean-900: #0c4a6e;

  --cream-50: #fffbf2;
  --cream-100: #fef3c7;
  --cream-200: #fde68a;

  /* Neutrals — Sleek Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows — Soft Depth */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Resets & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate-900);
}

.text-primary {
  color: #059669 !important;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.125rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: var(--ocean-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--ocean-800);
}

.extra-small {
  font-size: 0.65rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--ocean-200);
  color: var(--ocean-900);
}

/* ---------- APP NAVIGATION (TOP) ---------- */
.navbar-app {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  height: 64px;
  display: flex;
  align-items: center;
  z-index: 1050;
}

.navbar-brand-app {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--slate-900);
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  background: var(--ocean-500);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ---------- PREMIUM HERO & SEARCH PLATE ---------- */
.hero-master-container {
  position: relative;
  background: var(--slate-950);
}

.hero-viewport-elite {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-mask-refined {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(2, 6, 23, 0.3) 0%,
      rgba(2, 6, 23, 0.6) 50%,
      rgba(2, 6, 23, 0.9) 100%);
  z-index: 2;
}

/* --- BOTTOM NAV APP FEEL --- */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1060;
  padding: 0 10px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.app-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--slate-400);
  transition: var(--transition);
  flex: 1;
}

.app-bottom-nav .nav-item i {
  font-size: 1.25rem;
}

.app-bottom-nav .nav-item span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-bottom-nav .nav-item.active {
  color: var(--ocean-600);
}

.app-bottom-nav .nav-item:active {
  transform: scale(0.9);
}

/* ---------- PREMIUM SECTIONS REDESIGN ---------- */

/* 1. Operator Showcase (Island Hopping Made Easy) */
.operator-showcase-section {
  background-color: var(--cream-50);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.operator-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: rgba(0, 0, 0, 0.05);
  /* Divider lines */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.operator-grid-item {
  background: white;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.operator-grid-item:hover {
  background: var(--cream-50);
  transform: translateY(-5px);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.op-logo-placeholder {
  width: 100%;
  max-width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--slate-900);
  font-size: 0.9rem;
}

.op-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: 0.5px;
}

.showcase-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-visual:hover img {
  transform: scale(1.05);
}

.toggle-pill-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.toggle-pill {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  color: var(--slate-500);
}

.toggle-pill.active {
  background: black;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 2. Schedule Explorer */
.schedule-explorer-section {
  background: white;
  padding: 100px 0;
}

.schedule-accordion {
  border: none;
}

.schedule-accordion-item {
  border: 1px solid var(--slate-100);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.schedule-accordion-item:hover {
  border-color: var(--ocean-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.schedule-accordion-button {
  padding: 24px;
  background: white !important;
  color: var(--slate-900) !important;
  font-weight: 700 !important;
  font-size: 1.15rem;
  box-shadow: none !important;
}

.schedule-accordion-button:not(.collapsed) {
  background: var(--ocean-600) !important;
  color: white !important;
}

.schedule-header-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--ocean-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

/* Schedule Table */
.table-schedule {
  margin: 0;
  width: 100%;
}

.table-schedule th {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 800;
  padding: 12px 20px;
  border-bottom: 1px solid var(--slate-50);
}

.table-schedule td {
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  border: none;
}

.op-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--slate-900);
}

/* Route Showcase Card */
.route-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.route-showcase-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.route-showcase-card:hover {
  border-color: var(--sky-400);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.route-showcase-card .route-name {
  font-weight: 800;
  color: var(--slate-900);
  font-size: 0.95rem;
}

.route-showcase-card .route-icon {
  width: 40px;
  height: 40px;
  background: var(--sky-50);
  color: var(--sky-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.route-showcase-card:hover .route-icon {
  background: var(--sky-600);
  color: white;
  transform: translateX(4px);
}

/* Background Decorations */
.bg-blob {
  position: absolute;
  z-index: 0;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}

.blob-yellow {
  background: var(--cream-200);
  width: 400px;
  height: 400px;
}

.blob-blue {
  background: var(--ocean-100);
  width: 300px;
  height: 300px;
}

/* Custom Animations */
@keyframes bFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.animate-float {
  animation: bFloat 6s ease-in-out infinite;
}

.hero-content-glass {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.hero-title-premium {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-subtitle-premium {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* --- SEARCH CARD PREMIUM --- */
.search-anchor {
  position: relative;
  margin-top: -120px;
  z-index: 20;
}

.search-card-premium {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-premium);
}

.trip-type-pill-premium {
  display: inline-flex;
  background: var(--slate-100);
  padding: 6px;
  border-radius: var(--radius-full);
  position: relative;
}

.trip-type-pill-premium input {
  display: none;
}

.trip-type-pill-premium label {
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-500);
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin: 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill-slider-premium {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: calc(49% - 6px);
  background: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

#tt_multi:checked~.pill-slider-premium {
  transform: translateX(100%);
}

#tt_oneway:checked~label[for="tt_oneway"],
#tt_multi:checked~label[for="tt_multi"] {
  color: var(--ocean-600);
}

/* --- SEARCH INPUTS GRID --- */
.search-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: visible;
}

.search-input-group {
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.search-input-group:hover:not(.no-hover) {
  background: var(--ocean-50);
}

.border-end-premium {
  border-right: 1px solid var(--slate-100);
}

.input-inner.clickable {
  cursor: pointer;
}

.input-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.input-select,
.input-field {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  outline: none;
}

.pax-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
}

.pax-value small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-400);
}

/* --- SWAP BUTTON --- */
.swap-toggle-container {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swap-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--slate-200);
  color: var(--ocean-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.swap-toggle-btn:hover {
  transform: rotate(180deg);
  border-color: var(--ocean-400);
  box-shadow: var(--shadow-md);
}

/* --- STEPPER PREMIUM --- */
.stepper-premium {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slate-50);
  padding: 4px;
  border-radius: var(--radius-full);
}

.stepper-premium button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--slate-900);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stepper-premium button:hover {
  background: var(--ocean-500);
  color: #fff;
}

.stepper-premium span {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* --- SEARCH BUTTON --- */
.btn-search-premium {
  width: 100%;
  background: linear-gradient(135deg, var(--ocean-600) 0%, var(--ocean-800) 100%);
  color: #fff;
  border: none;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
}

.btn-search-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.4);
}

.btn-search-premium:active {
  transform: translateY(0);
}

/* --- MULTI SEGMENTS --- */
.multi-segments-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.segment-row-premium {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  animation: slideInUp 0.4s ease-out;
}

.btn-add-segment {
  background: transparent;
  border: 2px dashed var(--slate-300);
  color: var(--slate-500);
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: var(--transition);
}

.btn-add-segment:hover {
  border-color: var(--ocean-400);
  color: var(--ocean-600);
  background: var(--ocean-50);
}

/* --- ICON BOX --- */
.icon-box-app {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.icon-box-app:hover {
  transform: scale(1.1) rotate(5deg);
}

/* --- SWIPER NAV --- */
.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--slate-600);
  transition: var(--transition);
  cursor: pointer;
}

.nav-btn:hover {
  background: var(--ocean-600);
  color: #fff;
  border-color: var(--ocean-600);
}

/* --- FLEET LOGO --- */
.fleet-logo-box {
  padding: 2.5rem 1.5rem;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.fleet-logo-box:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

/* --- APP PROMO BANNER --- */
.app-promo-banner {
  min-height: 300px;
  position: relative;
}

.app-promo-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.promo-glass-image {
  width: 100%;
  height: 350px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(5deg) translateY(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE APP FEEL --- */

/* --- ELITE CHECKOUT FLOW (HELIOS SYSTEM) --- */
.checkout-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  border-top: 1px solid var(--slate-100);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .checkout-sticky-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .view-summary-btn {
    border: none;
    background: transparent;
    color: var(--sky-600);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .view-summary-btn i {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  /* .app-main {
    padding-bottom: 90px !important;
  } */
}

.pax-card-app {
  border: 1px solid var(--slate-100);
  background: #fff;
  border-radius: 1.25rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition);
}

.pax-card-app:hover {
  border-color: var(--ocean-400);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.pax-card-header {
  background: var(--slate-50);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-100);
}

.trust-badge-group {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-100);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.trust-item-icon {
  width: 32px;
  height: 32px;
  background: var(--ocean-50);
  color: var(--ocean-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trust-item-text h6 {
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0;
  color: var(--slate-800);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-item-text p {
  font-size: 0.7rem;
  margin: 0;
  color: var(--slate-400);
  line-height: 1.4;
}

.form-label-helios {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.5px;
}

.pax-input {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
  transition: var(--transition);
}

.pax-input:focus {
  border-color: var(--ocean-400);
  box-shadow: 0 0 0 4px var(--ocean-50);
  outline: none;
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 767px) {
  .hero-app-slider {
    height: 40vh;
  }
}

.search-plate {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-top: -80px;
  position: relative;
  z-index: 5;
  border: 1px solid var(--slate-200);
}

.label-app {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.select-app,
.input-app {
  width: 100%;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-900);
  padding: 0;
  background: transparent;
  outline: none !important;
}

.border-end-md {
  border-right: 1px solid var(--slate-100);
}

@media (max-width: 767px) {
  .border-end-md {
    border-right: none;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 15px;
  }
}

/* ---------- PAX STEPPER ---------- */
.pax-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 4px 8px;
}

.pax-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--slate-900);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pax-stepper span {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

/* --- FEATURE CARDS PREMIUM --- */
.feature-card-premium {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
  height: 100%;
}

@media (max-width: 767px) {
  .feature-card-premium {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .feature-card-premium h5 {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 0.25rem !important;
  }

  .feature-card-premium p {
    text-align: center;
  }
}

.feature-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--ocean-100);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bg-blue-glow {
  background: #eff6ff;
  color: #2563eb;
}

.bg-teal-glow {
  background: #f0fdfa;
  color: #0ea5e9;
}

.bg-indigo-glow {
  background: #eef2ff;
  color: #4f46e5;
}

.bg-orange-glow {
  background: #fff7ed;
  color: #f97316;
}

/* --- ISLAND CARDS PREMIUM --- */
.island-card-premium {
  height: 380px;
  border-radius: var(--radius-2xl);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.island-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.2) 60%, transparent 100%);
  z-index: 1;
}

.island-info {
  position: relative;
  z-index: 2;
  color: #fff;
  transform: translateY(20px);
  transition: var(--transition);
}

.island-card-premium:hover .island-info {
  transform: translateY(0);
}

.island-card-premium:hover {
  transform: scale(1.02);
}

.island-meta {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.island-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0ea5e9;
}

.island-desc {
  font-size: 0.85rem;
  opacity: 0;
  transition: var(--transition);
  margin: 0;
}

.island-card-premium:hover .island-desc {
  opacity: 0.8;
}

/* --- NAV BUTTONS PREMIUM --- */
.nav-btn-premium {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.nav-btn-premium:hover {
  background: var(--ocean-600);
  color: #fff;
  border-color: var(--ocean-600);
  box-shadow: var(--shadow-md);
}

/* --- RESPONSIVE PREMIUM OVERRIDES --- */
@media (max-width: 1024px) {
  .search-inputs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .border-end-premium:nth-child(2) {
    border-right: none;
  }

  .border-end-premium:nth-child(even) {
    border-right: none;
  }

  .search-input-group {
    border-bottom: 1px solid var(--slate-100);
  }
}

@media (max-width: 768px) {
  .hero-title-premium {
    font-size: 2.5rem;
  }

  .hero-viewport-elite {
    height: 400px;
  }

  .search-anchor {
    margin-top: -80px;
  }

  .search-card-premium {
    padding: 1.5rem;
  }

  .search-inputs-grid {
    grid-template-columns: 1fr;
  }

  .border-end-premium {
    border-right: none;
    border-bottom: 1px solid var(--slate-100);
  }

  .swap-toggle-container {
    right: 1.5rem;
    top: auto;
    bottom: -18px;
    transform: none;
  }
}

@media (max-width: 576px) {
  .hero-title-premium {
    font-size: 2rem;
  }

  .hero-subtitle-premium {
    font-size: 0.9rem;
  }

  .trip-type-pill-premium label {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .btn-search-premium {
    font-size: 14px;
  }
}

/* Fix for horizontal scroll (The elusive overflow bug) */
.container,
.container-fluid {
  overflow: visible !important;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col,
.col-auto,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm,
.col-sm-auto,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md,
.col-md-auto,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg,
.col-lg-auto,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl,
.col-xl-auto,
.col-xxl-1,
.col-xxl-2,
.col-xxl-3,
.col-xxl-4,
.col-xxl-5,
.col-xxl-6,
.col-xxl-7,
.col-xxl-8,
.col-xxl-9,
.col-xxl-10,
.col-xxl-11,
.col-xxl-12,
.col-xxl,
.col-xxl-auto {
  padding-left: 12px;
  padding-right: 12px;
}

/* --- ELITE SEARCH PLATE (Glassmorphism) --- */
.hero-app-slider .search-plate {
  margin-top: -100px;
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
}

/* --- CUSTOM PILL TOGGLE --- */
.trip-type-pill {
  display: inline-flex;
  background: var(--slate-100);
  padding: 5px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

.trip-type-pill input[type="radio"] {
  display: none;
}

.trip-type-pill label {
  padding: 0.75rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--slate-500);
  cursor: pointer;
  position: relative;
  z-index: 3;
  margin: 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 5px);
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

#tt_oneway:checked~.pill-slider {
  transform: translateX(0);
}

#tt_multi:checked~.pill-slider {
  transform: translateX(100%);
}

#tt_oneway:checked~label[for="tt_oneway"],
#tt_multi:checked~label[for="tt_multi"] {
  color: var(--ocean-600);
}

/* --- ICON BOX UPGRADE --- */
.icon-box-xl {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: white;
  color: var(--ocean-600);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

/* --- FAQ LUXURY SECTION --- */
.faq-luxury-section {
  background-color: #0284c7;
  /* Deep Indigo */
  padding: 100px 0;
  color: white;
}

.faq-title-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: #fbbf24;
  /* Amber/Yellow for 'ASK ANYTHING' */
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1rem;
  display: block;
}

.faq-tabs-group {
  display: flex;
  gap: 12px;
  margin-bottom: 0rem;
  flex-wrap: wrap;
}

.faq-tab-btn {
  padding: 12px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
}

.faq-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.faq-tab-btn.active {
  background: white;
  color: #1e3a8a;
  border-color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-accordion-luxury {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item-luxury {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.faq-btn-luxury {
  width: 100%;
  padding: 24px 0;
  background: transparent;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  outline: none !important;
}

.faq-btn-luxury .chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.faq-btn-luxury[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
  background: white;
  color: #1e3a8a;
}

.faq-content-luxury {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0, 1, 0, 1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-content-luxury.show {
  max-height: 1000px;
  padding-bottom: 24px;
  transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

@media (max-width: 991px) {
  .faq-luxury-section {
    padding: 60px 0;
  }

  .faq-tabs-group {
    justify-content: center;
  }
}

.icon-box-app {
  width: 80px;
  height: 80px;
  border-radius: 1.5rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--ocean-600);
  box-shadow: 0 15px 35px rgba(13, 148, 136, 0.1);
  margin-bottom: 25px;
  border: 1.5px solid var(--ocean-50);
}

/* --- PARTNERS ROW POLISH --- */
.partners-row {
  border-top: none;
  border-bottom: 1px solid var(--slate-100);
  padding: 3rem 0;
}

.partners-row h5 {
  letter-spacing: 0.15em;
  opacity: 0.3;
  font-weight: 900;
  transition: var(--transition);
}

.partners-row h5:hover {
  opacity: 1;
  color: var(--ocean-600);
  transform: scale(1.05);
}

/* --- APP PROMO GLASS --- */
.app-promo-glass {
  background: linear-gradient(135deg, var(--ocean-600) 0%, var(--ocean-950) 100%);
}

.btn-glass-premium {
  background: #fff;
  color: var(--ocean-900);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-outline-glass-premium {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-glass-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-glass-premium:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.promo-glass-device {
  width: 280px;
  height: 480px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  margin: 0 auto;
  position: relative;
  transform: rotate(10deg) translateY(40px);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.deco-circle-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--sky-400), transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.deco-circle-2 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--coral-400), transparent 70%);
  opacity: 0.05;
  border-radius: 50%;
}

/* --- MMT ELITE VIEWPORT --- */
.hero-app-viewport {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-mmt {
  position: relative;
  z-index: 10;
  padding-bottom: 60px;
  /* Space for the card overlap */
}

/* --- MMT SEARCH CARD --- */
.search-section-mmt {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.mmt-search-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-100);
}

.mmt-segment-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.mmt-segment-card .mmt-swap-container {
  right: -14px;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

.mmt-segment-card:hover {
  background: #fff;
  border-color: var(--ocean-400);
  box-shadow: var(--shadow-md);
}

.btn-add-trip {
  color: var(--ocean-600);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-add-trip:hover {
  background: var(--ocean-50);
  color: var(--ocean-700);
  transform: translateX(5px);
}

.mmt-input-grid {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  overflow: visible;
  position: relative;
}

.mmt-input-block {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.mmt-input-block:hover {
  background: var(--slate-50);
}

.mmt-input-block-sm {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.mmt-input-block-sm .mmt-select,
.mmt-input-block-sm .mmt-input {
  font-size: 1.1rem !important;
}

.mmt-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--slate-400);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.mmt-select,
.mmt-input {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 1.25rem !important;
  color: var(--slate-900) !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
}

.border-end-mmt {
  border-right: 1px solid var(--slate-100);
}

/* --- SWAP BUTTON --- */
.mmt-swap-container {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
}

.mmt-swap-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--ocean-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mmt-swap-btn:hover {
  border-color: var(--ocean-400);
  color: var(--ocean-700);
  transform: scale(1.1);
}

.mmt-swap-btn:active {
  transform: scale(0.9);
}

.spinning {
  animation: mmtSpin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mmtSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- SEARCH ACTION --- */

/* --- JOURNEY SUMMARY (SAAS ELITE MINIMALIST) --- */
.saas-itinerary-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.saas-itinerary-card:hover {
  border-color: var(--ocean-400);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.saas-header-strip {
  background: #f8fafc;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-100);
}

.saas-leg-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--ocean-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.saas-body {
  padding: 1.5rem;
}

.saas-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.saas-port-unit {
  text-align: center;
  min-width: 70px;
}

.saas-port-code {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.saas-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
}

.saas-hairline {
  flex-grow: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--slate-200) 0, var(--slate-200) 5px, transparent 5px, transparent 10px);
  position: relative;
}

.saas-hairline i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 0 12px;
  color: var(--ocean-400);
  font-size: 0.8rem;
}

.saas-data-strip {
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.verified-itinerary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.saas-detail-item {
  color: var(--slate-400);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.saas-detail-item strong {
  color: var(--slate-600);
}

@media (max-width: 767px) {
  .saas-header-strip {
    padding: 0.6rem 1rem;
  }

  .saas-body {
    padding: 1.25rem 1rem;
  }

  .saas-port-code {
    font-size: 1.25rem;
  }

  .saas-data-strip {
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }
}

.mmt-action-area {
  margin-top: -25px;
  position: relative;
  z-index: 25;
}

.btn-mmt-search {
  background: linear-gradient(90deg, #059669, #0ea5e9);
  color: #fff;
  border: none;
  padding: 1rem 4rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-mmt-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(13, 148, 136, 0.4);
}

.mmt-stepper {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--slate-100);
  padding: 4px 12px;
  border-radius: 50px;
}

.mmt-stepper button {
  border: none;
  background: none;
  font-weight: 800;
  color: var(--ocean-600);
  padding: 0 5px;
}

/* --- MOBILE MMT ADAPTATION --- */
@media (max-width: 991px) {
  .mmt-segment-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  #multiWayContent .mmt-swap-container {
    left: 50%;
    bottom: -19px;
    right: auto;
    top: 55%;
  }

  .hero-app-viewport {
    height: 320px;
  }

  .hero-content-mmt h1 {
    font-size: 2rem;
  }

  .mmt-search-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .mmt-input-grid {
    border: none;
  }

  .mmt-input-block,
  .mmt-input-block-sm {
    border: 1px solid var(--slate-100);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: #fff;
  }

  .border-end-mmt {
    border: none;
  }

  .mmt-label {
    font-size: 0.6rem;
  }

  .mmt-select,
  .mmt-input {
    font-size: 1.1rem !important;
  }

  .mmt-swap-container {
    left: 50%;
    bottom: -19px;
    right: auto;
    top: auto;
    margin-top: 0;
    transform: translateX(-50%) rotate(90deg);
  }

  .mmt-swap-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .mmt-action-area {
    margin-top: 1rem;
  }

  .btn-mmt-search {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .mmt-pax-summary .fs-4 {
    font-size: 1.1rem !important;
  }
}

.island-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.island-name {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
}

/* ---------- SEARCH RESULTS COMPONENTS ---------- */
.search-summary-bar {
  background: var(--ocean-500);
  color: #fff;
  height: 60px;
  z-index: 1040;
}

.search-summary-bar .back-link {
  color: #fff;
  font-size: 1.1rem;
}

.search-summary-bar .text-slate-400 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.btn-filter-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-filter-pill:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sort-tabs {
  white-space: nowrap;
}

.sort-tab {
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s;
}

.sort-tab.active {
  background: var(--ocean-500);
  color: #fff;
  border-color: var(--ocean-500);
}

/* ---------- FERRY SUMMARY CARD (APP STYLE) ---------- */
.ferry-card-app {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--slate-200);
  transition: all 0.2s;
}

.ferry-card-app:active {
  transform: scale(0.98);
}

.ferry-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ferry-time-line {
  display: flex;
  align-items: center;
  gap: 15px;
}

.time-block {
  text-align: center;
}

.time-block .time {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
}

.time-block .code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-400);
}

.route-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  position: relative;
}

.route-indicator .duration {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.route-indicator .line {
  width: 100%;
  height: 2px;
  background: var(--slate-200);
  position: relative;
}

.route-indicator .line::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 8px;
  background: var(--ocean-500);
  border-radius: 50%;
}

.ferry-price-block {
  text-align: end;
}

.ferry-price-block .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ocean-500);
}

.ferry-price-block .suffix {
  font-size: 0.7rem;
  color: var(--slate-400);
  font-weight: 600;
}

.ferry-meta-row {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--slate-100);
  justify-content: space-between;
}

.operator-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-600);
}

.operator-indicator {
  width: 4px;
  height: 16px;
  border-radius: 2px;
}

.amenities-row {
  display: flex;
  gap: 8px;
  color: var(--slate-300);
  font-size: 0.8rem;
}

/* ---------- SECTION STYLES ---------- */
.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-500);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ocean-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
}

/* ---------- ROUTE CARDS ---------- */
.route-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  height: 280px;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.route-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.route-card:hover .route-card-bg {
  transform: scale(1.06);
}

.route-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}

.route-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.route-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.route-card-info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.route-card-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}

/* ---------- FEATURE CARDS ---------- */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--slate-100);
  transition: all var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--ocean-100);
  transform: translateY(-3px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.feature-icon.blue {
  background: var(--ocean-50);
  color: var(--ocean-600);
}

.feature-icon.coral {
  background: #fff7ed;
  color: var(--coral-500);
}

.feature-icon.teal {
  background: #f0fdfa;
  color: var(--teal-600);
}

.feature-icon.purple {
  background: #faf5ff;
  color: #9333ea;
}

.feature-card h5 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ---------- OPERATOR CARDS ---------- */
.operator-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-base);
}

.operator-card:hover {
  border-color: var(--ocean-200);
  box-shadow: var(--shadow-md);
}

.operator-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

.operator-card h6 {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.operator-card p {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--ocean-400), var(--ocean-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-trip {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* ---------- TRIP CARDS ---------- */
.trip-card {
  background: #fff;
  border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  position: relative;
}

.trip-card:hover {
  border-color: var(--ocean-200);
  box-shadow: var(--shadow-lg);
}

.trip-card.selected {
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
  background: var(--ocean-50);
}

.trip-operator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.trip-operator-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.7rem;
}

.trip-operator-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.trip-operator-vessel {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.trip-route {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trip-time {
  text-align: center;
}

.trip-time-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
}

.trip-time-port {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 500;
}

.trip-duration {
  flex: 1;
  text-align: center;
  position: relative;
}

.trip-duration-line {
  height: 2px;
  background: var(--slate-200);
  position: relative;
}

.trip-duration-line::before,
.trip-duration-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  transform: translateY(-50%);
}

.trip-duration-line::before {
  left: 0;
  background: var(--ocean-500);
}

.trip-duration-line::after {
  right: 0;
  background: var(--coral-500);
}

.trip-duration-text {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.35rem;
  font-weight: 500;
}

.trip-duration-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ocean-400);
  font-size: 1rem;
  background: #fff;
  padding: 0 0.3rem;
}

.trip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trip-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean-800);
}

.trip-price span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-400);
}

.trip-seats-left {
  font-size: 0.82rem;
  font-weight: 500;
}

.trip-seats-left.low {
  color: var(--danger);
}

.trip-seats-left.ok {
  color: var(--teal-600);
}

.trip-class-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-economy {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-premium {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.badge-business {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fef3c7;
}

.badge-royal {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fce7f3;
}

/* ---------- PROFESSIONAL AIRLINE-STYLE CARDS ---------- */
.trip-card-flight {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  border-left: 6px solid var(--ocean-500);
  /* Elite Accent */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trip-card-flight:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--ocean-200);
}

.trip-card-flight::after {
  content: 'Best Choice';
  position: absolute;
  top: 10px;
  right: -30px;
  background: var(--coral-500);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 30px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.operator-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.operator-logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.vessel-details h6 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.vessel-details p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 2px 0 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flight-timeline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.time-point {
  text-align: center;
  min-width: 60px;
}

.time-point .time {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.time-point .port {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 5px;
  text-transform: uppercase;
}

.timeline-connector {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  position: relative;
  top: 1px;
}

.connector-line::before,
.connector-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.connector-line::before {
  left: 0;
  background: var(--ocean-500);
}

.connector-line::after {
  right: 0;
  background: var(--coral-500);
}

.connector-ship {
  font-size: 1rem;
  color: var(--ocean-400);
  margin-top: -15px;
  background: #fff;
  padding: 0 10px;
  z-index: 2;
}

.duration-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 8px;
}

.amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.chip-amenity {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chip-amenity i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.chip-amenity.refundable {
  background: #ecfdf5;
  color: #059669;
  border-color: #d1fae5;
}

.price-action-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  margin: 1.5rem -1.5rem -1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.price-wrap .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
}

.price-wrap .amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ocean-800);
}

.price-wrap .amount span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.btn-select-flight {
  background: var(--ocean-600);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-select-flight:hover {
  background: var(--ocean-700);
  transform: scale(1.02);
}

/* ---------- SEAT LAYOUT & MODALS ---------- */
.class-card {
  border: 2px solid var(--slate-100);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}

.class-card:hover {
  border-color: var(--ocean-300);
  background: #f0f9ff;
}

.class-card.selected {
  border-color: var(--ocean-600);
  background: #f0f9ff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}

.class-card .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.class-card.premium .badge-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.class-card.deluxe .badge-icon {
  background: #dcfce7;
  color: #15803d;
}

.class-card.royal .badge-icon {
  background: #fef3c7;
  color: #b45309;
}

.vessel-container {
  /* background: #f1f5f9;
  padding: 3rem 1.5rem;
  border-radius: 40px 40px 60px 60px;
  max-width: 420px; */
  margin: 0 auto;
  /* border: 1px solid #e2e8f0; */
}

.vessel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  background: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.seat-grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 20px 0;
}

.seat-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #bae6fd;
  /* Available */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.seat-box.booked,
.seat-box.blocked {
  background: #f87171;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 75%, transparent);
  background-size: 10px 10px;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.9;
  border-color: #ef4444;
}

.seat-box.selected {
  background: #22c55e !important;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.seat-box.limit:not(.selected) {
  background: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.6;
}

.seat-legend {
  gap: 1rem;
}

.seat-legend .box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.seat-legend .box.avail {
  background: #bae6fd;
}

.seat-legend .box.booked {
  background: #f87171;
  border: 1px solid #ef4444;
}

.seat-legend .box.selected {
  background: #22c55e;
}

.seat-legend .box.limit {
  background: #cbd5e1;
}

/* ---------- STEPPER ---------- */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  padding: 0;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--slate-200);
  color: var(--slate-400);
  background: #fff;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.stepper-step.active .stepper-circle {
  background: var(--ocean-600);
  border-color: var(--ocean-600);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.stepper-step.completed .stepper-circle {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: #fff;
}

.stepper-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-400);
}

.stepper-step.active .stepper-label {
  color: var(--ocean-700);
  font-weight: 600;
}

.stepper-step.completed .stepper-label {
  color: var(--teal-600);
}

.stepper-line {
  width: 50px;
  height: 2px;
  background: var(--slate-200);
  margin: 0 0.5rem;
  flex-shrink: 0;
}

.stepper-line.completed {
  background: var(--teal-500);
}

/* ---------- FARE SUMMARY ---------- */
.fare-summary {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.fare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.92rem;
}

.fare-row.total {
  border-top: 2px solid var(--slate-200);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.fare-row.total .fare-amount {
  color: var(--ocean-700);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.fare-row .fare-label {
  color: var(--slate-600);
}

.fare-row .fare-amount {
  font-weight: 600;
  color: var(--slate-800);
}

.fare-row.discount .fare-amount {
  color: var(--success);
}

/* ---------- BOOKING CONFIRMATION ---------- */
.confirmation-box {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.2rem;
  color: #fff;
  animation: success-bounce 0.6s var(--transition-spring);
}

@keyframes success-bounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.booking-ref {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ocean-800);
  background: var(--ocean-50);
  border: 1px dashed var(--ocean-300);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  display: inline-block;
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
}

/* ---------- PROFILE ---------- */
.profile-header {
  background: linear-gradient(135deg, var(--ocean-900), var(--ocean-700));
  color: #fff;
  padding: 3rem 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.booking-history-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.booking-history-card:hover {
  box-shadow: var(--shadow-md);
}

.booking-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.booking-status.confirmed {
  background: #dcfce7;
  color: #15803d;
}

.booking-status.pending {
  background: #fef3c7;
  color: #b45309;
}

.booking-status.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.booking-status.completed {
  background: #dbeafe;
  color: #1d4ed8;
}

/* ---------- AUTH PAGES ---------- */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean-50) 0%, var(--slate-50) 50%, #fff 100%);
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.auth-header {
  background: linear-gradient(135deg, var(--ocean-900), var(--ocean-700));
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.auth-body {
  padding: 2rem;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--slate-100);
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-400);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  color: var(--ocean-700);
  border-bottom-color: var(--ocean-600);
}

.social-login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--slate-400);
  font-size: 0.82rem;
}

.social-login-divider::before,
.social-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--slate-700);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-social:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

/* ---------- FOOTER ---------- */
.footer-main {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 4rem 0 0;
}

.footer-main h5 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--ocean-400);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 1.5rem 0;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin: 0;
}

.footer-social a {
  color: var(--slate-400);
  font-size: 1.15rem;
  margin-left: 1rem;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--ocean-400);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--ocean-800), var(--ocean-600));
  padding: 4rem 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- FILTER SIDEBAR ---------- */
.filter-section {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.filter-section h6 {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.filter-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
  display: block;
}

.form-check-ferry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.form-check-ferry input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ocean-600);
  cursor: pointer;
}

.form-check-ferry span {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* ---------- COUPON INPUT ---------- */
.coupon-input-group {
  display: flex;
  gap: 0.5rem;
}

.coupon-input-group .form-control-ferry {
  flex: 1;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coupon-success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- ELITE SKELETON LOADING ---------- */
.skeleton-shimmer {
  background: #f1f5f9;
  background-image: linear-gradient(90deg, #f1f5f9 0px, #e2e8f0 40px, #f1f5f9 80px);
  background-size: 600px 100%;
  background-repeat: no-repeat;
  display: inline-block;
  line-height: 1;
  width: 100%;
  animation: shimmer-load 1.5s infinite linear;
  border-radius: 4px;
}

@keyframes shimmer-load {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.skeleton-card-elite {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #f1f5f9;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.skeleton-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.skeleton-box {
  height: 20px;
  border-radius: 6px;
}

/* ---------- HELIOS-STYLE ELITE SEARCH CARDS ---------- */
.trip-card-helios {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.25s ease;
  margin-bottom: 1rem;
}

.trip-card-helios:hover {
  border-color: #0ea5e9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .trip-card-helios {
    flex-direction: row;
    height: 110px;
  }
}

.helios-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

@media (min-width: 992px) {
  .helios-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #f1f5f9;
  }
}

/* 1. Operator Tile */
.helios-op {
  flex: 0 0 90px;
  align-items: center;
}

.routeText {
  font-size: 12px;
  color: #ffff;
}

.helios-logo-box {
  width: 80px;
  height: 60px;
  border: 1.5px solid #f1f5f9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
}

.helios-logo-box i {
  font-size: 1.4rem;
  color: #0ea5e9;
  margin-bottom: 2px;
}

/* 2. & 4. Port Times */
.helios-port-info {
  flex: 0 1 120px;
  align-items: center;
  text-align: center;
}

.helios-port-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.helios-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0ea5e9;
  line-height: 1;
}

.helios-date {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

/* 3. Timeline Center */
.helios-timeline-center {
  flex: 2;
  min-width: 120px;
  align-items: center;
}

.helios-duration {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.helios-path {
  width: 100%;
  height: 2px;
  background: #0ea5e9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helios-path::before,
.helios-path::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #0ea5e9;
  border-radius: 50%;
  top: -3px;
}

.helios-path::before {
  left: 0;
}

.helios-path::after {
  right: 0;
}

/* .helios-path::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  top: -8px;
  right: -5px;
  font-size: 0.8rem;
} */

.helios-ship-icon {
  background: #fff;
  padding: 0 10px;
  position: absolute;
  top: -12px;
}

.helios-ship-icon i {
  font-size: 1.2rem;
  color: #0ea5e9;
}

.helios-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 10px;
}

/* 5. Amenities Column */
.helios-amenities {
  flex: 0 1 130px;
  align-items: flex-start;
  padding-left: 1rem;
}

.helios-class {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
  white-space: nowrap;
}

.helios-tags {
  display: flex;
  gap: 6px;
  margin: 4px 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.helios-direct {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}

/* 6. Price & Action */
.helios-action {
  flex: 0 0 150px;
  align-items: center;
  background: #fff;
  margin-left: auto;
}

.helios-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0ea5e9;
  line-height: 1;
  margin-bottom: 2px;
}

.helios-price-sub {
  font-size: 0.7rem;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 8px;
}

.btn-helios-view {
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  transition: all 0.2s;
  width: 100%;
}

.btn-helios-view:hover {
  background: #0b7a6f;
  transform: translateY(-1px);
}

/* Row 2: Journey (The Horizontal Timeline) */
.helios-journey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0.25rem 0;
}

/* Mobile 'App-Like' Adaptations */
@media (max-width: 991px) {
  .trip-card-helios {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.5rem;
    height: auto;
  }

  .helios-section {
    padding: 0.4rem 0;
    border-bottom: none !important;
    text-align: left;
    align-items: flex-start;
  }

  .helios-section::after {
    display: none !important;
  }

  /* Row 1: Header (Operator & Vessel) */
  .helios-op {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    flex: 0 0 auto;
    border-bottom: 1px solid #f8fafc !important;
    padding-bottom: 0.5rem;
  }

  .helios-logo-box {
    width: 100px;
    height: 36px;
    margin: auto;
  }

  .helios-logo-box i {
    font-size: 1.1rem;
  }

  .helios-op::after {
    content: attr(data-vessel);
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
  }

  /* Row 2: Journey (The Horizontal Timeline) */
  .helios-journey-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0.25rem 0;
  }

  .helios-port-info {
    flex: 0 0 65px;
    padding: 0;
  }

  .helios-port-name {
    font-size: 0.55rem;
  }

  .helios-time {
    font-size: 1.25rem;
  }

  .helios-date {
    font-size: 0.6rem;
    margin-top: 2px;
  }

  .helios-timeline-center {
    flex: 1;
    padding: 0 0.5rem;
    min-width: 0;
    align-items: center;
  }

  .helios-duration {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .helios-path {
    height: 1.5px;
  }

  .helios-ship-icon {
    top: -10px;
    padding: 0 4px;
  }

  .helios-ship-icon i {
    font-size: 0.9rem;
  }

  .helios-type {
    display: none;
  }

  /* Row 3: Amenities */
  .helios-amenities {
    flex-direction: row;
    width: 100%;
    padding: 0;
    gap: 0.75rem;
    flex: 0 0 auto;
    border-top: 1px solid #f8fafc;
    padding-top: 0.5rem;
  }

  .helios-class,
  .helios-direct {
    font-size: 0.65rem;
  }

  .helios-tags {
    font-size: 0.75rem;
    margin: 0;
  }

  /* Row 4: Action Footer (Price & Button Side-by-Side) */
  .helios-action {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.25rem;
    background: #f8fafc;
    margin: 0.25rem -0.75rem -0.75rem -0.75rem;
    padding: 0.75rem;
    width: calc(100% + 1.5rem);
    flex: 0 0 auto;
  }

  .helios-price {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .helios-price-sub {
    font-size: 0.65rem;
    margin-bottom: 0;
    margin-left: 4px;
    display: inline-block;
  }

  .btn-helios-view {
    width: auto;
    padding: 0.4rem 1.25rem;
    font-size: 0.65rem;
  }
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--slate-300);
  margin-bottom: 1rem;
}

.empty-state h4 {
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--slate-400);
  font-size: 0.92rem;
}

/* ---------- TOAST ---------- */
.toast-ferry {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  min-width: 320px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-ferry.show {
  transform: translateX(0);
}

.toast-ferry.success {
  background: var(--success);
}

.toast-ferry.error {
  background: var(--danger);
}

.toast-ferry.info {
  background: var(--ocean-600);
}

.toast-ferry.warning {
  background: #d97706;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children */
.stagger-children>*:nth-child(1) {
  animation-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
  animation-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  animation-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
  animation-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
  animation-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
  animation-delay: 0.3s;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(135deg, var(--ocean-900), var(--ocean-700));
  color: #fff;
  padding: 2rem 0;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- PASSENGER FORM ---------- */
.passenger-form-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.passenger-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--ocean-100);
  color: var(--ocean-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- MISC UTILITIES ---------- */
.text-ocean {
  color: var(--ocean-600);
}

.text-coral {
  color: var(--coral-500);
}

.text-teal {
  color: var(--teal-600);
}

.bg-ocean-50 {
  background: var(--ocean-50);
}

.bg-ocean-gradient {
  background: linear-gradient(135deg, var(--ocean-700), var(--ocean-500));
}

.border-dashed {
  border-style: dashed !important;
}

.rounded-xl {
  border-radius: var(--radius-xl) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--slate-50);
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* Print styles for ticket */
@media print {

  .navbar-ferry,
  .footer-main,
  .btn,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .booking-ref {
    border: 2px solid #000;
  }
}



/* --- Operator Specific Layout Styles --- */
.operator-html-layout {
  overflow-x: auto;
  min-height: 200px;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.operator-html-layout table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.seat-box.limit {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* --- PREMIUM VESSEL LAYOUT --- */
.vessel-hull {
  position: relative;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 180px 180px 40px 40px;
  padding: 40px 20px 80px 20px;
  margin: 0 auto;
  max-width: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .vessel-hull {
    border-radius: 120px 120px 20px 20px;
    padding: 30px 10px 40px 10px;
  }
}

.window-seating-left,
.window-seating-right {
  position: absolute;
  top: 20%;
  bottom: 25%;
  width: 24px;
  background: #ebfef2;
  border: 1px solid #bce8ce;
  color: #1b4d3e;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.window-seating-left {
  left: 0px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.window-seating-right {
  right: 0px;
  writing-mode: vertical-lr;
}

.boat-front-label {
  text-align: center;
  margin-bottom: 20px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wheel-house {
  border: 2px dashed #e2e8f0;
  border-radius: 50px 50px 0 0;
  width: 140px;
  height: 60px;
  margin: 0 auto 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f8fafc;
}

.deck-rear-section {
  border: 1px solid #e2e8f0;
  background: #fcfcfc;
  border-radius: 8px;
  padding: 15px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.wc-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-icon {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
}

.stairs-icon {
  background: #fff;
  border: 1px dashed #cbd5e1;
  padding: 10px;
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  text-align: center;
  flex-grow: 1;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.seat-row-layout {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}

.seat-gap {
  width: 35px;
}

@media (max-width: 500px) {
  .seat-gap {
    width: 15px;
  }
}

.seat-icon-render {
  width: 28px;
  height: 32px;
  border: 1.5px solid #10b981;
  border-radius: 4px 4px 2px 2px;
  position: relative;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.seat-icon-render::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  height: 8px;
  border: 1.5px solid #10b981;
  border-radius: 2px;
  background: #ecfdf5;
}

.seat-icon-render:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

.seat-icon-render.selected {
  background: #1e3a8a;
  border-color: #1e3a8a;
}

.seat-icon-render.selected::before {
  border-color: #3b82f6;
  background: #60a5fa;
}

.seat-icon-render.sold {
  background: #cbd5e1;
  border-color: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.8;
}

/* For 'sold' we skip the inner highlight to make it look like a solid flat box from the mock */
.seat-icon-render.sold::before {
  display: none;
}

.seat-icon-render.other {
  border-color: #fca5a5;
  background: #fff;
  cursor: not-allowed;
}

.seat-icon-render.other::before {
  border-color: #fca5a5;
  background: #fef2f2;
}

.seat-icon-render.limit {
  cursor: not-allowed;
  opacity: 0.3;
}

.seat-tooltip-label {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #334155;
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 10;
}

/* =========================================================
   NAUTIKA PREMIUM VERTICAL LAYOUT
========================================================= */

.nautika-premium-hull {
  display: flex !important;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 100px 100px 30px 30px;
  position: relative;
  padding: 0 0 40px 0;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.nautika-header-plate {
  background: #f8fafc;
  padding: 35px 20px;
  text-align: center;
  color: #1e293b;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  margin-bottom: 30px;
}

.tracking-widest {
  letter-spacing: 5px;
  font-weight: 800;
}

.header-stairs {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  text-transform: uppercase;
  z-index: 5;
  border-radius: 12px;
}

.nautika-flex-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
  gap: 12px;
  /* Consistent Aisle Gap */
}

.nautika-class-divider {
  text-align: center;
  border-top: 1.5px dashed #e2e8f0;
  color: #94a3b8;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin: 30px 40px;
  padding-top: 10px;
}

.nautika-cafeteria-box {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  font-size: 0.85rem;
  font-weight: 700;
}

.operator-html-layout {
  width: 100%;
  overflow-x: auto;
  padding: 2rem 1rem;
  background: #fdfdfd;
  border: 2px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
  margin: 1rem 0;
}

.operator-html-layout table {
  margin: 0 auto !important;
  border-collapse: separate !important;
  border-spacing: 6px !important;
  font-family: 'Inter', sans-serif !important;
  background: transparent !important;
}

.operator-html-layout td,
.operator-html-layout th {
  border: 1.5px solid #e2e8f0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  min-width: 36px !important;
  height: 36px !important;
  text-align: center !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #ffffff !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}

/* Row/Column headers (labels) */
.operator-html-layout th {
  background: #f8fafc !important;
  color: #94a3b8 !important;
  border-color: transparent !important;
  cursor: default !important;
  box-shadow: none !important;
}

/* Hover Effect */
.operator-html-layout td:not(.booked):not(.occupied):hover {
  background: #f1f5f9 !important;
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
}

/* Selected State */
.operator-html-layout td.selected,
.operator-html-layout .selected {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border-color: #1e3a8a !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
  transform: scale(1.05);
  z-index: 2;
}

/* Booked/Occupied State */
.operator-html-layout td.occupied,
.operator-html-layout td.booked,
.operator-html-layout .booked,
.operator-html-layout .occupied {
  background: #f1f5f9 !important;
  color: #cbd5e1 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.6;
}

/* Aisle/Spacing Cleanup */
.operator-html-layout td:empty,
.operator-html-layout td[empty] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.operator-html-layout .occupied {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.seat-icon-render:hover .seat-tooltip-label {
  opacity: 1;
}


.col-xs-1 {
  flex: 0 0 auto;
  width: 8.33333333% !important;
}

.btn.class_selection {
  background: #e9ecef !important;
  color: #595959;
  font-size: 7px;
  font-family: 'Poppins';
  padding: 4px;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid #8b8b8b !important;
}


.btn.class_selection.disablebutton {
  color: #000 !important;
  background: #ffc107 !important;
}

.btn.class_selection.btn-danger {
  background: #28a745 !important;
  border: none;
  color: #000;
}

.btn.class_selection.btn-danger:disabled {
  color: #000 !important;
  background: #ffc107 !important;
  ;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background-color: #ebebeb;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #0b123a;
}

/* Seat Layout Flexbox */
.greenocean-ba-seat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* Seat Styling */
.greenocean-ba-seat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  align-content: center;
}

.greenocean-ba-seat.available {
  background-color: #e9ecef;
}

.greenocean-ba-seat.booked {
  background-color: #ffc107;
  cursor: not-allowed;
}

.greenocean-ba-seat.selected {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.greenocean-ba-seat input[type="checkbox"] {
  display: none;
}

.greenocean-ba-seat label {
  cursor: pointer;
  font-size: 13px;
  margin: 0
}

.greenocean-ba-seat input[type="checkbox"]:checked+label {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
  width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  border-radius: 5px;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* Seat Details Legend */
.greenocean-ba-seat-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.greenocean-ba-seat-details ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.greenocean-ba-box {
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 4px;
}

.greenocean-ba-box.greenocean-ba-taken {
  background-color: #ffc107;
}

.greenocean-ba-box.greenocean-ba-selected {
  background-color: #28a745;
}

.greenocean-ba-box.greenocean-ba-available {
  background-color: #e9ecef;
}

/* Selected Seats Summary */
.greenocean-ba-selected-summary {
  margin-top: 20px;
  padding: 15px;
  background-color: #f1f1f1;
  border-radius: 10px;
}

.greenocean-ba-selected-summary h6 {
  font-size: 16px;
  margin-bottom: 10px;
}

.greenocean-ba-selected-summary ul {
  list-style: none;
  padding: 0;
}

.greenocean-ba-selected-summary ul li {
  font-size: 14px;
  margin-bottom: 5px;
}

.greenocean-ba-selected-summary p {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

.greenocean-ba-seat-details {
  display: flex;
  justify-content: center;
}

/* --- ADDITIONAL BILLING STYLES --- */
.billing-banner-helios {
  background: #055a1d;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px 18px 0 0;
}

.billing-banner-helios i {
  font-size: 1rem;
}

.billing-accordion-header {
  color: #1e40af;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.billing-accordion-header:hover {
  color: #1e3a8a;
}

.billing-accordion-header .chevron {
  transition: transform 0.3s;
  font-size: 0.8rem;
}

.billing-accordion-header[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.partner-logos-compact {
  gap: 10px
}

.partner-logos-compact span {
  font-size: 20px;
}

@media (max-width: 768px) {
  .partner-logos-compact {
    gap: 10px
  }

  .partner-logos-compact span {
    font-size: 12px;
  }
}

/* ============================================================

/* ============================================================
   PROFESSIONAL COMPACT AUTH (v3.0)
   Centered responsive layout without sidebars
   ============================================================ */

/* Universal Animated Background */
.auth-blob-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.6;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  animation: blob-move 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--ocean-100);
  top: -50px;
  left: -50px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--cream-100);
  bottom: -100px;
  right: -100px;
  animation-delay: -5s;
}

@keyframes blob-move {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, 50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  background: var(--slate-50);
}

.auth-compact-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--slate-100);
  z-index: 2;
  animation: authCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardEntrance {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-brand-area {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand-logo {
  width: 48px;
  height: 48px;
  background: var(--ocean-600);
  color: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Redefining compact inputs for unified use */
.input-group-compact {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.input-group-compact .floating-group {
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--slate-100);
}

.input-group-compact .floating-group:last-child {
  border-bottom: none;
}

.input-group-compact .floating-input {
  border: none !important;
  border-radius: 0 !important;
  height: 60px;
  padding: 24px 16px 8px;
  width: 100%;
}

.input-group-compact .floating-label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-400);
  pointer-events: none;
  transition: var(--transition);
}

.input-group-compact .floating-input:focus~.floating-label,
.input-group-compact .floating-input:not(:placeholder-shown)~.floating-label {
  top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ocean-600);
}

.auth-tabs-premium {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-500);
  transition: var(--transition);
}

.auth-tab-btn.active {
  background: #fff;
  color: var(--ocean-600);
  box-shadow: var(--shadow-sm);
}

/* Social Buttons refinement */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.btn-social-compact {
  height: 48px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  transition: var(--transition);
}

.btn-social-compact:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.floating-input.is-invalid {
  border-color: #ef4444 !important;
}

.floating-input.is-invalid~.floating-label {
  color: #ef4444 !important;
}


.btn-back-app {
  z-index: 100 !important;
  background: #fff !important;
  box-shadow: var(--shadow-md) !important;
}

@media (max-width: 768px) {
  .btn-back-app {
    margin: 16px !important;
  }
}


/* --- COMPACT AUTH BUG FIXES --- */
.floating-group {
  position: relative !important;
}

.input-group-compact .floating-label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 1rem;
  color: var(--slate-400);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 5;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
  top: 6px !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  color: var(--ocean-600);
}

.auth-brand-logo i {
  font-size: 1.8rem;
}

.btn-ocean-compact {
  background: #0284c7 !important;
  transition: all 0.2s;
}

.btn-ocean-compact:hover {
  background: #0369a1 !important;
  transform: translateY(-1px);
}


/* --- ELITE FINISH OVERRIDES --- */
.btn-back-app {
  width: 42px !important;
  height: 42px !important;
  background: #fff !important;
  border-radius: 50% !important;
  border: 1px solid var(--slate-200) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  color: var(--slate-800) !important;
  display: flex !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  justify-content: center;
  align-items: center;
}

.btn-back-app:hover {
  transform: translateX(-3px);
  background: var(--slate-50) !important;
}

.input-group-compact {
  border: 1.5px solid var(--slate-200) !important;
  border-radius: 16px !important;
  background: #fff !important;
  overflow: hidden;
}

.floating-input {
  outline: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.floating-input:focus {
  background: rgba(14, 165, 233, 0.04) !important;
}

.input-group-compact .floating-group {
  border-bottom: 1.5px solid var(--slate-100) !important;
}

.input-group-compact .floating-group:last-child {
  border-bottom: none !important;
}

.auth-compact-card {
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.btn-ocean-compact {
  height: 56px !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
  border-radius: 14px !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px -10px rgba(2, 132, 199, 0.5) !important;
}

.btn-social-compact {
  border-radius: 12px !important;
  border: 1.5px solid var(--slate-100) !important;
  font-size: 0.85rem !important;
  height: 50px !important;
}

/* --- NATIVE APP SHELL & PROFILE REDESIGN --- */

.nav-avatar {
  width: 32px;
  height: 32px;
  background: var(--ocean-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-app-header {
  background: linear-gradient(135deg, var(--ocean-600) 0%, var(--ocean-800) 100%);
  padding: 60px 20px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.profile-app-header::after {
  content: " ";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.profile-avatar-large {
  width: 90px;
  height: 90px;
  background: #fff;
  color: var(--ocean-600);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* App-Style Booking Cards */
.app-booking-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-100);
  position: relative;
  transition: transform 0.2s;
}

.app-booking-card:active {
  transform: scale(0.98);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.status-badge-app {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-app.confirmed {
  background: #dcfce7;
  color: #166534;
}

.status-badge-app.pending {
  background: #fef9c3;
  color: #854d0e;
}

.status-badge-app.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.route-info-app {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.route-dot {
  width: 8px;
  height: 8px;
  background: var(--ocean-500);
  border-radius: 50%;
}

.route-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--slate-200) 0, var(--slate-200) 5px, transparent 5px, transparent 10px);
}

.trip-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px dashed var(--slate-100);
}

.detail-item-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.detail-item-app i {
  color: var(--ocean-500);
}

.detail-item-app strong {
  color: var(--slate-900);
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  /* Space for bottom nav */
  .profile-header {
    display: none;
  }

  /* Hide old header */
  .section-padding {
    padding-top: 0 !important;
  }
}


/* --- ULTRA-COMPACT REDESIGN --- */

.profile-app-header {
  padding: 40px 20px 30px !important;
  /* Shallower header */
}

.profile-avatar-large {
  width: 70px !important;
  height: 70px !important;
  font-size: 1.8rem !important;
  margin: 0;
}

.app-booking-card {
  padding: 14px 18px !important;
  border-radius: 16px !important;
}

.pnr-badge {
  background: linear-gradient(135deg, #fefce8 0%, #fde68a 100%);
  color: #854d0e;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #fcd34d;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.app-card-ribbon {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--slate-100);
}

.ribbon-item {
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-400);
}

.ribbon-item i {
  color: var(--ocean-500);
  font-size: 0.8rem;
}

.route-info-app .route-line {
  background: var(--slate-200) !important;
}

@media (min-width: 768px) {
  .profile-app-header {
    border-radius: 0 0 40px 40px;
    max-width: 800px;
    margin: 0 auto;
  }
}


/* --- MAKEMYTRIP / BOOKING.COM STYLE DASHBOARD --- */

.mmt-dashboard-wrapper {
  background: #f5f7fa;
  min-height: calc(100vh - 60px);
  padding: 40px 0;
}

.mmt-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 90px;
}

.sidebar-user-brief {
  border-bottom: profile-avatar-large;
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.mmt-sidebar-nav .nav-link {
  color: var(--slate-600);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
  display: flex !important;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  border: none;
  width: 100%;
}

.mmt-sidebar-nav .nav-link:hover {
  background: var(--ocean-50);
  color: var(--ocean-600);
}

.mmt-sidebar-nav .nav-link.active {
  background: var(--ocean-600) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Timeline Ticket System */
.mmt-ticket-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.2s;
}

.ticket-top-info {
  background: var(--slate-50);
  padding: 12px 20px;
  border-bottom: 1px dashed var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-pnr-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pnr-box {
  background: #fff;
  border: 1px solid var(--ocean-200);
  color: var(--ocean-700);
  font-family: monospace;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.ticket-main-content {
  padding: 24px;
}

.mmt-timeline {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.timeline-station .time {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
}

.timeline-station .station {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

.timeline-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--slate-200);
  position: relative;
}

.connector-line::before,
.connector-line::after {
  content: " ";
  width: 6px;
  height: 6px;
  background: var(--slate-300);
  border-radius: 50%;
  position: absolute;
  top: -2px;
}

.connector-line::before {
  left: 0;
}

.connector-line::after {
  right: 0;
}

.ship-icon-moving {
  font-size: 1.2rem;
  color: var(--ocean-500);
  margin-bottom: 4px;
}

.duration-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
}

.ticket-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--slate-50);
}

.operator-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.operator-logo-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Profile Progress Bar */
.profile-completion-card {
  background: linear-gradient(135deg, var(--ocean-600) 0%, var(--ocean-800) 100%);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  margin-bottom: 24px;
}

.progress-app-h {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-app-fill {
  height: 100%;
  background: #fbbf24;
  /* Amber/Gold */
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

@media (max-width: 768px) {
  .mmt-dashboard-wrapper {
    padding: 20px 0;
  }

  .mmt-timeline {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mmt-timeline .timeline-connector {
    display: none;
  }

  .timeline-station {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .sidebar-user-brief {
    display: none;
  }
}



/* --- MODERN DASHBOARD FORMS (MMT REDESIGN) --- */
.form-label-ferry {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 8px;
  display: block;
}

.form-control-ferry {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
}

.form-control-ferry:focus {
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-control-ferry[readonly] {
  background: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-ocean {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4);
  transition: all 0.2s ease;
}

.btn-ocean:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(14, 165, 233, 0.5);
  color: #fff;
}



/* --- MARITIME ELITE TICKET SYSTEM --- */
.mmt-ticket-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  margin-bottom: 24px;
}

/* Ticket Side Notches */
.ticket-top-info::before,
.ticket-top-info::after {
  content: " ";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #f5f7fa;
  /* Matches page background */
  border-radius: 50%;
  bottom: -12px;
  z-index: 10;
  border: 1.5px solid #f1f5f9;
}

.ticket-top-info::before {
  left: -12px;
}

.ticket-top-info::after {
  right: -12px;
}

/* Ship Movement Animation */
@keyframes ferry-sail {
  0% {
    transform: translateX(-50px) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(50px) rotate(2deg);
    opacity: 0;
  }
}

.ship-icon-moving i {
  display: inline-block;
  animation: ferry-sail 4s infinite ease-in-out;
  color: #0ea5e9;
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

/* Happy Journey Badge */
.happy-journey-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #166534;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid #bbf7d0;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .mmt-timeline {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 10px 0;
    position: relative;
    text-align: left;
  }

  .timeline-station {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .timeline-station .time {
    font-size: 1.1rem !important;
    min-width: 80px;
  }

  .timeline-connector {
    display: none !important;
    /* Hide horizontal connector on mobile */
  }

  .ticket-main-content {
    padding: 20px !important;
  }

  .ticket-bottom-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
    border-top: 1.5px dashed #f1f5f9;
  }
}

/* --- BOARDING PASS TICKET SYSTEM (ELITE REDESIGN) --- */
.boarding-pass {
  display: flex;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  margin-bottom: 25px;
  position: relative;
  border: 1px solid #f1f5f9;
  min-height: 220px;
  overflow: hidden;
}

/* Side Notches */
.boarding-pass::before,
.boarding-pass::after {
  content: " ";
  position: absolute;
  width: 30px;
  height: 30px;
  background: #f5f7fa;
  border-radius: 50%;
  top: 50%;
  margin-top: -15px;
  z-index: 5;
  border: 1px solid #f1f5f9;
}

.boarding-pass::before {
  left: -15px;
}

.boarding-pass::after {
  right: -15px;
}

.pass-main {
  flex: 3;
  padding: 24px 32px;
  border-right: 2px dashed #e2e8f0;
  position: relative;
}

.pass-stub {
  flex: 1;
  background: #fafafa;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Visual Perforation Dots */
.pass-main::after,
.pass-main::before {
  content: \\;
  position: absolute;
  right: -11px;
  width: 20px;
  height: 20px;
  background: #f5f7fa;
  border-radius: 50%;
  z-index: 10;
  border: 1px solid #f1f5f9;
}

.pass-main::before {
  top: -11px;
}

.pass-main::after {
  bottom: -11px;
}

.pass-label {
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.pass-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.pass-value.large {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.barcode-area {
  margin-top: 20px;
  text-align: center;
}

.barcode-strip {
  height: 40px;
  background: repeating-linear-gradient(90deg, #0f172a 0px, #0f172a 2px, transparent 2px, transparent 5px);
  width: 100%;
  opacity: 0.8;
}

@media (max-width: 991px) {
  .boarding-pass {
    flex-direction: column;
    min-height: auto;
  }

  .pass-main {
    border-right: none;
    border-bottom: 2px dashed #e2e8f0;
    padding: 20px;
  }

  .pass-main::before,
  .pass-main::after {
    left: 50%;
    margin-left: -10px;
    right: auto;
  }

  .pass-main::before {
    top: auto;
    bottom: -11px;
    left: -11px;
    margin-left: 0;
  }

  .pass-main::after {
    top: auto;
    bottom: -11px;
    right: -11px;
    margin-left: 0;
  }

  .boarding-pass::before,
  .boarding-pass::after {
    display: none;
  }
}



/* --- PRECISION ORANGE BOARDING PASS (SAMPLE MATCH) --- */
:root {
  --pass-orange: #f97316;
  --pass-orange-dark: #ea580c;
  --pass-cream: #fffaf5;
}

.boarding-pass-v2 {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  position: relative;
  border: 1px solid #fed7aa;
  overflow: hidden;
  min-height: 200px;
  background-image: radial-gradient(var(--slate-100) 0.5px, transparent 0.5px);
  background-size: 10px 10px;
}

.pass-v2-main {
  flex: 2.5;
  padding: 24px;
  border-right: 2px dotted #fdba74;
  position: relative;
}

.pass-v2-stub {
  flex: 1;
  background: var(--pass-cream);
  padding: 20px;
  position: relative;
}

.stub-header-bar {
  background: var(--pass-orange);
  color: #fff;
  padding: 6px 15px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 15px;
}

.pass-v2-main::before,
.pass-v2-main::after {
  content: " ";
  position: absolute;
  right: -13px;
  width: 26px;
  height: 26px;
  background: #f5f7fa;
  border-radius: 50%;
  z-index: 10;
  border: 1px solid #fed7aa;
}

.pass-v2-main::before {
  top: -13px;
}

.pass-v2-main::after {
  bottom: -13px;
}

.v2-label {
  font-size: 0.65rem;
  color: #9a3412;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.v2-value {
  font-size: 1.1rem;
  color: #431407;
  font-weight: 800;
}

.v2-value.small {
  font-size: 0.9rem;
}

.v2-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--pass-orange-dark);
}

@media (max-width: 800px) {
  .boarding-pass-v2 {
    flex-direction: column;
  }

  .pass-v2-main {
    border-right: none;
    border-bottom: 2px dotted #fdba74;
  }

  .pass-v2-main::before,
  .pass-v2-main::after {
    bottom: -13px;
    top: auto;
    left: -13px;
    right: auto;
  }

  .pass-v2-main::after {
    left: auto;
    right: -13px;
  }
}


.v2-status-pill {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.v2-status-pill.confirmed {
  background: #dcfce7;
  color: #15803d;
}

.v2-status-pill.pending {
  background: #fef9c3;
  color: #a16207;
}

.v2-status-pill.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}