@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Tajawal:wght@400;500;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* ── redBus Design System Color Palette ── */
  /* Brand 1 (Primary): Signature redBus Red */
  --brand-primary: #D84444;
  --brand-primary-hover: #C53030;
  --brand-primary-dark: #9B1C1C;
  --brand-primary-light: #FFF5F2;
  --brand-primary-subtle: #FFE4DE;
  --brand-primary-border: #FCA5A5;
  --primary-red: #D84444;
  --primary-red-hover: #C53030;
  --primary-red-dark: #9B1C1C;
  --primary-red-light: #FFF5F2;

  /* Brand 2 (Neutrals & Slate Text) */
  --brand-navy: #1D252C;
  --brand-navy-light: #2D3748;
  --brand-navy-muted: #4A5568;
  --text-primary: #1D252C;
  --text-secondary: #475467;
  --text-muted: #68717A;
  --surface-white: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --border-light: #E5E7EB;
  --border-focus: #D84444;

  /* Brand 3 (Tertiary Accent): Warm Amber Gold */
  --brand-amber: #D97706;
  --brand-amber-light: #F59E0B;
  --brand-amber-bg: #FEF3C7;
  --brand-amber-border: #FDE68A;
  --brand-amber-dark: #B45309;

  /* Women Seating Accent (redBus Rose / Soft Pink) */
  --women-pink: #D84444;
  --women-pink-bg: #FFF1F2;
  --women-pink-border: #FECDD3;

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  --font-arabic: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
}

/* ── Hide Odoo Core Default Skip to Content Link ── */
.o_skip_to_content,
a.o_skip_to_content,
a[href="#wrap"].visually-hidden-focusable,
a[href="#wrap"],
.visually-hidden-focusable {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ── Suppress Unstyled Backend & Editor Navigation for Internal Users on RouteGo Portal ── */
.o_frontend_to_backend_nav,
.o_frontend_to_backend_buttons,
.o_frontend_to_backend_apps_menu,
.o_frontend_to_backend_edit_btn,
.o_frontend_to_backend_icon,
#oe_main_menu_navbar,
.o_main_navbar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  overflow: hidden !important;
}

.rg-body, .rg-portal-wrap {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.rg-body *, .rg-portal-wrap * {
  box-sizing: border-box;
}

/* LTR Support (English Mode) */
html[dir="ltr"] .rg-body,
html[dir="ltr"] .rg-portal-wrap,
body.rg-ltr,
.rg-portal-wrap.rg-ltr {
  direction: ltr !important;
  text-align: left !important;
  font-family: var(--font-en), var(--font-arabic) !important;
}

.rg-ltr .rg-search-field:not(:last-child) {
  border-left: none !important;
  border-right: 1px solid var(--border-light) !important;
}

.rg-ltr .rg-price-col {
  text-align: right !important;
}

.rg-ltr .rg-banner-switcher {
  left: auto !important;
  right: 24px !important;
}

.rg-ltr .rg-suggestions {
  text-align: left !important;
}

.rg-ltr .rg-seat-summary-box {
  text-align: left !important;
}


/* ============================================================
   TOP DISCOUNT ANNOUNCEMENT BANNER (redBus Style)
   ============================================================ */
.rg-top-announcement-banner {
  background: #FFF5F2 !important;
  border-bottom: 1px solid #FFE4DE !important;
  color: #1D252C;
  font-family: var(--font-arabic);
  font-size: 13px;
  position: relative;
  z-index: 1001;
  width: 100%;
  max-height: 54px;
  overflow: hidden;
  box-sizing: border-box;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, padding 0.3s ease;
}

.rg-top-announcement-banner.rg-banner-closed {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.rg-announcement-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5px 44px 5px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 38px;
  box-sizing: border-box;
}

.rg-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rg-announcement-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.12));
  transition: transform 0.25s ease;
}

.rg-top-announcement-banner:hover .rg-announcement-icon-wrap {
  transform: scale(1.05) rotate(-2deg);
}

.rg-announcement-text-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}

.rg-announcement-title {
  font-weight: 700;
  color: #0F172A;
  font-size: 13.5px;
  letter-spacing: -0.2px;
}

.rg-announcement-desc {
  color: #64748B;
  font-weight: 500;
}

.rg-banner-code {
  background: #FFFFFF;
  border: 1px dashed var(--brand-primary);
  color: var(--brand-primary);
  padding: 1px 8px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(225, 29, 72, 0.08);
}

.rg-banner-code:hover {
  background: var(--brand-primary-light);
  border-style: solid;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.18);
}

.rg-announcement-btn {
  background: #FFFFFF;
  color: #1D252C;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 5px 16px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  white-space: nowrap;
}

.rg-announcement-btn:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.rg-announcement-btn:active {
  transform: translateY(0);
}

.rg-announcement-close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #64748B;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.rg-announcement-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111827;
  transform: translateY(-50%) scale(1.1);
}

.rg-announcement-close:active {
  transform: translateY(-50%) scale(0.95);
}

/* LTR Adjustments */
.rg-ltr .rg-announcement-container {
  padding: 8px 24px 8px 48px;
}

.rg-ltr .rg-announcement-close {
  left: auto;
  right: 20px;
}

/* Mobile & Tablet Responsive */
@media (max-width: 880px) {
  .rg-announcement-container {
    padding: 7px 42px 7px 16px;
    min-height: 44px;
  }

  .rg-ltr .rg-announcement-container {
    padding: 7px 16px 7px 42px;
  }

  .rg-announcement-content {
    gap: 10px;
  }

  .rg-announcement-text-group {
    font-size: 12.5px;
    gap: 6px;
  }

  .rg-announcement-title {
    font-size: 13px;
  }

  .rg-announcement-btn {
    padding: 4px 12px;
    font-size: 11.5px;
  }

  .rg-announcement-close {
    left: 10px;
    width: 26px;
    height: 26px;
  }

  .rg-ltr .rg-announcement-close {
    right: 10px;
    left: auto;
  }
}

@media (max-width: 580px) {
  .rg-top-announcement-banner {
    max-height: 120px;
  }

  .rg-announcement-container {
    padding: 6px 36px 6px 10px;
  }

  .rg-ltr .rg-announcement-container {
    padding: 6px 10px 6px 36px;
  }

  .rg-announcement-content {
    gap: 6px;
  }

  .rg-announcement-icon-wrap svg {
    width: 28px;
    height: 22px;
  }

  .rg-announcement-text-group {
    font-size: 11.5px;
  }

  .rg-announcement-desc {
    display: none; /* Keep it ultra-clean on narrow phones */
  }

  .rg-announcement-btn {
    padding: 3px 10px;
    font-size: 11px;
  }
}

/* ============================================================
   TOP NAVBAR (redBus Style)
   ============================================================ */
.rg-navbar {
  background: var(--surface-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rg-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Expansive, clean empty space in the middle like redBus */
}

.rg-nav-start {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  flex-shrink: 0;
}

.rg-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rg-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Subtle Vertical Divider between Logo and Service Tabs */
.rg-nav-divider {
  width: 1px;
  height: 28px;
  background-color: #E2E8F0;
  margin: 0 4px;
  flex-shrink: 0;
}

/* Service Tabs (Bus, Train, Hotels) - EXACT redBus Vertical Column Stack */
.rg-nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 68px;
  margin: 0;
  padding: 0;
}

.rg-nav-tab {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 10px 18px 8px 18px !important;
  height: 68px !important;
  color: #1D252C !important;
  text-decoration: none !important;
  position: relative !important;
  transition: all 0.15s ease !important;
  border-bottom: 3px solid transparent !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

.rg-nav-tab svg,
.rg-nav-tab .rg-tab-icon {
  width: 26px !important;
  height: 20px !important;
  display: block !important;
  stroke: #1D252C !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.rg-nav-tab span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: inherit !important;
  line-height: 1.2 !important;
  letter-spacing: -0.1px !important;
  display: block !important;
}

.rg-nav-tab:hover {
  color: #D84444 !important;
}

.rg-nav-tab:hover svg,
.rg-nav-tab:hover .rg-tab-icon {
  stroke: #D84444 !important;
}

.rg-nav-tab.active {
  color: #D84444 !important;
  border-bottom: 3px solid #D84444 !important;
}

.rg-nav-tab.active svg,
.rg-nav-tab.active .rg-tab-icon {
  stroke: #D84444 !important;
}

.rg-nav-tab.active span {
  font-weight: 700 !important;
  color: #D84444 !important;
}

/* Right Nav Utilities (Bookings, Help, Account) - EXACT redBus Horizontal Clustered Style */
.rg-nav-actions {
  display: flex;
  align-items: center;
  gap: 32px; /* Generous breathing room as in the redBus screenshot */
  flex-shrink: 0;
}

.rg-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1D252C;
  text-decoration: none;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.rg-action-link:hover {
  color: #D84444;
  background: transparent;
}

.rg-action-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.rg-action-link span {
  font-size: 13.5px;
  font-weight: 500;
  color: inherit;
  line-height: 1;
}

.rg-action-link:hover svg {
  stroke: #D84444;
}

.rg-nav-admin-btn {
  background: #0F172A !important;
  color: #FFFFFF !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
}

.rg-nav-admin-btn:hover {
  background: #D84E55 !important;
  border-color: #D84E55 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(216, 78, 85, 0.3) !important;
}

.rg-nav-admin-btn svg {
  stroke: #FFFFFF !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}

.rg-lang-badge {
  background: #F8FAFC;
  color: var(--brand-navy);
  border: 1.5px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.rg-lang-badge:hover {
  background: #FFFFFF;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ============================================================
/* ============================================================
   SUDAN TRANSPORTATION CARTOON HERO BANNER (Light Palette & Sharp Edges)
   ============================================================ */
.rg-hero-section {
  position: relative;
  width: 100%;
  /* Height follows the image aspect ratio (1024x404 => 39.45vw) so the
     photo scales identically on every screen; clamped for text/legibility. */
  height: clamp(300px, 39.45vw, 420px);
  min-height: 0;
  max-height: none;
  background-color: #F8E8C8;
  background-image: url('../img/hero_sudan_bus_rtl.jpg');
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 0 !important;
  border-bottom: 1.5px solid #E5D5B8;
}

.rg-ltr .rg-hero-section,
[dir="ltr"] .rg-hero-section,
body.rg-ltr .rg-hero-section {
  background-image: url('../img/hero_sudan_bus_ltr.jpg');
  background-position: right bottom;
}

/* Remove decorative pattern & bottom blur fade for 100% sharp edges */
.rg-hero-pattern-layer,
.rg-hero-bottom-fade {
  display: none !important;
  height: 0 !important;
  background: none !important;
}

.rg-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.rg-hero-text-col {
  flex: 1;
  max-width: 580px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(229, 213, 184, 0.85);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.rg-hero-visual-col {
  display: none !important;
}

.rg-hero-travel-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.rg-badge-sub {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #D84E55;
  font-family: var(--font-en), sans-serif;
}

.rg-badge-main {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.4px;
  font-family: var(--font-en), sans-serif;
}

.rg-hero-content, .rg-hero-content-wrap {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 72px 24px;
  width: 100%;
}

.rg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFBEB;
  border: 1.5px solid #F59E0B;
  color: #92400E;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-arabic);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.rg-live-dot {
  color: #10B981;
  font-size: 11px;
  margin-left: 2px;
  animation: rgDotBlink 1.8s ease-in-out infinite;
}

@keyframes rgDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.rg-hero-title {
  font-family: var(--font-arabic) !important;
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  max-width: 820px;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.rg-hero-highlight-pill {
  display: inline;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.rg-hero-highlight-text {
  color: #FFFFFF;
  font-weight: 800;
}

.rg-hero-subtitle {
  font-family: var(--font-arabic) !important;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Hero Typography (Crisp & Sharp on Light Sudan Cartoon Canvas) */
.rg-hero-title-box {
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 100%;
}

.rg-hero-box-main {
  font-family: var(--font-arabic), 'Cairo', sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.3px !important;
  text-shadow: none !important;
}

.rg-ltr .rg-hero-box-main, [dir="ltr"] .rg-hero-box-main {
  font-family: var(--font-en), 'Plus Jakarta Sans', system-ui, sans-serif !important;
  letter-spacing: -0.5px !important;
}

.rg-hero-box-sub {
  font-family: var(--font-arabic), 'Cairo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
}

.rg-ltr .rg-hero-box-sub, [dir="ltr"] .rg-hero-box-sub {
  font-family: var(--font-en), 'Plus Jakarta Sans', system-ui, sans-serif !important;
}

.rg-hero-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-hero-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-arabic);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.rg-hero-tag:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.rg-banner-switcher {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rg-switch-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  font-family: var(--font-arabic);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rg-switch-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FLOATING SEARCH WIDGET (Compact, Sleek, Low-Height Modern Layout)
   ============================================================ */
.rg-search-wrapper {
  position: relative;
  z-index: 50;
  max-width: 1240px;
  margin: -48px auto 0 auto;
  padding: 0 24px;
}

.rg-search-card {
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid #E5E7EB;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.rg-search-card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.rg-search-grid {
  display: grid;
  grid-template-columns: 1.25fr 36px 1.25fr 1.35fr 1.45fr;
  align-items: stretch;
  width: 100%;
  gap: 0;
  min-height: 78px;
}

/* Individual Search Field inside Unified Card */
.rg-search-field {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 13px 20px 14px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  transition: background-color 0.2s ease;
}

.rg-search-field:first-child {
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
}

.rg-ltr .rg-search-field:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
}

.rg-search-field:hover {
  background: #F9FAFB;
}

.rg-field-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.rg-field-icon {
  width: 18px;
  height: 18px;
  color: #68717A;
  flex-shrink: 0;
}

.rg-field-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #68717A;
  letter-spacing: 0.1px;
}

.rg-field-input {
  border: none;
  outline: none;
  font-family: var(--font-arabic);
  font-size: 15px;
  font-weight: 700;
  color: #1D252C;
  width: 100%;
  background: transparent;
  padding: 0;
  height: 26px;
  line-height: 26px;
}

.rg-field-input::placeholder {
  color: #68717A;
  font-weight: 600;
  opacity: 0.85;
}

/* Vertical Dividers between Fields (redBus Clean Layout) */
.rg-search-field:not(:last-child),
.rg-swap-col {
  border-left: 1px solid #E5E7EB;
}

.rg-ltr .rg-search-field:not(:last-child),
.rg-ltr .rg-swap-col {
  border-left: none !important;
  border-right: 1px solid #E5E7EB !important;
}

/* Destination Swap Button */
.rg-swap-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  padding: 0;
}

.rg-swap-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  color: #68717A;
  padding: 0;
}

.rg-swap-btn:hover {
  transform: rotate(180deg) scale(1.08);
  background: #FFF5F2;
  color: #D84444;
  border-color: #D84444;
}

.rg-swap-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Date Field with Compact Quick Pills */
.rg-date-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 26px;
}

.rg-date-pills {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rg-date-pill {
  border: 1px solid #E5E7EB;
  background: #F3F4F6;
  color: #475467;
  font-family: var(--font-arabic);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  line-height: 1.3;
}

.rg-date-pill:hover {
  border-color: #CBD5E1;
  background: #E5E7EB;
}

.rg-date-pill.active {
  background: #FFF5F2;
  border-color: #FCA5A5;
  color: #D84444;
  font-weight: 700;
}

/* Women-Only Booking Option (redBus Clean Layout) */
.rg-women-field {
  background: transparent;
  border-radius: 0;
  margin: 0;
  padding: 13px 20px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  min-height: 78px;
  position: relative;
  transition: background-color 0.2s ease;
}

.rg-women-field {
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
}

.rg-ltr .rg-women-field {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
}

.rg-women-field:hover {
  background: #F9FAFB;
}

.rg-women-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-women-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D84444;
  flex-shrink: 0;
}

.rg-women-avatar svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.rg-women-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rg-women-title {
  font-size: 13px;
  font-weight: 700;
  color: #1D252C;
  line-height: 1.25;
}

.rg-women-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #1D4ED8;
  text-decoration: underline;
  cursor: pointer;
}

/* Toggle Switch (redBus Style) */
.rg-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

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

.rg-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D1D5DB;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 22px;
}

.rg-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .rg-slider {
  background-color: #D84444;
}

input:checked + .rg-slider:before {
  transform: translateX(20px);
}

/* Primary Search CTA Button (Centered Overlapping Red Pill from Screenshot) */
.rg-search-action-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -8px;
  position: relative;
  z-index: 60;
}

.rg-search-btn {
  background: #D84444;
  color: #FFFFFF;
  border: none;
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 48px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(216, 68, 68, 0.35);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
  user-select: none;
  outline: none;
}

.rg-search-btn:hover {
  background: #C53030;
  box-shadow: 0 8px 24px rgba(216, 68, 68, 0.48);
  transform: none !important;
}

.rg-search-btn:active {
  background: #B91C1C;
  box-shadow: 0 2px 8px rgba(216, 68, 68, 0.35);
  transform: none !important;
}

.rg-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.rg-explore-today-btn {
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
  font-family: var(--font-arabic);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
  text-decoration: none;
}

.rg-explore-today-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.rg-explore-today-btn:active {
  transform: translateY(1px);
}

/* Autocomplete suggestions dropdown */
.rg-suggestions {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-top: 6px;
  z-index: 200;
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.rg-suggestions.show {
  display: block;
}

.rg-suggestion-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.rg-suggestion-item:hover {
  background: var(--bg-subtle);
  color: var(--primary-red);
}

.rg-suggestion-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

/* ============================================================
/* ============================================================
   PROMOTIONAL OFFERS & FESTIVAL CARDS
   ============================================================ */
.rg-offers-section {
  max-width: 1240px;
  margin: 28px auto 16px auto;
  padding: 0 24px;
}

.rg-offers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rg-offers-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rg-offers-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-offers-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.rg-offers-live-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.rg-offers-view-more {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #D84E55;
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(216, 78, 85, 0.08);
}

.rg-offers-view-more:hover {
  background: #D84E55;
  color: #FFFFFF;
  border-color: #D84E55;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(216, 78, 85, 0.24);
}

.rg-offers-btn-badge {
  background: #D84E55;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.rg-offers-view-more:hover .rg-offers-btn-badge,
.rg-offers-view-more.expanded .rg-offers-btn-badge {
  background: #FFFFFF;
  color: #D84E55;
}

.rg-offers-view-more.expanded {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
}

.rg-offers-view-more.expanded .rg-offers-btn-badge {
  background: #D84E55;
  color: #FFFFFF;
}

.rg-offers-chevron {
  transition: transform 0.25s ease;
}

.rg-offers-view-more.expanded .rg-offers-chevron {
  transform: rotate(180deg);
}

.rg-promo-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F9 50%, #FFF1F2 100%);
  border-radius: 14px;
  border: 1px solid #FFE4E6;
  padding: 10px 18px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(216, 78, 85, 0.05);
  gap: 16px;
  position: relative;
  overflow: visible;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rg-promo-card:hover {
  box-shadow: 0 4px 16px rgba(216, 78, 85, 0.09);
  border-color: #FECDD3;
}

.rg-promo-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* ============================================================
   AUTOMATED ANIMATED OPENING GIFT BOX
   ============================================================ */
.rg-promo-icon-box.rg-gift-box-anim {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(216, 78, 85, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rg-promo-icon-box.rg-gift-box-anim:hover {
  transform: scale(1.08);
}

.rg-gift-svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

/* Box Body Wiggle on Anticipation */
.rg-gift-base {
  transform-origin: 24px 40px;
  animation: rgGiftBaseWiggle 4.5s ease-in-out infinite;
}

/* Box Lid: Opens and Tilts back on a 4.5s cadence */
.rg-gift-lid {
  transform-origin: 10px 16px;
  animation: rgGiftLidOpen 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* Sparkles Container positioned directly above the box */
.rg-gift-sparkles {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 5;
}

.rg-sparkle {
  position: absolute;
  opacity: 0;
  transform: scale(0);
  line-height: 1;
}

.rg-sparkle.sp-1 {
  left: 2px;
  top: 4px;
  font-size: 11px;
  color: #F59E0B;
  animation: rgSparkle1 4.5s ease-out infinite;
}

.rg-sparkle.sp-2 {
  right: 2px;
  top: -2px;
  font-size: 13px;
  color: #EF4444;
  animation: rgSparkle2 4.5s ease-out infinite;
}

.rg-sparkle.sp-3 {
  left: 14px;
  top: -6px;
  font-size: 10px;
  color: #10B981;
  animation: rgSparkle3 4.5s ease-out infinite;
}

.rg-sparkle-badge {
  position: absolute;
  left: 11px;
  top: 2px;
  background: #D84E55;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 900;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.35);
  opacity: 0;
  transform: scale(0);
  animation: rgSparkleBadgePop 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* User Hover / Click Burst Support */
.rg-promo-card:hover .rg-gift-lid,
.rg-gift-box-anim:hover .rg-gift-lid {
  animation-play-state: running;
}

@keyframes rgGiftBaseWiggle {
  0%, 22% { transform: rotate(0deg); }
  24% { transform: rotate(-3deg); }
  26% { transform: rotate(3deg); }
  28% { transform: rotate(-2deg); }
  30% { transform: rotate(2deg); }
  32%, 100% { transform: rotate(0deg); }
}

@keyframes rgGiftLidOpen {
  0%, 28% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-3px, -7px) rotate(-14deg);
  }
  38%, 62% {
    transform: translate(-5px, -11px) rotate(-22deg);
  }
  67% {
    transform: translate(-1px, -2px) rotate(-4deg);
  }
  71%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes rgSparkleBadgePop {
  0%, 31% {
    opacity: 0;
    transform: scale(0) translateY(4px);
  }
  36% {
    opacity: 1;
    transform: scale(1.15) translateY(-10px);
  }
  50% {
    opacity: 1;
    transform: scale(1) translateY(-13px);
  }
  58% {
    opacity: 0;
    transform: scale(0.6) translateY(-4px);
  }
  62%, 100% {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes rgSparkle1 {
  0%, 32% { opacity: 0; transform: scale(0) translateY(0); }
  38% { opacity: 1; transform: scale(1.2) translateY(-8px) translateX(-4px); }
  52% { opacity: 0.8; transform: scale(0.8) translateY(-14px) translateX(-6px); }
  58%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes rgSparkle2 {
  0%, 33% { opacity: 0; transform: scale(0) translateY(0); }
  40% { opacity: 1; transform: scale(1.3) translateY(-10px) translateX(4px); }
  54% { opacity: 0.8; transform: scale(0.9) translateY(-16px) translateX(6px); }
  60%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes rgSparkle3 {
  0%, 34% { opacity: 0; transform: scale(0) translateY(0); }
  42% { opacity: 1; transform: scale(1.1) translateY(-12px); }
  56% { opacity: 0.7; transform: scale(0.7) translateY(-18px); }
  61%, 100% { opacity: 0; transform: scale(0); }
}

/* ============================================================
   COMPACT PROMO TEXT & ACTIONS
   ============================================================ */
.rg-promo-text h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}

.rg-promo-text p {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  margin: 2px 0 0 0;
  line-height: 1.3;
}

.rg-promo-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rg-coupon-badge {
  background: #ECFDF3;
  border: 1px dashed #10B981;
  color: #065F46;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.rg-coupon-badge:hover {
  background: #D1FAE5;
  border-color: #059669;
  transform: translateY(-1px);
}

.rg-promo-btn {
  background: #FEE4E2;
  color: #B91C1C;
  font-family: var(--font-arabic);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #FECDD3;
  white-space: nowrap;
}

.rg-promo-btn:hover {
  background: #D84E55;
  color: #FFFFFF;
  border-color: #D84E55;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(216, 78, 85, 0.25);
}

/* ============================================================
   12-OFFERS MULTI-CARD TICKET GRID SHOWCASE
   ============================================================ */
.rg-all-offers-showcase {
  margin-top: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  animation: rgOffersFadeSlide 0.25s ease-out;
}

@keyframes rgOffersFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rg-offers-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.rg-offer-cat-pill {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rg-offer-cat-pill:hover {
  border-color: #94A3B8;
  color: #0F172A;
}

.rg-offer-cat-pill.active {
  background: #D84E55;
  border-color: #D84E55;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(216, 78, 85, 0.24);
}

.rg-offers-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rg-offer-ticket-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.rg-offer-ticket-card:hover {
  transform: translateY(-3px);
  border-color: #FECDD3;
  box-shadow: 0 10px 24px rgba(216, 78, 85, 0.1);
}

.rg-offer-card-top-bar {
  height: 4px;
  width: 100%;
}

.rg-offer-ticket-card[data-theme="rose"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #D84E55, #FB7185); }
.rg-offer-ticket-card[data-theme="emerald"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #059669, #34D399); }
.rg-offer-ticket-card[data-theme="blue"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.rg-offer-ticket-card[data-theme="amber"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #D97706, #FBBF24); }
.rg-offer-ticket-card[data-theme="purple"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.rg-offer-ticket-card[data-theme="teal"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #0D9488, #2DD4BF); }
.rg-offer-ticket-card[data-theme="indigo"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #4F46E5, #818CF8); }
.rg-offer-ticket-card[data-theme="pink"] .rg-offer-card-top-bar { background: linear-gradient(90deg, #DB2777, #F472B6); }

.rg-offer-card-body {
  padding: 14px 16px 12px;
}

.rg-offer-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.rg-offer-cat-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rg-offer-save-pill {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 6px;
  background: #FFF1F2;
  color: #D84E55;
  border: 1px solid #FECDD3;
}

.rg-offer-ticket-card[data-theme="emerald"] .rg-offer-save-pill,
.rg-offer-ticket-card[data-theme="teal"] .rg-offer-save-pill {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

.rg-offer-ticket-card[data-theme="blue"] .rg-offer-save-pill,
.rg-offer-ticket-card[data-theme="indigo"] .rg-offer-save-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.rg-offer-ticket-card[data-theme="amber"] .rg-offer-save-pill {
  background: #FFFBEB;
  color: #B45309;
  border-color: #FDE68A;
}

.rg-offer-ticket-card[data-theme="purple"] .rg-offer-save-pill,
.rg-offer-ticket-card[data-theme="pink"] .rg-offer-save-pill {
  background: #FDF2F8;
  color: #BE185D;
  border-color: #FBCFE8;
}

.rg-offer-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.rg-offer-card-desc {
  font-size: 12px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
  font-weight: 500;
}

/* Ticket Perforation Divider */
.rg-offer-ticket-divider {
  position: relative;
  border-top: 1.5px dashed #E2E8F0;
  margin: 0 12px;
}

.rg-offer-ticket-divider::before,
.rg-offer-ticket-divider::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 14px;
  height: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 50%;
}

.rg-offer-ticket-divider::before {
  left: -20px;
}

.rg-offer-ticket-divider::after {
  right: -20px;
}

.rg-offer-card-footer {
  padding: 10px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FCFDFE;
}

.rg-offer-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1.5px dashed #94A3B8;
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rg-offer-code-chip:hover {
  border-color: #D84E55;
  background: #FFF1F2;
  color: #D84E55;
}

.rg-offer-apply-btn {
  background: #FEE4E2;
  color: #B91C1C;
  border: 1px solid #FECDD3;
  border-radius: 999px;
  padding: 5px 13px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.rg-offer-apply-btn:hover {
  background: #D84E55;
  color: #FFFFFF;
  border-color: #D84E55;
}

@media (max-width: 992px) {
  .rg-offers-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rg-offers-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESULTS & INTERACTIVE SEAT MAP SECTION
   ============================================================ */
.rg-results-section {
  display: none;
  max-width: 1260px;
  margin: 24px auto 80px auto;
  padding: 0 16px;
}

.rg-section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.rg-section-title {
  font-family: 'Readex Pro', 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.3;
}

.rg-section-title strong {
  color: #D84E55;
  font-weight: 800;
}

.rg-results-count {
  display: none;
  background: #FFF1F2;
  color: #D84E55;
  font-family: 'Readex Pro', 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #FECDD3;
  white-space: nowrap;
}

/* ============================================================
   RESULTS HEADER & QUICK SORTING TOOLBAR
   ============================================================ */
.rg-results-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 18px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.rg-results-top-bar .rg-section-header {
  margin-bottom: 0;
}

.rg-results-sort-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  padding: 4px 6px;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
}

.rg-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  padding-inline-start: 8px;
  white-space: nowrap;
}

.rg-sort-tabs {
  display: inline-flex;
  gap: 3px;
  flex-wrap: wrap;
}

.rg-sort-tab {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #475467;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.rg-sort-tab:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.rg-sort-tab.active {
  background: #D84E55;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.28);
}

/* ============================================================
   ELEVATED TRIP CARD (RouteGo Modern Design System)
   ============================================================ */
.rg-trip-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 3px 14px -2px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  position: relative;
}

.rg-trip-card:hover {
  box-shadow: 0 12px 28px -4px rgba(216, 78, 85, 0.11), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: #FDA4AF;
  transform: translateY(-2px);
}

.rg-trip-card.drawer-open {
  border-color: #D84E55;
  box-shadow: 0 12px 32px -4px rgba(216, 78, 85, 0.15);
  transform: none;
}

/* Top Accent & Badges Bar */
.rg-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
}

.rg-operator-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-bus-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.rg-bus-badge.vip {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #B45309;
  border: 1px solid #FDE68A;
}

.rg-bus-badge.standard {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.rg-trip-code {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 700;
  font-family: var(--font-en);
}

.rg-quick-highlights {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475467;
}

.rg-highlight-item.live {
  color: #0369A1;
  background: #F0F9FF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #BAE6FD;
}

.rg-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284C7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  animation: rg-pulse 1.8s infinite;
}

@keyframes rg-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.rg-highlight-item.women {
  color: #BE185D;
  background: #FDF2F8;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #FBCFE8;
}

/* Main Grid Layout - Balanced 4 Columns with Zero Clipping */
.rg-trip-main {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(185px, 1.35fr) minmax(255px, 2fr) minmax(118px, 0.85fr) minmax(140px, 1fr);
  align-items: center;
  gap: 16px;
}

/* Operator Column */
.rg-bus-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rg-operator-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.rg-operator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  color: #D84E55;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(216, 78, 85, 0.08);
}

.rg-operator-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.rg-trip-card .rg-operator-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px 0;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
}

.rg-bus-type {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rg-rating-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.rg-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #047857;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(4, 120, 87, 0.2);
}

.rg-rating-count {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

/* Time & Journey Route Flow (High Contrast) */
.rg-time-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1.5px solid #F1F5F9;
  min-width: 0;
}

.rg-time-point {
  display: flex;
  flex-direction: column;
  min-width: 72px;
  max-width: 120px;
}

.rg-time-point.departure {
  text-align: start;
}

.rg-time-point.arrival {
  text-align: end;
}

.rg-time-val {
  font-size: 19px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
  font-family: var(--font-en), var(--font-arabic), sans-serif;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.rg-time-period {
  font-size: 11.5px;
  font-weight: 800;
  color: #D84E55;
  margin-inline-start: 2px;
}

.rg-station-name {
  display: flex;
  flex-direction: column;
  margin-top: 3px;
  min-width: 0;
}

.rg-city-highlight {
  font-size: 13px;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-terminal-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 115px;
}

/* Route Direction Line & Duration Graphic */
.rg-route-graphic {
  flex: 1;
  min-width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px;
}

.rg-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 6px;
  white-space: nowrap;
}

.rg-duration-badge svg {
  color: #D84E55;
  flex-shrink: 0;
}

.rg-route-track {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.rg-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 2;
}

.rg-route-dot.origin {
  background: #10B981;
  box-shadow: 0 0 0 3px #D1FAE5;
}

.rg-route-dot.destination {
  background: #D84E55;
  box-shadow: 0 0 0 3px #FFE4E6;
}

.rg-route-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #10B981 0%, #CBD5E1 30%, #CBD5E1 70%, #D84E55 100%);
  position: relative;
  margin: 0 3px;
}

.rg-bus-route-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  color: #475467;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.rg-route-type-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  margin-top: 5px;
  white-space: nowrap;
}

/* Seats Meter Column */
.rg-seats-col {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.rg-seat-meter-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  width: 100%;
  max-width: 140px;
  transition: all 0.2s ease;
}

.rg-seat-meter-box.low-inventory {
  background: #FFFBEB;
  border-color: #FDE68A;
}

.rg-seat-meter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #166534;
}

.rg-seat-meter-box.low-inventory .rg-seat-meter-header {
  color: #B45309;
}

.rg-seat-number {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.rg-seat-label {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
}

.rg-seat-progress-bar {
  width: 100%;
  height: 5px;
  background: #DCFCE7;
  border-radius: var(--radius-full);
  margin: 6px 0 5px;
  overflow: hidden;
}

.rg-seat-progress-fill {
  height: 100%;
  background: #16A34A;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.rg-seat-meter-box.low-inventory .rg-seat-progress-fill {
  background: #F59E0B;
}

.rg-seat-urgency {
  font-size: 10px;
  font-weight: 700;
  color: #15803D;
  line-height: 1.2;
}

.rg-seat-urgency.alert {
  color: #DC2626;
  font-weight: 800;
}

/* Price & CTA Column */
.rg-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
  min-width: 0;
}

.rg-price-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 2px;
}

.rg-original-price {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: line-through;
  white-space: nowrap;
}

.rg-discount-pill {
  font-size: 10px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.rg-price-tag {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.rg-price-amount {
  font-size: 22px;
  font-weight: 900;
  color: #D84E55;
  line-height: 1;
  letter-spacing: -0.5px;
  font-family: var(--font-en), var(--font-arabic), sans-serif;
}

.rg-price-unit {
  font-size: 12px;
  font-weight: 800;
  color: #475467;
}

.rg-price-unit small {
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 600;
}

.rg-view-seats-btn {
  background: #D84E55;
  color: #FFFFFF !important;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(216, 78, 85, 0.26);
  width: 100%;
  max-width: 148px;
  white-space: nowrap;
}

.rg-view-seats-btn:hover {
  background: #C53E45;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(216, 78, 85, 0.36);
}

.rg-view-seats-btn.active {
  background: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.rg-btn-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.rg-view-seats-btn.active .rg-btn-chevron {
  transform: rotate(180deg);
}

/* Card Footer & Amenities Strip */
.rg-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #FAFAF9;
  border-top: 1px solid #F1F5F9;
  gap: 12px;
  flex-wrap: wrap;
}

.rg-amenities-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475467;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.rg-amenity-chip svg {
  color: #D84E55;
}

.rg-policy-quick-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-policy-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
}

/* Responsive Overrides for Trip Card */
@media (max-width: 1120px) {
  .rg-trip-main {
    grid-template-columns: 1.2fr 1.8fr;
    gap: 14px;
  }
  .rg-seats-col {
    justify-content: flex-start;
  }
  .rg-price-col {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .rg-trip-main {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }
  .rg-time-flow {
    grid-column: span 1;
  }
  .rg-seats-col {
    justify-content: center;
  }
  .rg-seat-meter-box {
    max-width: 100%;
  }
  .rg-price-col {
    align-items: stretch;
    text-align: center;
  }
  .rg-price-header,
  .rg-price-tag {
    justify-content: center;
  }
  .rg-view-seats-btn {
    max-width: 100%;
  }
  .rg-card-top-bar,
  .rg-card-footer {
    padding: 10px 16px;
  }
}

/* ============================================================
   SEAT SELECTION DRAWER & PASSENGER CHECKOUT PANEL
   ============================================================ */
.rg-seat-drawer {
  background: #F8FAFC;
  border-top: 1.5px solid #E2E8F0;
  padding: 20px;
  display: none;
  animation: slideDown 0.25s ease;
}

.rg-seat-drawer.open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rg-seat-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

/* Bus Container (2x2 Coach Layout with Central Aisle) */
.rg-bus-chassis {
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 24px 24px 14px 14px;
  padding: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.rg-bus-front {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px dashed #E2E8F0;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.rg-driver-seat {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.rg-bus-door {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Seat Grid with Central Walkway Aisle (5 columns: 2 seats + aisle + 2 seats) */
.rg-seats-matrix {
  display: grid;
  grid-template-columns: repeat(2, 42px) 24px repeat(2, 42px);
  gap: 10px 8px;
  justify-content: center;
  align-items: center;
}

.rg-aisle-spacer {
  width: 24px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #CBD5E1;
  user-select: none;
}

.rg-seat {
  width: 42px;
  height: 42px;
  border: 1.5px solid #94A3B8;
  background: #FFFFFF;
  border-radius: 8px 8px 11px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rg-seat::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 3px;
}

.rg-seat:hover:not(.booked) {
  border-color: #D84E55;
  background: #FFF1F2;
  color: #D84E55;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(216, 78, 85, 0.15);
}

.rg-seat.booked {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #94A3B8;
  cursor: not-allowed;
  opacity: 0.75;
}

.rg-seat.women-only {
  border-color: #F472B6;
  background: #FDF2F8;
  color: #BE185D;
}

.rg-seat.women-only::before {
  background: #FBCFE8;
}

.rg-seat.selected {
  background: #10B981 !important;
  border-color: #059669 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.rg-seat.selected::before {
  background: #34D399;
}

/* Legend */
.rg-seat-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
}

.rg-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.rg-legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rg-legend-box.available { border: 1.5px solid #94A3B8; background: #FFF; }
.rg-legend-box.booked { background: #F1F5F9; border: 1.5px solid #CBD5E1; }
.rg-legend-box.women { background: #FDF2F8; border: 1.5px solid #F472B6; }
.rg-legend-box.selected { background: #10B981; border: 1.5px solid #059669; }

/* Booking Summary & Passenger Checkout Card */
.rg-seat-summary-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.rg-summary-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.rg-summary-row.total {
  font-size: 17px;
  font-weight: 900;
  color: #0F172A;
  border-top: 1.5px dashed #E2E8F0;
  padding-top: 12px;
  margin-top: 10px;
}

/* Inline Passenger & Boarding Inputs inside Drawer */
.rg-booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.rg-booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rg-booking-field.full-width {
  grid-column: span 2;
}

.rg-booking-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.rg-booking-input,
.rg-booking-select {
  padding: 8px 11px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rg-booking-input:focus,
.rg-booking-select:focus {
  border-color: #D84E55;
  box-shadow: 0 0 0 3px rgba(216, 78, 85, 0.12);
}

/* Payment Method Pills */
.rg-pay-methods-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.rg-pay-method-pill {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-pay-method-pill:hover {
  border-color: #94A3B8;
  background: #F1F5F9;
}

.rg-pay-method-pill.active {
  background: #FFF1F2;
  border-color: #D84E55;
  color: #D84E55;
  font-weight: 800;
}

.rg-checkout-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rg-checkout-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

.rg-checkout-btn:disabled {
  background: #CBD5E1;
  color: #64748B;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .rg-seat-layout-grid {
    grid-template-columns: 1fr;
  }
  .rg-bus-chassis {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .rg-booking-form-grid {
    grid-template-columns: 1fr;
  }
  .rg-booking-field.full-width {
    grid-column: span 1;
  }
  .rg-pay-methods-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================ */
@media (max-width: 992px) {
  .rg-search-wrapper {
    margin: -30px auto 0 auto;
    padding: 0 16px;
  }
  .rg-search-card {
    padding: 12px;
    border-radius: 14px;
  }
  .rg-search-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rg-search-field {
    min-height: 50px;
    padding: 6px 12px;
    border-radius: 10px;
  }
  .rg-search-field:not(:last-child) {
    border-left: 1.5px solid #E2E8F0 !important;
    border-bottom: 1.5px solid #E2E8F0 !important;
  }
  .rg-swap-col {
    margin: -2px 0;
    display: flex;
    justify-content: center;
  }
  .rg-swap-btn {
    transform: rotate(90deg);
    width: 32px;
    height: 32px;
  }
  .rg-swap-btn:hover {
    transform: rotate(270deg) scale(1.08);
  }
  .rg-women-field {
    min-height: 50px;
    border-radius: 10px;
    padding: 6px 12px;
  }
  .rg-search-action-wrapper {
    margin-top: 12px;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .rg-search-btn, .rg-explore-today-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 15px;
  }
  .rg-hero-title {
    font-size: 26px;
    line-height: 1.45;
  }
  .rg-hero-highlight-pill {
    padding: 2px 10px;
    border-radius: 10px;
    margin: 2px 0;
  }
  .rg-trip-main {
    grid-template-columns: 1fr;
    text-align: right;
  }
  .rg-price-col {
    text-align: right;
  }
  .rg-seat-layout-grid {
    grid-template-columns: 1fr;
  }
  .rg-promo-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    gap: 10px;
  }
  .rg-promo-action {
    width: 100%;
    justify-content: space-between;
  }
  .rg-nav-container {
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }
  .rg-nav-start {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .rg-nav-tabs {
    display: none !important;
  }
  .rg-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .rg-nav-actions .rg-action-link,
  .rg-nav-actions .rg-user-profile-menu {
    display: none !important;
  }
  .rg-hamburger-btn {
    display: flex !important;
  }
}

/* Intermediate Tablet Breakpoint: Graceful Navbar Sizing */
@media (max-width: 1050px) and (min-width: 901px) {
  .rg-nav-container {
    padding: 0 16px;
  }
  .rg-nav-start {
    gap: 12px;
  }
  .rg-nav-tabs {
    gap: 4px;
  }
  .rg-nav-tab {
    padding: 8px 12px 6px 12px;
    font-size: 11.5px;
    gap: 3px;
  }
  .rg-nav-tab svg,
  .rg-nav-tab .rg-tab-icon {
    width: 22px;
    height: 18px;
  }
  .rg-nav-actions {
    gap: 18px;
  }
  .rg-action-link {
    font-size: 13px;
    gap: 6px;
  }
  .rg-lang-badge {
    padding: 3px 8px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .rg-logo-img {
    height: 32px !important;
  }
  .rg-nav-container {
    height: 56px;
    padding: 0 12px;
  }
  .rg-lang-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .rg-hamburger-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
    gap: 4px;
  }
  .rg-hamburger-bar {
    width: 18px;
    height: 2px;
  }
  .rg-mobile-drawer {
    width: 290px;
  }
}

/* ============================================================
   LIVE CHAT FLOATING ACTION BUTTON & INTERACTIVE WIDGET
   ============================================================ */
.rg-livechat-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #E23744, #C61E2C);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(226, 55, 68, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  user-select: none;
}

.rg-ltr .rg-livechat-fab,
html[dir="ltr"] .rg-livechat-fab {
  left: auto !important;
  right: 24px !important;
}

.rg-livechat-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(226, 55, 68, 0.55);
}

.rg-livechat-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livechatPulse 1.8s infinite;
}

@keyframes livechatPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.rg-livechat-fab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.rg-livechat-fab-text {
  font-size: 14px;
  font-weight: 800;
}

/* Chat Box Modal / Drawer */
.rg-livechat-modal {
  position: fixed;
  bottom: 84px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-light);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-ltr .rg-livechat-modal,
html[dir="ltr"] .rg-livechat-modal {
  left: auto !important;
  right: 24px !important;
}

.rg-livechat-modal.open {
  display: flex;
}

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rg-chat-header {
  background: linear-gradient(135deg, #D84E55, #B71C1C);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.rg-chat-header-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.rg-chat-header-status {
  font-size: 11px;
  color: #D1FAE5;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rg-chat-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.rg-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.rg-chat-body {
  height: 320px;
  overflow-y: auto;
  padding: 16px;
  background: #F8F9FA;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rg-chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.rg-chat-msg.incoming {
  background: #FFFFFF;
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.rg-chat-msg.outgoing {
  background: var(--primary-red);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.3);
}

.rg-chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.rg-quick-btn {
  background: #FFFFFF;
  border: 1px solid #D0D5DD;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  text-align: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rg-quick-btn:hover {
  background: #FEECEE;
  border-color: #FECDCA;
  color: var(--primary-red);
}

.rg-chat-footer {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-chat-input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.rg-chat-input:focus {
  border-color: var(--primary-red);
}

.rg-chat-send-btn {
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.rg-chat-send-btn:hover {
  background: var(--primary-red-hover);
}

/* ============================================================
   User Profile Badge & Dropdown Menu (redBus Style)
   ============================================================ */
.rg-user-profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 1100;
}

.rg-user-badge-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 4px 14px 4px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rg-user-badge-btn:hover,
.rg-user-badge-btn.active,
.rg-user-profile-menu:hover .rg-user-badge-btn {
  background: #FFFFFF;
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(216, 78, 85, 0.15);
}

.rg-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D84E55 0%, #C0392B 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.3);
  flex-shrink: 0;
}

.rg-avatar-circle.large {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.rg-user-name-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-arrow-icon {
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.rg-user-badge-btn.active .rg-arrow-icon,
.rg-user-profile-menu:hover .rg-arrow-icon {
  transform: rotate(180deg);
  color: var(--primary-red);
}

/* Floating Card Dropdown (Click-Only) */
.rg-profile-dropdown-card {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
  width: 290px !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.22), 0 8px 24px -5px rgba(15, 23, 42, 0.12) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  padding: 12px !important;
  z-index: 999999 !important;
  display: none;
}

/* Show Dropdown ONLY on .show Class */
.rg-profile-dropdown-card.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.rg-user-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 14px 10px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFF5F5 100%);
  border-radius: 14px;
}

.rg-user-card-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rg-user-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-user-card-email {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.rg-vip-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #D84E55;
  background: #FEECEE;
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 5px;
  width: fit-content;
}

.rg-user-card-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 8px 0;
}

.rg-user-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  color: #334155;
  text-decoration: none !important;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.rg-user-card-item:hover {
  background: #F8FAFC;
  transform: translateX(-2px);
}

.rg-item-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.rg-item-text {
  display: flex;
  flex-direction: column;
}

.rg-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.3;
}

.rg-user-card-item:hover .rg-item-title {
  color: var(--primary-red);
}

.rg-item-desc {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.2;
}

.rg-user-card-item.admin:hover {
  background: #F0F9FF;
}

.rg-user-card-item.admin:hover .rg-item-title {
  color: #0284C7;
}

.rg-user-card-item.logout {
  padding: 10px 12px;
  align-items: center;
}

.rg-user-card-item.logout .rg-item-title {
  color: #E11D48;
}

.rg-user-card-item.logout:hover {
  background: #FFF1F2;
}

/* Profile Dropdown LTR Support */
.rg-ltr .rg-profile-dropdown-card,
html[dir="ltr"] .rg-profile-dropdown-card,
[dir="ltr"] .rg-profile-dropdown-card {
  left: auto !important;
  right: 0 !important;
  text-align: left !important;
}

.rg-ltr .rg-user-card-header,
html[dir="ltr"] .rg-user-card-header {
  text-align: left !important;
}

.rg-ltr .rg-user-card-info,
html[dir="ltr"] .rg-user-card-info {
  align-items: flex-start !important;
  text-align: left !important;
}

.rg-ltr .rg-user-card-item,
html[dir="ltr"] .rg-user-card-item {
  text-align: left !important;
}

.rg-ltr .rg-item-text,
html[dir="ltr"] .rg-item-text {
  align-items: flex-start !important;
  text-align: left !important;
}

.rg-ltr .rg-user-card-item:hover,
html[dir="ltr"] .rg-user-card-item:hover {
  transform: translateX(2px) !important;
}

/* ============================================================
   COMING SOON PAGES (Train & Hotel Booking)
   ============================================================ */
.rg-coming-soon-hero {
  position: relative;
  min-height: 270px;
  max-height: 330px;
  color: #FFFFFF;
  padding: 24px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rg-coming-soon-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Icon Wrapper - compact or hidden when badge is used */
.rg-cs-icon-wrapper {
  display: none;
}

/* ---- Badge ---- */
.rg-cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 243, 199, 0.18);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #FEF3C7;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.rg-cs-badge.hotel-badge {
  background: rgba(254, 243, 199, 0.22);
  border-color: rgba(245, 158, 11, 0.6);
  color: #FEF3C7;
}

/* ---- Title ---- */
.rg-cs-title {
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  letter-spacing: -0.5px;
  -webkit-text-fill-color: initial;
  background: none;
}

/* ---- Subtitle ---- */
.rg-cs-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 660px;
  margin: 0 auto 16px;
  line-height: 1.55;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Subscription / Notify Box */
.rg-cs-notify-box {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  padding: 5px;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.rg-cs-notify-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--radius-full);
  padding: 0 18px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  outline: none;
  height: 44px;
}

.rg-cs-notify-input::placeholder {
  color: #64748B;
}

.rg-cs-notify-btn {
  background: linear-gradient(135deg, #D84E55 0%, #C53E45 100%);
  border: none;
  color: #FFFFFF;
  padding: 0 24px;
  height: 44px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(216, 78, 85, 0.4);
}

.rg-cs-notify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216, 78, 85, 0.5);
}

.rg-cs-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  max-width: 560px;
  margin: 14px auto 0;
}

/* Features Preview Section */
.rg-cs-features-section {
  max-width: 1200px;
  margin: -40px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.rg-cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .rg-cs-grid {
    grid-template-columns: 1fr;
  }
  .rg-cs-notify-box {
    flex-direction: column;
  }
  .rg-cs-notify-btn {
    width: 100%;
  }
}

.rg-cs-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.rg-cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(216, 78, 85, 0.3);
}

.rg-cs-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #FEECEE;
  color: #D84E55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.rg-cs-card-icon.hotel-icon {
  background: #FEF3C7;
  color: #D97706;
}

.rg-cs-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px;
}

.rg-cs-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* Back to Bus Banner */
.rg-cs-back-box {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.rg-cs-back-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px dashed #CBD5E1;
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .rg-cs-back-card {
    flex-direction: column;
    text-align: center;
  }
}

.rg-cs-back-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}

.rg-cs-back-text p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.rg-cs-back-btn {
  background: #0F172A;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rg-cs-back-btn:hover {
  background: #1E293B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

/* ============================================================
   MODERN MINIMALIST FAQ & HELP CENTER (CLEAN DESIGN)
   ============================================================ */
.rg-faq-page-wrapper {
  background: #FFFFFF;
  min-height: 100vh;
}

/* 1. Clean Light Header (Replaces old dark hero banner) */
.rg-faq-header-clean {
  background: #FFFFFF;
  border-bottom: 1px solid #EAECF0;
  padding: 56px 24px 44px;
  text-align: center;
}

.rg-faq-header-container {
  max-width: 720px;
  margin: 0 auto;
}

.rg-faq-clean-title {
  font-size: 32px;
  font-weight: 800;
  color: #101828;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.rg-faq-clean-subtitle {
  font-size: 16px;
  color: #475467;
  line-height: 1.6;
  margin: 0 0 28px;
}

/* 2. Sleek Modern Live Search */
.rg-faq-search-wrapper {
  max-width: 540px;
  margin: 0 auto;
}

.rg-faq-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #D0D5DD;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rg-faq-search-box:focus-within {
  border-color: #101828;
  box-shadow: 0 0 0 4px rgba(16, 24, 40, 0.06);
}

.rg-faq-search-box svg {
  flex-shrink: 0;
}

.rg-faq-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #101828;
  font-family: inherit;
}

.rg-faq-search-input::placeholder {
  color: #98A2B3;
}

/* 3. Main Content Body */
.rg-faq-clean-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* 4. Minimalist Category Filter Tabs */
.rg-faq-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.rg-faq-tab, .rg-faq-pill {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  outline: none;
}

.rg-faq-tab:hover, .rg-faq-pill:hover {
  background: #F9FAFB;
  border-color: #D0D5DD;
  color: #1D2939;
}

.rg-faq-tab.active, .rg-faq-pill.active {
  background: #1D2939;
  border-color: #1D2939;
  color: #FFFFFF;
  box-shadow: none;
}

/* 5. Modern Minimalist Accordion List */
.rg-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EAECF0;
  margin: 0 auto;
}

.rg-faq-item {
  border-bottom: 1px solid #EAECF0;
  background: #FFFFFF;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: background-color 0.15s ease;
}

.rg-faq-item:hover {
  border-color: #EAECF0;
  box-shadow: none;
}

.rg-faq-item.active {
  border-color: #EAECF0;
  box-shadow: none;
}

.rg-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: #101828;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: color 0.15s ease;
}

.rg-faq-question * {
  pointer-events: none;
}

.rg-faq-question:hover {
  color: #1D2939;
}

.rg-faq-chevron {
  width: 20px;
  height: 20px;
  stroke: #667085;
  transition: transform 0.2s ease, stroke 0.2s ease;
  flex-shrink: 0;
}

.rg-faq-item.active .rg-faq-chevron {
  transform: rotate(180deg);
  stroke: #101828;
}

.rg-faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  color: #475467;
  line-height: 1.7;
  border-top: none;
  margin-top: 0;
}

.rg-faq-item.active .rg-faq-answer {
  display: block !important;
}

/* Answer inner typography */
.rg-faq-answer p {
  margin: 0 0 14px;
  line-height: 1.75;
}

.rg-faq-answer p:last-child {
  margin-bottom: 0;
}

.rg-faq-answer strong {
  font-weight: 700;
  color: #344054;
}

/* 6. Clean Monochrome Transport Reform Comparison */
.rg-faq-comparison-clean {
  margin-top: 64px;
  border: 1px solid #EAECF0;
  border-radius: 12px;
  padding: 36px;
  background: #FFFFFF;
}

.rg-comp-clean-header {
  margin-bottom: 28px;
}

.rg-comp-clean-title {
  font-size: 20px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 8px;
}

.rg-comp-clean-desc {
  font-size: 14px;
  color: #667085;
  line-height: 1.6;
  margin: 0;
}

.rg-comp-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .rg-comp-clean-grid {
    grid-template-columns: 1fr;
  }
}

.rg-comp-clean-col {
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #EAECF0;
}

.rg-comp-clean-col.traditional {
  background: #FAFAFA;
}

.rg-comp-clean-col.modern {
  background: #F8F9FC;
  border-color: #D0D5DD;
}

.rg-comp-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EAECF0;
}

.rg-comp-clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rg-comp-clean-list li {
  position: relative;
  padding-right: 18px;
  font-size: 14px;
  color: #475467;
  line-height: 1.5;
}

[dir="ltr"] .rg-comp-clean-list li {
  padding-right: 0;
  padding-left: 18px;
}

.rg-comp-clean-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #98A2B3;
}

[dir="ltr"] .rg-comp-clean-list li::before {
  right: auto;
  left: 0;
}

.rg-comp-clean-col.modern .rg-comp-clean-list li::before {
  background: #101828;
}

/* FAQ Modal Overlay */
.rg-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rg-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.rg-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.rg-modal-header {
  padding: 24px 28px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-modal-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.rg-modal-close:hover {
  background: rgba(216, 78, 85, 0.8);
}

.rg-modal-body {
  padding: 28px;
  overflow-y: auto;
}

/* ================================================================
   RouteGo Phone OTP Authentication Modal Styles
   ================================================================ */
.rg-otp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  box-sizing: border-box;
  animation: rgOtpFadeIn 0.25s ease-out;
}

@keyframes rgOtpFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.rg-otp-modal {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 56px 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  box-sizing: border-box;
  text-align: center;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

.rg-otp-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: #64748B;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.rg-otp-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.rg-otp-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #FDECEC;
  color: #D84E55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-otp-icon.success { background: #ECFDF5; }
.rg-otp-icon.success {
  font-size: 52px;
  animation: rgOtpPop 0.4s ease-out;
}
@keyframes rgOtpPop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.rg-otp-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
}

.rg-otp-desc {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 20px 0;
  line-height: 1.55;
  font-weight: 500;
}

.rg-otp-alert-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: start;
  line-height: 1.4;
}

.rg-otp-field {
  text-align: start;
  margin-bottom: 20px;
}
.rg-otp-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.rg-otp-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  background: #F8FAFC;
  transition: all 0.2s ease;
  direction: ltr;
  text-align: left;
}
.rg-otp-input:focus {
  background: #FFFFFF;
  border-color: #D84E55;
  box-shadow: 0 0 0 4px rgba(216, 78, 85, 0.12);
  outline: none;
}

.rg-otp-hint {
  display: block;
  font-size: 12px;
  color: #94A3B8;
  margin-top: 6px;
}

.rg-otp-boxes-wrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.rg-otp-box {
  width: 48px;
  height: 56px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: #0F172A;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}
.rg-otp-box:focus {
  border-color: #D84E55;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(216, 78, 85, 0.12);
}

.rg-otp-submit-btn {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #D84E55 0%, #C0392B 100%);
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(216, 78, 85, 0.35);
  font-family: inherit;
}
.rg-otp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(216, 78, 85, 0.45);
}

.rg-otp-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.rg-otp-link-btn {
  background: none;
  border: none;
  color: #D84E55;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.rg-otp-link-btn:hover {
  text-decoration: underline;
}

.rg-otp-spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid #F1F5F9;
  border-top-color: #10B981;
  border-radius: 50%;
  margin: 16px auto 0;
  animation: rgOtpSpin 0.8s linear infinite;
}
@keyframes rgOtpSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   MOBILE HAMBURGER BUTTON & SLIDE-OUT NAVIGATION DRAWER
   ============================================================ */
.rg-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
  color: #1E293B;
  box-sizing: border-box;
}

.rg-hamburger-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.rg-hamburger-btn:active {
  transform: scale(0.95);
}

.rg-hamburger-bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.rg-hamburger-btn.is-active .rg-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rg-hamburger-btn.is-active .rg-hamburger-bar:nth-child(2) {
  opacity: 0;
}
.rg-hamburger-btn.is-active .rg-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay Backdrop */
.rg-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rg-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide-out Drawer Panel */
.rg-mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #FFFFFF;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 10001;
  box-sizing: border-box;
}

/* RTL Slide from Right */
[dir="rtl"] .rg-mobile-drawer,
html[dir="rtl"] .rg-mobile-drawer {
  right: 0;
  left: auto;
  transform: translateX(100%);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
}

/* LTR Slide from Left */
[dir="ltr"] .rg-mobile-drawer,
html[dir="ltr"] .rg-mobile-drawer,
.rg-ltr .rg-mobile-drawer {
  left: 0;
  right: auto;
  transform: translateX(-100%);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
}

.rg-drawer-overlay.is-open .rg-mobile-drawer {
  transform: translateX(0) !important;
}

/* Drawer Header */
.rg-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
}

.rg-drawer-header .rg-logo-img {
  height: 38px;
  width: auto;
}

.rg-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 50%;
  color: #64748B;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rg-drawer-close:hover {
  background: #FEE2E2;
  border-color: #FECACA;
  color: #DC2626;
}

/* Drawer User Profile / Guest Area */
.rg-drawer-user-section {
  padding: 18px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
}

.rg-drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-drawer-user-details {
  flex: 1;
  min-width: 0;
}

.rg-drawer-user-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-drawer-user-email {
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.rg-drawer-guest-box {
  text-align: center;
}

.rg-guest-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.rg-guest-desc {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.rg-drawer-login-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #D84E55, #C0392B);
  color: #FFFFFF !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(216, 78, 85, 0.25);
  box-sizing: border-box;
}

/* Drawer Nav Sections */
.rg-drawer-nav-section {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
}

.rg-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding: 0 8px;
}

.rg-drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  transition: all 0.15s ease;
  margin-bottom: 4px;
}

.rg-drawer-nav-item:hover {
  background: #F8FAFC;
  color: #D84E55;
}

.rg-drawer-nav-item.active {
  background: rgba(216, 78, 85, 0.08);
  color: #D84E55;
  font-weight: 700;
}

.rg-drawer-item-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.rg-drawer-item-text {
  display: flex;
  flex-direction: column;
}

.rg-drawer-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.rg-drawer-item-subtitle {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.3;
}

.rg-drawer-nav-item.logout {
  color: #DC2626;
}

.rg-drawer-nav-item.logout:hover {
  background: #FEF2F2;
}

.rg-drawer-nav-item.admin {
  color: #0284C7;
}

/* Drawer Footer */
.rg-drawer-footer {
  margin-top: auto;
  padding: 16px 20px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rg-drawer-lang-btn {
  width: 100%;
  padding: 9px 14px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rg-drawer-lang-btn:hover {
  background: #E2E8F0;
}

.rg-drawer-copyright {
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
}

/* ============================================================
   ODOO NATIVE LIVE CHAT MODULE BRAND STYLING & BILINGUAL SUPPORT
   ============================================================ */

/* Livechat Root Container must remain unconstrained so ChatWindow opens cleanly */
.o-livechat-root {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  animation: none !important;
}

/* Continuous Bouncing Up & Down Animation for Live Chat Button */
@keyframes rg-chat-bounce {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(216, 78, 85, 0.45);
  }
  50% {
    transform: translateY(-12px);
    box-shadow: 0 18px 32px rgba(216, 78, 85, 0.6);
  }
}

/* Floating Live Chat Button & Avatar Launcher */
.o-livechat-root::part(openChatButton),
.o-livechat-LivechatButton,
.o_livechat_button,
#rgLiveChatFab {
  background-color: #D84E55 !important;
  border: 3px solid #FFFFFF !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(216, 78, 85, 0.45) !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  animation: rg-chat-bounce 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.o-livechat-root::part(openChatButton) img,
.o-livechat-LivechatButton img,
.o_livechat_button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.o-livechat-root::part(openChatButton):hover,
.o-livechat-LivechatButton:hover,
.o_livechat_button:hover,
#rgLiveChatFab:hover {
  animation-play-state: paused !important;
  transform: scale(1.08) translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(216, 78, 85, 0.65) !important;
}

/* Live Chat Window Container */
.o-mail-ChatWindow,
.o_thread_window {
  border-radius: 16px 16px 8px 8px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.22) !important;
  border: 1px solid #E2E8F0 !important;
}

/* Live Chat Window Header (Brand Red Gradient) */
.o-mail-ChatWindow-header,
.o_thread_window_header {
  background: linear-gradient(135deg, #D84E55 0%, #B83E44 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

.o-mail-ChatWindow-header button,
.o-mail-ChatWindow-header a,
.o-mail-ChatWindow-header i,
.o-mail-ChatWindow-header svg,
.o_thread_window_header button,
.o_thread_window_header a,
.o_thread_window_header i {
  color: #FFFFFF !important;
}

.o-mail-ChatWindow-header:hover {
  background: linear-gradient(135deg, #E0585F 0%, #C53E45 100%) !important;
}

/* Composer / Input Area */
.o-mail-Composer-input,
.o_composer_text_field {
  font-family: inherit !important;
  border-radius: 10px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.o-mail-Composer-input:focus,
.o_composer_text_field:focus {
  border-color: #D84E55 !important;
  box-shadow: 0 0 0 3px rgba(216, 78, 85, 0.2) !important;
  outline: none !important;
}

.o-mail-Composer-sendBtn,
.o-mail-Composer button.btn-primary,
.o_composer_button_send {
  background-color: #D84E55 !important;
  border-color: #D84E55 !important;
  color: #FFFFFF !important;
}

.o-mail-Composer-sendBtn:hover,
.o-mail-Composer button.btn-primary:hover,
.o_composer_button_send:hover {
  background-color: #B83E44 !important;
  border-color: #B83E44 !important;
}

/* RTL (Arabic) Live Chat Styling */
html[dir="rtl"] .o-mail-ChatWindow,
body:not(.rg-ltr) .o-mail-ChatWindow,
.rg-portal-wrap:not(.rg-ltr) .o-mail-ChatWindow {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .o-mail-ChatWindow .o-mail-Composer-input,
body:not(.rg-ltr) .o-mail-ChatWindow .o-mail-Composer-input {
  direction: rtl !important;
  text-align: right !important;
}

/* LTR (English) Live Chat Styling */
html[dir="ltr"] .o-mail-ChatWindow,
body.rg-ltr .o-mail-ChatWindow,
.rg-portal-wrap.rg-ltr .o-mail-ChatWindow {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .o-mail-ChatWindow .o-mail-Composer-input,
body.rg-ltr .o-mail-ChatWindow .o-mail-Composer-input {
  direction: ltr !important;
  text-align: left !important;
}

@keyframes rg-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   ROUTEGO MODERN TRAVEL FOOTER (Premium Light Slate Portal Footer)
   ========================================================================== */
.rg-footer {
  background-color: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  color: #475569;
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.rg-ltr .rg-footer,
.rg-footer.rg-ltr,
body.rg-ltr .rg-footer {
  direction: ltr;
  text-align: left;
  font-family: var(--font-en);
}

.rg-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Top Unified Trust Banner ── */
.rg-footer-top {
  padding: 28px 0 0;
}

.rg-trust-banner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.rg-trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border-left: 1px solid #F1F5F9;
  transition: background-color 0.2s ease;
}

.rg-trust-item:last-child {
  border-left: none;
}

.rg-ltr .rg-trust-item {
  border-left: none;
  border-right: 1px solid #F1F5F9;
}

.rg-ltr .rg-trust-item:last-child {
  border-right: none;
}

.rg-trust-item:hover {
  background-color: #FBFDFE;
}

.rg-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFF1F2;
  color: #D84E55;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #FFE4E6;
  transition: transform 0.2s ease;
}

.rg-trust-item:hover .rg-trust-icon {
  transform: scale(1.05);
}

.rg-trust-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rg-trust-title {
  color: #0F172A;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.rg-trust-desc {
  color: #64748B;
  font-size: 11.5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Main Columns Grid ── */
.rg-footer-main {
  padding: 36px 0 24px;
}

.rg-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.rg-footer-col {
  display: flex;
  flex-direction: column;
}

.rg-footer-brand-col {
  padding-left: 12px;
}

.rg-ltr .rg-footer-brand-col {
  padding-left: 0;
  padding-right: 12px;
}

.rg-footer-logo-wrap {
  margin-bottom: 12px;
}

.rg-footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

.rg-footer-tagline {
  color: #64748B;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 16px;
  font-weight: 400;
}

/* ── Brand Contact Pills ── */
.rg-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 270px;
}

.rg-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  color: #0F172A;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.rg-contact-pill:hover {
  border-color: #D84E55;
  color: #D84E55;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(216, 78, 85, 0.08);
}

.rg-contact-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #FFF1F2;
  color: #D84E55;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rg-contact-pill-text {
  letter-spacing: 0.2px;
  font-family: var(--font-en);
}

/* ── Headings & Links ── */
.rg-footer-heading {
  color: #0F172A;
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: -0.2px;
}

.rg-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 2.5px;
  background: #D84E55;
  border-radius: 2px;
}

.rg-ltr .rg-footer-heading::after {
  right: auto;
  left: 0;
}

.rg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rg-footer-link {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.rg-chevron-icon {
  color: #94A3B8;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
  transform: rotate(180deg);
}

.rg-ltr .rg-chevron-icon {
  transform: rotate(0deg);
}

.rg-footer-link:hover {
  color: #D84E55;
  font-weight: 600;
  transform: translateX(-3px);
}

.rg-ltr .rg-footer-link:hover {
  transform: translateX(3px);
}

.rg-footer-link:hover .rg-chevron-icon {
  color: #D84E55;
}

/* ── Payment Strip ── */
.rg-footer-payment-strip {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.rg-payment-label {
  color: #64748B;
  font-size: 12.5px;
  font-weight: 600;
}

.rg-payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 7px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-en), var(--font-arabic);
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.rg-pay-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(15, 23, 42, 0.06);
}

.rg-pay-bankak {
  color: #0284C7;
  border-color: #BAE6FD;
  background: #F0F9FF;
}

.rg-pay-fawry {
  color: #B45309;
  border-color: #FDE68A;
  background: #FFFBEB;
}

.rg-pay-ocash {
  color: #047857;
  border-color: #A7F3D0;
  background: #ECFDF5;
}

.rg-pay-card {
  color: #334155;
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.rg-pay-ssl {
  color: #6D28D9;
  border-color: #DDD6FE;
  background: #F5F3FF;
}

.rg-pay-dot {
  font-size: 9px;
}

/* ── Bottom Bar ── */
.rg-footer-bottom {
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  padding: 14px 0;
}

.rg-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.rg-bottom-rights {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

.rg-footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rg-social-btn:hover {
  background: #D84E55;
  border-color: #D84E55;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(216, 78, 85, 0.25);
}

.rg-social-whatsapp:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3) !important;
}

/* ── Responsive Footer ── */
@media (max-width: 1024px) {
  .rg-trust-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .rg-trust-item:nth-child(2) {
    border-left: none;
  }
  .rg-ltr .rg-trust-item:nth-child(2) {
    border-right: none;
  }
  .rg-trust-item:nth-child(3),
  .rg-trust-item:nth-child(4) {
    border-top: 1px solid #F1F5F9;
  }
  .rg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .rg-footer-brand-col {
    padding-left: 0;
    grid-column: span 2;
  }
  .rg-ltr .rg-footer-brand-col {
    padding-right: 0;
  }
  .rg-footer-contacts {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .rg-trust-banner {
    grid-template-columns: 1fr;
  }
  .rg-trust-item {
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #F1F5F9;
  }
  .rg-trust-item:last-child {
    border-bottom: none;
  }
  .rg-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rg-footer-brand-col {
    grid-column: span 1;
  }
  .rg-footer-payment-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .rg-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================================
   REDBUS-STYLE BOARDING STATION & PREFERENCE MODAL
   ============================================================ */
.rg-pref-overlay,
#rgPreferenceOverlay {
  display: none !important;
}

.rg-pref-modal {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 26px 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
  box-sizing: border-box;
  animation: rgPrefScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rgPrefFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rgPrefScaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.rg-pref-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

[dir="ltr"] .rg-pref-close {
  left: auto;
  right: 20px;
}

.rg-pref-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}

.rg-pref-header {
  margin-bottom: 22px;
  padding-left: 36px;
}

[dir="ltr"] .rg-pref-header {
  padding-left: 0;
  padding-right: 36px;
}

.rg-pref-title {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  font-family: inherit;
  line-height: 1.3;
}

.rg-pref-subtitle {
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.rg-pref-section {
  margin-bottom: 20px;
}

.rg-pref-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rg-pref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rg-pref-pill {
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
  font-family: inherit;
  user-select: none;
}

.rg-pref-pill:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
  color: #0F172A;
}

.rg-pref-pill.active {
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
}

.rg-pref-pill .rg-pill-count {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  font-family: var(--font-en, sans-serif);
}

.rg-pref-pill.active .rg-pill-count {
  color: #93C5FD;
}

.rg-pref-footer {
  margin-top: 26px;
  padding-top: 14px;
}

.rg-pref-proceed-btn {
  width: 100%;
  height: 48px;
  background: #D84E55;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(216, 78, 85, 0.32);
  font-family: inherit;
}

.rg-pref-proceed-btn:hover {
  background: #B91C1C;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(216, 78, 85, 0.42);
}

.rg-pref-proceed-btn:active {
  transform: translateY(0);
}

[dir="rtl"] .rg-pref-arrow {
  transform: rotate(180deg);
}

@media (max-width: 540px) {
  .rg-pref-modal {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .rg-pref-title {
    font-size: 17.5px;
  }
  .rg-pref-pill {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .rg-pref-proceed-btn {
    height: 46px;
    font-size: 14.5px;
  }
}

/* Active Boarding Station Filter Chip */
.rg-active-station-filter-bar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-station-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #B91C1C;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.08);
}

.rg-station-filter-chip strong {
  color: #0F172A;
}

.rg-clear-station-filter {
  background: none;
  border: none;
  color: #B91C1C;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.rg-clear-station-filter:hover {
  background: rgba(216, 78, 85, 0.15);
  transform: scale(1.15);
}

/* ============================================================
   RedBus-Style Sticky Compact Search Strip & Breadcrumbs Mode
   ============================================================ */
body.rg-search-active .rg-hero-section,
body.rg-search-active .rg-search-wrapper,
body.rg-search-active .rg-offers-section,
body.rg-search-active .rg-home-discovery-section {
  display: none !important;
}

body.rg-search-active #rgCompactSearchStrip {
  display: block !important;
}

body.rg-search-active #rgBreadcrumbBar {
  display: block !important;
}

body.rg-search-active #resultsSection {
  display: block !important;
  margin-top: 18px;
}

.rg-compact-search-strip {
  position: sticky;
  top: 0;
  z-index: 990;
  background: #FFFFFF;
  border-bottom: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  padding: 10px 0;
  transition: all 0.25s ease;
}

.rg-compact-search-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-compact-box {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: visible;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-compact-box .rg-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 250px;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  z-index: 3000;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.rg-compact-box:focus-within {
  background: #FFFFFF;
  border-color: #D84E55;
  box-shadow: 0 0 0 3px rgba(216, 78, 85, 0.12);
}

.rg-c-icon {
  color: #64748B;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.rg-compact-box:focus-within .rg-c-icon {
  color: #D84E55;
}

.rg-c-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rg-c-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  line-height: 1.2;
}

.rg-c-input {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  padding: 2px 0 0;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.rg-compact-swap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rg-compact-swap:hover {
  border-color: #D84E55;
  color: #D84E55;
  transform: rotate(180deg);
  background: #FFF1F2;
}

.rg-c-date {
  flex: 1.15;
  position: relative;
}

.rg-c-date-input {
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  padding: 2px 0 0;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.rg-c-pills {
  display: flex;
  gap: 4px;
  margin-inline-start: 6px;
  flex-shrink: 0;
}

.rg-c-pill {
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.rg-c-pill:hover {
  border-color: #D84E55;
  color: #D84E55;
}

.rg-c-pill.active {
  background: #D84E55;
  border-color: #D84E55;
  color: #FFFFFF;
}

.rg-compact-search-btn {
  background: #D84E55;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0 20px;
  height: 48px;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(216, 78, 85, 0.28);
  font-family: inherit;
  white-space: nowrap;
}

.rg-compact-search-btn:hover {
  background: #B91C1C;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(216, 78, 85, 0.36);
}

.rg-compact-search-btn:active {
  transform: translateY(0);
}

/* Breadcrumb Bar */
.rg-breadcrumb-bar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 0;
}

.rg-breadcrumb-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
}

.rg-bc-link {
  color: #64748B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  cursor: pointer;
}

.rg-bc-link:hover {
  color: #D84E55;
}

.rg-bc-sep {
  color: #94A3B8;
  font-size: 13px;
}

.rg-bc-current {
  color: #0F172A;
  font-weight: 800;
}

@media (max-width: 900px) {
  .rg-compact-search-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .rg-compact-box {
    flex: 1 1 calc(50% - 10px);
  }
  .rg-compact-swap {
    display: none;
  }
  .rg-compact-search-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   RedBus-Style 2-Column Search Layout & Filters Sidebar
   ============================================================ */
.rg-results-container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.rg-results-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 14px;
}

/* Filter Sidebar */
.rg-filter-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.rg-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
  margin-bottom: 14px;
}

.rg-filter-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-filter-title svg {
  color: #D84E55;
}

.rg-filter-clear-all {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #D84E55;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.rg-filter-clear-all:hover {
  background: #FFF1F2;
  color: #B91C1C;
}

/* Fast Filter Pills */
.rg-fast-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.rg-fast-pill {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.rg-fast-pill:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
  color: #0F172A;
}

.rg-fast-pill.active {
  background: #FFF1F2;
  border-color: #D84E55;
  color: #B91C1C;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(216, 78, 85, 0.12);
}

.rg-fast-pill.active svg {
  stroke: #D84E55;
}

/* Filter Sections */
.rg-filter-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.rg-filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rg-filter-sec-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

/* 4-Quadrant Departure Time Slots Grid */
.rg-time-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rg-time-slot-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.rg-time-slot-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rg-time-slot-box:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.rg-time-slot-box.active,
.rg-time-slot-box:has(input:checked) {
  background: #FFF1F2;
  border-color: #D84E55;
  color: #B91C1C;
  box-shadow: 0 2px 8px rgba(216, 78, 85, 0.12);
}

.rg-slot-icon {
  color: #64748B;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-time-slot-box.active .rg-slot-icon,
.rg-time-slot-box:has(input:checked) .rg-slot-icon {
  color: #D84E55;
}

.rg-slot-name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.rg-slot-range {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 600;
  margin-top: 2px;
}

.rg-time-slot-box.active .rg-slot-range,
.rg-time-slot-box:has(input:checked) .rg-slot-range {
  color: #B91C1C;
}

/* Bus Operators Checklist */
.rg-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-inline-end: 4px;
}

.rg-operator-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
  user-select: none;
}

.rg-operator-item:hover {
  background: #F8FAFC;
}

.rg-operator-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rg-operator-item input[type="checkbox"] {
  accent-color: #D84E55;
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.rg-operator-item .rg-operator-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-operator-count {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
}

/* RIGHT COLUMN: Results Main Area */
.rg-results-main {
  flex: 1;
  min-width: 0;
}

/* Top Horizontal Boarding Station Tabs */
.rg-station-tabs-wrapper {
  margin-bottom: 16px;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.rg-station-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rg-station-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.rg-station-tab {
  white-space: nowrap;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  background: #F8FAFC;
  border: 1.2px solid #E2E8F0;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  flex-shrink: 0;
}

.rg-station-tab:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
  color: #0F172A;
}

.rg-station-tab.active {
  background: #D84E55;
  border-color: #D84E55;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(216, 78, 85, 0.28);
}

.rg-station-tab-count {
  font-size: 11px;
  opacity: 0.88;
  font-weight: 600;
}

/* Reaching Station Tag on Trip Card (redBus Style) */
.rg-reaching-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #4338CA;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.rg-reaching-badge svg {
  color: #4F46E5;
}

.rg-card-top-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-card-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.rg-card-women-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  color: #BE185D;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

/* redBus Card Detail Tabs Bar */
.rg-card-tabs-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  background: #FAFAFA;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
  overflow-x: auto;
  scrollbar-width: none;
}

.rg-card-tabs-bar::-webkit-scrollbar {
  display: none;
}

.rg-tab-link {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}

.rg-tab-link:hover,
.rg-tab-link.active {
  color: #D84E55;
}

.rg-tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 2px;
  background: #D84E55;
  border-radius: 2px;
}

.rg-tab-panel {
  display: none;
  padding: 14px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 13px;
  color: #334155;
}

.rg-tab-panel.open {
  display: block;
  animation: rg-tab-fade 0.2s ease-out;
}

@keyframes rg-tab-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .rg-results-layout {
    flex-direction: column;
  }
  .rg-filter-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    margin-bottom: 16px;
  }
  .rg-card-tabs-bar {
    padding: 8px 16px;
    gap: 12px;
  }
}

/* ============================================================
   HOMEPAGE DISCOVERY SECTIONS (Modern RouteGo 2026 Layout)
   ============================================================ */
.rg-home-discovery-section {
  max-width: 1240px;
  margin: 56px auto 72px auto;
  padding: 0 24px;
}

.rg-home-block {
  margin-bottom: 72px;
}

.rg-home-block-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 16px;
}

.rg-home-block-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rg-home-block-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.rg-home-block-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.rg-home-block-desc {
  font-size: 14px;
  color: #64748B;
  margin: 0;
  font-weight: 500;
}

/* ── Popular Routes Grid ── */
.rg-routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rg-route-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.rg-route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, #F59E0B 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rg-route-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary-border);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(225, 29, 72, 0.08);
}

.rg-route-card:hover::before {
  opacity: 1;
}

.rg-route-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-route-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.rg-route-arrow {
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  font-size: 15px;
}

.rg-route-time-badge {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
}

.rg-route-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748B;
  border-top: 1px dashed #E2E8F0;
  border-bottom: 1px dashed #E2E8F0;
  padding: 8px 0;
}

.rg-route-trips-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #0F172A;
}

.rg-route-amenity {
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rg-route-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-route-price-wrap {
  display: flex;
  flex-direction: column;
}

.rg-route-price-lbl {
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 600;
}

.rg-route-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-primary);
  font-family: var(--font-en);
}

.rg-route-book-btn {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.rg-route-book-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* ── Why Choose Us 4 Pillars ── */
.rg-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rg-feature-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.rg-feature-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
}

.rg-feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-primary-light) 0%, #FFF8F6 100%);
  border: 1px solid var(--brand-primary-border);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.12);
}

.rg-feature-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.rg-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.rg-feature-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ── Trust Stats Counter Bar (Clean RedBus Style, Sharp Edges & No Icons) ── */
.rg-stats-bar {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 3.5px solid #D84444 !important; /* RedBus Crimson Accent */
  border-radius: 6px !important; /* Sharp edges */
  padding: 26px 36px !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: #1E293B !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.rg-stats-bar::after {
  display: none !important;
}

.rg-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.rg-stat-item:not(:last-child) {
  border-inline-end: 1px solid #F1F5F9;
  padding-inline-end: 20px;
}

.rg-stat-num {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  font-family: var(--font-en), 'Plus Jakarta Sans', sans-serif !important;
  display: flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.rg-stat-plus {
  color: #D84444 !important;
}

.rg-stat-lbl {
  font-size: 13.5px !important;
  color: #64748B !important;
  font-weight: 600 !important;
  line-height: 1.4;
}

/* ── Certified Fleet Operators Strip ── */
.rg-operators-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.rg-operator-pill-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.rg-operator-pill-card:hover {
  border-color: var(--brand-primary-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.rg-op-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy-light);
  font-size: 18px;
  flex-shrink: 0;
}

.rg-op-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rg-op-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-op-rating {
  font-size: 11.5px;
  color: #D97706;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Mobile App Download Banner ── */
.rg-app-download-banner {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFFFFF 50%, #FFF7ED 100%);
  border: 1.5px solid var(--brand-primary-border);
  border-radius: 24px;
  padding: 44px 48px;
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 10px 30px -4px rgba(225, 29, 72, 0.08);
  position: relative;
  overflow: hidden;
}

.rg-app-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}

.rg-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--brand-primary-border);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rg-app-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.rg-app-desc {
  font-size: 14px;
  color: #475467;
  line-height: 1.6;
  margin: 0;
}

.rg-app-perks-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-top: 4px;
}

.rg-app-perk {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rg-app-perk svg {
  color: #10B981;
}

.rg-app-download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rg-app-buttons-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-store-btn {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.rg-store-btn:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  color: #FFFFFF;
}

.rg-store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.rg-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

.rg-store-sub {
  font-size: 10px;
  color: #94A3B8;
}

.rg-store-main {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.rg-app-qr-hint {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
}

/* Responsive adjustments for Home Discovery Sections */
@media (max-width: 1024px) {
  .rg-routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rg-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rg-operators-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .rg-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }
  .rg-app-download-banner {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
  .rg-app-banner-content {
    align-items: center;
  }
  .rg-app-perks-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .rg-routes-grid {
    grid-template-columns: 1fr;
  }
  .rg-features-grid {
    grid-template-columns: 1fr;
  }
  .rg-operators-strip {
    grid-template-columns: 1fr;
  }
  .rg-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .rg-app-buttons-group {
    flex-direction: column;
    width: 100%;
  }
  .rg-store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   REDBUS-STYLE HOMEPAGE SECTIONS:
   1. RouteDeals / redDeals Banner Block
   2. FAQs related to Bus Tickets Booking with Category Tabs
   3. Collapsible Popular Bus Routes Section (All Current Cities)
   ============================================================ */

.rg-deals-faq-container {
  margin-top: 64px;
  margin-bottom: 24px;
}

/* 1. Deals Block Header */
.rg-deals-header {
  margin-bottom: 20px;
}
.rg-deals-title {
  font-size: 26px;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}
.rg-deals-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Deals Card (redBus redDeals banner) */
.rg-reddeals-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  gap: 20px;
  transition: all 0.2s ease;
}
.rg-reddeals-card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.rg-reddeals-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rg-reddeals-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1.5px solid #D84E55;
  border-radius: 12px;
  background: #FFF5F5;
  color: #D84E55;
  font-weight: 800;
  flex-shrink: 0;
}
.rg-reddeals-badge-icon {
  width: 28px;
  height: 20px;
}
.rg-reddeals-badge-text {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.rg-reddeals-info {
  display: flex;
  flex-direction: column;
}
.rg-reddeals-headline {
  font-size: 17px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
  line-height: 1.35;
}
.rg-reddeals-discount {
  color: #D84E55;
  font-weight: 900;
  margin: 0 4px;
}
.rg-reddeals-subtext {
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
}

.rg-reddeals-right {
  flex-shrink: 0;
}
.rg-reddeals-btn {
  background: #D84E55;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 34px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(216, 78, 85, 0.25);
  font-family: inherit;
}
.rg-reddeals-btn:hover {
  background: #C0392B;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216, 78, 85, 0.35);
}

/* 2. FAQs Section (redBus style) */
.rg-faq-bus-block {
  margin-top: 52px;
}
.rg-faq-bus-heading {
  font-size: 24px;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 20px 0;
  letter-spacing: -0.2px;
}

/* Category Filter Tabs (General, Ticket-related, Payment, Cancellation & Refund) */
.rg-faq-tabs-row {
  display: flex;
  gap: 28px;
  border-bottom: 1.5px solid #E2E8F0;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rg-faq-tabs-row::-webkit-scrollbar {
  display: none;
}
.rg-faq-tab-btn {
  background: none;
  border: none;
  padding: 12px 4px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  font-family: inherit;
}
.rg-faq-tab-btn:hover {
  color: #1E293B;
}
.rg-faq-tab-btn.active {
  color: #D84E55;
  font-weight: 800;
}
.rg-faq-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 3px;
  background: #D84E55;
  border-radius: 3px 3px 0 0;
}

/* FAQ Accordion List */
.rg-faq-accordions-wrap {
  display: flex;
  flex-direction: column;
}
.rg-faq-qa-item {
  border: 1px solid transparent;
  border-bottom-color: #F1F5F9;
  border-radius: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  margin-bottom: 6px;
  background: #FFFFFF;
  box-sizing: border-box;
}
.rg-faq-qa-item.active {
  border-color: #E2E8F0;
  background: #FAFBFC;
  box-shadow: none;
}
.rg-faq-qa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: #1E293B;
  user-select: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.rg-faq-qa-header:hover {
  background: #F8FAFC;
}
.rg-faq-qa-text {
  flex: 1;
  line-height: 1.45;
}
.rg-faq-qa-chevron {
  width: 20px;
  height: 20px;
  color: #64748B;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-inline-start: 12px;
}
.rg-faq-qa-item.active .rg-faq-qa-chevron {
  transform: rotate(180deg);
}

.rg-faq-qa-body {
  display: none;
  padding: 8px 16px 18px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
}
.rg-faq-qa-item.active .rg-faq-qa-body {
  display: block;
}
.rg-faq-qa-body p {
  margin: 0 0 8px;
}
.rg-faq-qa-body p:last-child {
  margin-bottom: 0;
}
.rg-faq-qa-body ol, .rg-faq-qa-body ul {
  margin: 6px 0;
  padding-inline-start: 24px;
}
.rg-faq-qa-body li {
  margin-bottom: 6px;
}

/* 3. Popular Bus Routes Collapsible Section (redBus style) */
.rg-popular-routes-container {
  margin-top: 40px;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.rg-popular-routes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}
.rg-popular-routes-header:hover {
  background: #F8FAFC;
}
.rg-popular-routes-title {
  font-size: 17px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}
.rg-popular-routes-arrow {
  width: 20px;
  height: 20px;
  color: #64748B;
  transition: transform 0.25s ease;
}
.rg-popular-routes-container.is-open .rg-popular-routes-arrow {
  transform: rotate(180deg);
}

.rg-popular-routes-collapse {
  display: none;
  padding: 6px 6px 26px;
}
.rg-popular-routes-container.is-open .rg-popular-routes-collapse {
  display: block;
}

.rg-popular-routes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  line-height: 2;
}
.rg-popular-route-link {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: start;
}
.rg-popular-route-link:hover {
  color: #1D4ED8;
  text-decoration: none;
}

/* Directional & LTR overrides */
.rg-ltr .rg-deals-desc, .rg-ltr .rg-deals-title,
.rg-ltr .rg-faq-bus-heading, .rg-ltr .rg-popular-routes-title {
  text-align: left;
}
.rg-ltr .rg-reddeals-card {
  text-align: left;
}
.rg-ltr .rg-faq-qa-body {
  text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .rg-reddeals-card {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    text-align: center;
  }
  .rg-reddeals-left {
    flex-direction: column;
    text-align: center;
  }
  .rg-reddeals-btn {
    width: 100%;
  }
  .rg-faq-tabs-row {
    gap: 18px;
  }
  .rg-popular-routes-grid {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================================
   REDBUS EXACT STYLE FOOTER
   ============================================================ */
.rg-footer-exact {
  background-color: #F2F2F8 !important;
  border-top: 1px solid #E2E2EC !important;
  color: #1D1D1D !important;
  font-family: var(--font-en, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif) !important;
  margin-top: 60px;
  padding: 40px 0 60px;
  direction: ltr;
  text-align: left;
  position: relative;
  z-index: 10;
}

.rg-rtl .rg-footer-exact, [dir="rtl"] .rg-footer-exact, body.rg-rtl .rg-footer-exact {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic, 'Cairo', 'Readex Pro', sans-serif) !important;
}

.rg-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Accordions Section */
.rg-footer-accordions {
  margin-bottom: 38px;
}

.rg-footer-accordion-item {
  border-bottom: 1px solid #E8E8E9;
}

.rg-footer-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: inherit;
  color: #1D1D1D;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
  outline: none;
}

.rg-footer-accordion-header:hover {
  color: #4545F2;
}

.rg-footer-accordion-icon {
  width: 14px;
  height: 14px;
  color: #1D1D1D;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.rg-footer-accordion-item.active .rg-footer-accordion-icon {
  transform: rotate(180deg);
}

.rg-footer-accordion-content {
  display: none;
  padding: 4px 0 18px;
}

.rg-footer-accordion-item.active .rg-footer-accordion-content {
  display: block;
}

.rg-footer-accordion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.rg-footer-accordion-link {
  color: #4545F2;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rg-footer-accordion-link:hover {
  text-decoration: underline;
  color: #2525C2;
}

/* 8 Columns Grid */
.rg-footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.rg-footer-col {
  display: flex;
  flex-direction: column;
}

.rg-footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 18px;
  line-height: 1.25;
  letter-spacing: -0.1px;
}

.rg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rg-footer-link {
  color: #4545F2 !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.15s ease;
  cursor: pointer;
  word-break: break-word;
}

.rg-footer-link:hover {
  color: #2525C2 !important;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .rg-footer-columns-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .rg-footer-accordion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rg-footer-columns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .rg-footer-accordion-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BILINGUAL LTR SUPPORT (OTP Modal, Preference Modal & Discovery)
   ============================================================ */
.rg-ltr .rg-otp-modal,
[dir="ltr"] .rg-otp-modal {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rg-ltr .rg-otp-close,
[dir="ltr"] .rg-otp-close {
  left: auto;
  right: 16px;
}

.rg-ltr .rg-pref-modal,
[dir="ltr"] .rg-pref-modal {
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rg-ltr .rg-pref-close,
[dir="ltr"] .rg-pref-close {
  left: auto;
  right: 20px;
}

.rg-ltr .rg-pref-header,
[dir="ltr"] .rg-pref-header,
.rg-ltr .rg-pref-section,
[dir="ltr"] .rg-pref-section {
  text-align: left;
}

.rg-ltr .rg-route-card,
[dir="ltr"] .rg-route-card {
  text-align: left;
}

.rg-ltr .rg-route-cities,
[dir="ltr"] .rg-route-cities {
  flex-direction: row;
}

.rg-ltr .rg-stat-item,
[dir="ltr"] .rg-stat-item,
.rg-ltr .rg-feature-card,
[dir="ltr"] .rg-feature-card,
.rg-ltr .rg-app-download-banner,
[dir="ltr"] .rg-app-download-banner {
  text-align: left;
}

.rg-ltr .rg-home-block-header,
[dir="ltr"] .rg-home-block-header {
  text-align: left;
}


/* OTP modal polish: keep tabs clear of close btn, tidy footer links */
.rg-otp-modal #rgAuthModeTabs { margin-top: 4px; }
.rg-otp-signup-provision a, .rg-otp-footer button { white-space: nowrap; }
.rg-otp-signup-provision { line-height: 1.9; }

/* ============================================================
   REDBUS-STYLE SOFT SURFACE SHADES & UNIFIED SECTION HEADERS
   ============================================================ */

/* 1. Unified Section Headers (Bold Dark Title + Clean Gray Subtitle) */
.rg-home-block-header,
.rg-deals-header {
  margin-bottom: 18px !important;
}

.rg-home-block-title-wrap {
  gap: 4px !important;
}

.rg-home-block-title,
.rg-offers-title,
.rg-deals-title,
.rg-faq-bus-heading,
.rg-popular-routes-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1D1D1D !important;
  letter-spacing: -0.3px !important;
  line-height: 1.3 !important;
}

.rg-home-block-desc,
.rg-deals-desc {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
  line-height: 1.5 !important;
}

.rg-home-block-badge {
  background: #FCE8E6 !important;
  color: #B91C1C !important;
  border: none !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}

/* 2. Shaded Rounded Box ONLY on the 2 Banner Elements (Promo Offer & RouteDeals) */
.rg-promo-card,
.rg-reddeals-card {
  background: #F5F6F8 !important;
  border: 1px solid #ECEEF2 !important;
  border-radius: 20px !important;
  padding: 20px 26px !important;
  box-shadow: none !important;
}

.rg-promo-card:hover,
.rg-reddeals-card:hover {
  background: #F0F2F5 !important;
  border-color: #E2E8F0 !important;
}

.rg-promo-text h3,
.rg-reddeals-headline {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #1D1D1D !important;
}

.rg-promo-text p,
.rg-reddeals-subtext {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
}

.rg-coupon-badge {
  background: #FFFFFF !important;
  border: 1.5px solid #16A34A !important;
  color: #15803D !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.rg-promo-btn,
.rg-reddeals-btn {
  background: #FADBD8 !important;
  color: #1D1D1D !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 10px 24px !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.rg-promo-btn:hover,
.rg-reddeals-btn:hover {
  background: #F5B7B1 !important;
  color: #1D1D1D !important;
  transform: translateY(-1px);
}

/* 3. Full-Viewport-Width Shade on ONE Section ("Why Choose RouteGo" 4 Pillars) */
html,
body,
#wrapwrap,
.rg-body,
.rg-portal-wrap {
  overflow-x: clip !important;
}

.rg-home-block:has(.rg-features-grid) {
  position: relative;
  padding: 52px 0;
  margin-bottom: 72px;
  z-index: 1;
}

.rg-home-block:has(.rg-features-grid)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #F5F6F8;
  border-top: 1px solid #ECEEF2;
  border-bottom: 1px solid #ECEEF2;
  z-index: -1;
  pointer-events: none;
}

.rg-feature-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* 4. Premium Arabic Typography (IBM Plex Sans Arabic + Zero Letter-Spacing so Ligatures Never Break) */
[dir="rtl"],
.rg-rtl,
body.rg-rtl,
[dir="rtl"] body,
[dir="rtl"] .rg-portal-wrap,
[dir="rtl"] .rg-otp-modal,
[dir="rtl"] .rg-footer-exact {
  font-family: var(--font-arabic) !important;
}

[dir="rtl"] *,
.rg-rtl * {
  letter-spacing: 0 !important;
}



