/* ==========================================================================
   THE VACATION CODE — SAATHI AI CONCIERGE STYLESHEET
   Extracted from includes/saathi_widget.php
   ========================================================================== */

/* ═══════════════════════════════════════════════
   SAATHI WIDGET — Gen-Z Redesign
═══════════════════════════════════════════════ */

/* ─ FAB ─ */
#saathi-fab {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 9998;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3FA56B 0%, #2E8553 50%, #256E44 100%);
  box-shadow: 0 6px 24px rgba(46, 133, 83,0.45), 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -2px 0 rgba(0,0,0,0.1);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, opacity .25s ease;
  isolation: isolate;
}
#saathi-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 36px rgba(46, 133, 83,0.55), 0 4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.12);
}
#saathi-fab.is-open { transform: scale(0.8) rotate(15deg); opacity: 0; pointer-events: none; }

/* Animated pulse rings */
.sfab-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(46, 133, 83,0.55);
  animation: fabRingPulse 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
.sfab-pulse-ring-2 {
  border-color: rgba(46, 133, 83,0.25);
  animation-delay: 0.85s;
}
@keyframes fabRingPulse {
  0%    { transform: scale(1);   opacity: 0.85; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}

.sfab-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(255,255,255,0.22) 0%, transparent 30%, rgba(255,255,255,0.08) 60%, transparent 100%);
  animation: orbSpin 6s linear infinite;
  z-index: 0;
}
.sfab-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.sfab-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: radial-gradient(circle at 40% 40%, #3FA56B, #2E8553);
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(46, 133, 83,0.5);
  z-index: 2;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(46, 133, 83,0.5), 0 0 0 0 rgba(46, 133, 83,0.35); }
  50%       { box-shadow: 0 2px 6px rgba(46, 133, 83,0.5), 0 0 0 7px rgba(46, 133, 83,0); }
}

/* Timed greeting bubble */
#saathi-fab-bubble {
  position: absolute;
  right: 82px;
  bottom: 8px;
  background: #ffffff;
  border: 1.5px solid rgba(34,197,94,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 14px 10px 12px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  font-size:var(--text-sm);
  font-weight: 700;
  color: #1B2921;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 9997;
  font-family: inherit;
}
#saathi-fab-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1.5px solid rgba(34,197,94,0.18);
  border-top: 1.5px solid rgba(34,197,94,0.18);
}
#saathi-fab-bubble.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
#saathi-fab-bubble button {
  background: #EFE7D6;
  border: none;
  color: #5C6B60;
  font-size:var(--text-xs);
  cursor: pointer;
  padding: 3px 7px;
  line-height: 1;
  font-weight: 800;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
#saathi-fab-bubble button:hover { background: #E6DCC8; color: #1B2921; }

/* ─ Panel ─ full-height sidebar */
#saathi-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  width: min(440px, calc(100vw - 16px));
  height: 100vh;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.08), -2px 0 12px rgba(63, 165, 107,0.03);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#saathi-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* Desktop layout content shifting */
@media (min-width: 641px) {
  :root {
    --saathi-panel-w: min(420px, calc(100vw - 24px));
  }
  body {
    transition: padding-right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  body.saathi-open {
    padding-right: var(--saathi-panel-w);
  }
  body.saathi-open .hdr,
  body.saathi-open #hp-flash-banner {
    width: calc(100vw - var(--saathi-panel-w)) !important;
    max-width: calc(100vw - var(--saathi-panel-w)) !important;
    left: 0 !important;
    right: auto !important;
    box-sizing: border-box;
  }
  body.saathi-open .hdr-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }
  body.saathi-open .hdr-right {
    min-width: 0;
  }
  body.saathi-open .hdr-nav {
    min-width: 0;
  }
  @media (max-width: 1480px) {
    body.saathi-open .hdr-nav {
      display: none !important;
    }
    body.saathi-open .hdr-burger {
      display: flex !important;
    }
    body.saathi-open .hdr-club-btn {
      display: none !important;
    }
    body.saathi-open .hdr-user-name {
      display: none !important;
    }
    body.saathi-open .hdr-sep {
      display: none !important;
    }
    body.saathi-open .hdr-right {
      gap: 6px !important;
    }
  }
  .hdr {
    transition: box-shadow .3s ease, background .3s ease, border-color .3s ease, padding .3s ease, width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
}

/* ─ Header ─ */
.sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  gap: 8px;
}
.sp-header-left { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  min-width: 0;
  flex: 1 1 auto;
}
.sp-avatar {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(46, 133, 83, 0.2);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(46, 133, 83, 0.08);
  flex-shrink: 0;
}
.sp-name {
  font-weight: 800;
  font-size:var(--text-base);
  color: #1B2921;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
  white-space: nowrap !important;
  line-height: 1.2;
}
.sp-ai-badge {
  font-size:var(--text-2xs) !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  background: linear-gradient(135deg, #2E8553, #256E44);
  color: #ffffff !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(46, 133, 83, 0.2);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}
.sp-status {
  font-size:var(--text-xs);
  color: #5C6B60;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  white-space: nowrap !important;
}
.sp-dot {
  width: 6px; height: 6px;
  background: #2E8553;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 133, 83, 0.2);
  animation: saathiBlink2 2s ease-in-out infinite;
  flex-shrink: 0;
}
.sp-header-right { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  flex-shrink: 0 !important;
}

/* ─ Buttons ─ */
.sp-btn {
  background: transparent;
  border: 1px solid #E6DCC8;
  color: #3C4E42;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
  font-weight: 700;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.sp-btn:hover {
  background: #EFE7D6;
  border-color: #D9CDB4;
  color: #1B2921;
}
.sp-btn-icon { width: 32px; height: 32px; border-radius: 10px; }
.sp-btn-new {
  height: 32px;
  padding: 0 12px;
  font-size:var(--text-xs);
  font-weight: 800;
  letter-spacing: .02em;
  background: #2E8553;
  color: #ffffff;
  border-color: transparent;
  border-radius: 10px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.sp-btn-new:hover {
  background: #256E44;
  color: #ffffff;
}
.sp-btn-close { font-size: 0; }

/* ─ Messages ─ */
.sp-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  scrollbar-width: none;
  position: relative;
}
.sp-messages > * { flex-shrink: 0; position: relative; z-index: 1; }
.sp-messages::-webkit-scrollbar { display: none; }

/* ─ Chips ─ */
.saathi-chips-wrap {
  padding: 6px 0 8px;
  margin: 4px 0;
}

/* Personalised upcoming-trip pill */
.saathi-trip-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-shadow: 0 2px 10px rgba(46, 133, 83,.10);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  animation: saathiChipIn .4s cubic-bezier(0.16,1,0.3,1) both;
}
.saathi-trip-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(46, 133, 83,.18); border-color: #93c5fd; }
.saathi-trip-pill.is-soon { border-color: #fcd34d; background: linear-gradient(135deg, #fffbeb, #ffffff); box-shadow: 0 2px 10px rgba(245,158,11,.12); }
.saathi-trip-pill.is-soon:hover { border-color: #fbbf24; box-shadow: 0 6px 18px rgba(245,158,11,.2); }
.saathi-trip-pill .stp-ico { font-size:var(--text-xl); line-height: 1; flex-shrink: 0; }
.saathi-trip-pill .stp-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.saathi-trip-pill .stp-dest { font-size:var(--text-sm); font-weight: 800; color: #1B2921; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saathi-trip-pill .stp-when { font-size:var(--text-xs); font-weight: 600; color: #2E8553; }
.saathi-trip-pill.is-soon .stp-when { color: #d97706; }
.saathi-trip-pill.is-returned { border-color: #ddd6fe; background: linear-gradient(135deg, #f5f3ff, #ffffff); box-shadow: 0 2px 10px rgba(139,92,246,.10); }
.saathi-trip-pill.is-returned .stp-when { color: #7c3aed; }
.saathi-trip-pill .stp-cta { font-size:var(--text-xs); font-weight: 800; color: #2E8553; white-space: nowrap; flex-shrink: 0; }
.saathi-trip-pill.is-soon .stp-cta { color: #d97706; }
.saathi-trip-pill.is-returned .stp-cta { color: #7c3aed; }

/* Label row */
.saathi-chips-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size:var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B5537;
  background: rgba(46, 133, 83, 0.07);
  border: 1px solid rgba(46, 133, 83, 0.15);
  border-radius: 99px;
  padding: 4px 10px 4px 7px;
  margin-bottom: 10px;
  user-select: none;
}
.saathi-chips-label .sc-live-dot {
  width: 7px; height: 7px;
  background: #2E8553;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(46, 133, 83,0.5);
  animation: scLivePulse 2s ease-out infinite;
}
@keyframes scLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 133, 83,0.5); }
  70%  { box-shadow: 0 0 0 5px rgba(46, 133, 83,0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 133, 83,0); }
}

/* Chip list — clean single column, no orphan rows */
.saathi-chips-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
/* First chip is the hero — subtle brand accent */
.saathi-chips-container .saathi-chip:first-child {
  padding: 14px 16px;
  font-size:var(--text-sm);
  background: linear-gradient(135deg, rgba(46, 133, 83,0.10) 0%, rgba(63, 165, 107,0.06) 100%);
  border-color: rgba(46, 133, 83, 0.3);
}
.saathi-chips-container .saathi-chip:first-child .sc-emoji { font-size:var(--text-lg); }

/* Chip entrance animation */
@keyframes saathi-chip-in {
  from { opacity: 0; transform: translateY(10px) scale(0.90); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
/* Chip exit animation */
@keyframes saathi-chip-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.88); }
}
.saathi-chips-wrap.sc-exiting {
  animation: saathi-chip-out 0.22s cubic-bezier(.4,0,.2,1) both;
}

/* Base chip */
.saathi-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 14px;
  font-size:var(--text-xs);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(46, 133, 83, 0.18);
  cursor: pointer;
  color: #0F172A;
  white-space: normal;
  text-align: left;
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.2s ease,
              background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(46, 133, 83, 0.04),
              inset 0 1px 0 rgba(255,255,255,0.8);
  animation: saathi-chip-in 0.28s cubic-bezier(.34,1.56,.64,1) both;
  letter-spacing: 0.01em;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
}
/* Gloss sheen */
.saathi-chip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
  border-radius: inherit;
  pointer-events: none;
}
/* Ripple layer */
.saathi-chip .sc-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(46, 133, 83,0.15);
  transform: scale(0);
  animation: scRipple 0.5s linear;
  pointer-events: none;
}
@keyframes scRipple {
  to { transform: scale(4); opacity: 0; }
}
.saathi-chip .sc-emoji {
  font-size:var(--text-base); flex-shrink: 0; line-height: 1;
  transition: transform 0.2s ease;
}
.saathi-chip .sc-text { flex: 1; }
.saathi-chip .sc-arrow {
  flex-shrink: 0; opacity: 0.5; font-size:var(--text-sm); font-weight: 900;
  transition: transform 0.18s ease, opacity 0.18s ease;
  margin-left: 1px;
  color: #2E8553;
}
.saathi-chip:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(46, 133, 83, 0.45);
  color: #256E44;
  box-shadow: 0 8px 20px rgba(46, 133, 83, 0.12),
              inset 0 1px 0 rgba(255,255,255,0.9);
}
.saathi-chip:hover .sc-arrow { transform: translateX(4px); opacity: 1; }
.saathi-chip:hover .sc-emoji { transform: scale(1.15); }
.saathi-chip:active { transform: translateY(-1px) scale(1); }

/* ─ Follow-up chips ─ */
@keyframes saathi-fup-in {
  from { opacity: 0; transform: translateY(12px) scale(0.93); }
  to   { opacity: 1; transform: translateY(0)     scale(1);   }
}
.saathi-fups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  align-self: stretch;
  width: 100%;
  margin-top: 8px;
}
.saathi-fup {
  padding: 9px 11px;
  border-radius: 12px;
  font-size:var(--text-xs);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(46, 133, 83, 0.2);
  cursor: pointer;
  color: #0F172A;
  white-space: normal;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
  font-family: inherit;
  box-shadow: 0 3px 8px rgba(46, 133, 83, 0.03),
              inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.17s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.17s ease,
              background 0.17s ease,
              color 0.17s ease,
              border-color 0.17s ease;
  animation: saathi-fup-in 0.25s cubic-bezier(.34,1.56,.64,1) both;
  position: relative;
  overflow: hidden;
}
.saathi-fup .sc-emoji { font-size:var(--text-base); flex-shrink: 0; line-height: 1.4; }
.saathi-fup .sc-text { flex: 1; }
.saathi-fup .sc-arrow {
  font-size:var(--text-2xs); opacity: 0.35; flex-shrink: 0;
  transition: transform 0.17s ease, opacity 0.17s ease;
  align-self: center; font-weight: 900;
  color: #2E8553;
}
.saathi-fup:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(46, 133, 83, 0.45);
  color: #256E44;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(46, 133, 83, 0.1),
              inset 0 1px 0 rgba(255,255,255,0.9);
}
.saathi-fup:hover .sc-arrow { transform: translateX(3px); opacity: 1; }
.saathi-fup:active { transform: translateY(0); }


/* ─ Tool indicator ─ */
.saathi-tool {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font-size:var(--text-xs);
  color: #2E8553;
  font-weight: 700;
  background: #eff6ff;
  border: 1.5px solid rgba(46, 133, 83, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(46, 133, 83, 0.08);
}

/* ─ Feedback row ─ */
.saathi-fb { display: flex; gap: 5px; align-items: center; align-self: flex-start; margin: 2px 0 2px 2px; }
.saathi-fb button {
  background: #EFE7D6;
  border: 1.5px solid #E6DCC8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.15s ease;
  color: #3C4E42;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.saathi-fb button:hover { background: #eff6ff; border-color: rgba(46, 133, 83, 0.3); color: #2E8553; }
.saathi-fb button.on { background: #eff6ff; border-color: rgba(46, 133, 83, 0.4); color: #2E8553; }
.saathi-fb .done { font-size:var(--text-xs); color: #2E8553; font-weight: 700; letter-spacing: 0.01em; }

/* ─ Boarding Pass / Ticket Stub Cards ─ */
#saathi-panel .ticket-stub-card {
  display: flex;
  background: #ffffff;
  border: 2px solid #2E8553;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #2E8553;
  box-shadow: 4px 4px 0px #2E8553;
  position: relative;
  margin-bottom: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 86px;
  width: 100%;
  /* Override index.php global rule that sets opacity:0 / translateY(15px) */
  opacity: 1 !important;
  transform: none !important;
}
#saathi-panel .ticket-stub-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 6px 6px 0px #2E8553;
}
#saathi-panel .ticket-img {
  width: 72px;
  background-size: cover;
  background-position: center;
  border-right: 2px solid #2E8553;
  flex-shrink: 0;
}
#saathi-panel .ticket-notch {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #F8FAFC; /* matches the sp-messages background */
  border: 2px solid #2E8553;
  border-radius: 50%;
  z-index: 5;
}
#saathi-panel .ticket-notch.notch-top {
  top: -7px;
  right: 74px;
}
#saathi-panel .ticket-notch.notch-bottom {
  bottom: -7px;
  right: 74px;
}
#saathi-panel .ticket-main {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  min-width: 0;
}
#saathi-panel .ticket-tag-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
#saathi-panel .ticket-tag {
  font-family: 'DM Mono', monospace;
  font-size:var(--text-2xs);
  font-weight: 800;
  text-transform: uppercase;
  background: #eff6ff;
  border: 1.5px solid #2E8553;
  padding: 1px 6px;
  border-radius: 4px;
  color: #2E8553;
}
#saathi-panel .ticket-barcode {
  width: 32px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #2E8553,
    #2E8553 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
}
#saathi-panel .ticket-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size:var(--text-sm);
  line-height: 1.25;
  margin: 4px 0;
  color: #1B2921;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#saathi-panel .ticket-meta {
  font-size:var(--text-xs);
  color: #5C6B60;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#saathi-panel .ticket-desc {
  font-size:var(--text-2xs);
  color: #3C4E42;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#saathi-panel .ticket-divider {
  width: 0;
  border-left: 2px dashed rgba(46, 133, 83, 0.4);
  margin: 6px 0;
}
#saathi-panel .ticket-stub {
  width: 80px;
  padding: 6px;
  background: #eff6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #2E8553;
  text-align: center;
  flex-shrink: 0;
}
#saathi-panel .stub-label {
  font-family: 'DM Mono', monospace;
  font-size:var(--text-2xs);
  font-weight: 800;
  color: #1B5537;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
#saathi-panel .stub-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size:var(--text-xs);
  font-weight: 900;
  color: #1B5537;
  background: rgba(46, 133, 83, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  margin-bottom: 4px;
}
#saathi-panel .stub-cta {
  font-size:var(--text-2xs);
  font-weight: 800;
  text-transform: uppercase;
  color: #2E8553;
  letter-spacing: 0.3px;
  text-decoration: none;
}

/* ─ Conversation history ─ */
.sp-convos-panel {
  display: none;
  position: absolute;
  inset: 0;
  background: #ffffff;
  overflow-y: auto;
  flex-direction: column;
  z-index: 1000;
}
.sp-convos-header {
  padding: 14px 18px;
  border-bottom: 1.5px solid rgba(63, 165, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
  font-size:var(--text-base);
  font-weight: 800;
  color: #1e1b4b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.saathi-conv {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(63, 165, 107, 0.07);
  cursor: pointer;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s ease;
}
.saathi-conv:hover { background: #f0fdf4; }
.saathi-conv .t { font-size:var(--text-sm); font-weight: 700; color: #1e1b4b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saathi-conv .m { font-size:var(--text-xs); color: #3C4E42; font-weight: 600; }

/* ─ Input area ─ */
.sp-input-wrap {
  padding: 16px 20px;
  background: transparent;
  flex-shrink: 0;
}
.sp-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.sp-input-row:focus-within {
  border-color: rgba(63, 165, 107,0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(46, 133, 83, 0.08), 0 8px 24px rgba(0,0,0,0.06);
}
.sp-input-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.sp-input-row:focus-within .sp-input-prefix img {
  animation: prefixBob 0.8s ease-in-out infinite alternate;
}
@keyframes prefixBob {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-2.5px) scale(1.08); }
}
.sp-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #1B2921;
  font-size:var(--text-base);
  font-weight: 500;
  font-family: inherit;
  padding: 8px 12px;
  resize: none;
  min-height: 24px;
  line-height: 1.5;
  scrollbar-width: none;
}
.sp-input::-webkit-scrollbar { display: none; }
.sp-input::placeholder { color: #8D9A8F; font-weight: 500; }
.sp-send-btn {
  background: #1B2921;
  border: none;
  border-radius: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-left: 8px;
}
.sp-send-btn:hover { 
  background: #3FA56B;
  transform: scale(1.05); 
}
.sp-send-btn svg {
  transition: transform 0.2s ease;
}
.sp-send-btn:hover svg {
  transform: translate(2px, -2px);
}
.sp-send-btn:active { transform: scale(0.95); }
.sp-powered {
  text-align: center;
  font-size:var(--text-2xs);
  color: #8D9A8F;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ─ Caret blink ─ */
.saathi-caret {
  display: inline-block;
  width: 2px; height: 14px;
  background: #a78bfa;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: saathiBlink 1s step-end infinite;
  border-radius: 1px;
}

/* ─ Animations ─ */
@keyframes saathiPulse  { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes saathiUp     { from { opacity:0; transform: scale(.9) translateY(18px); } to { opacity:1; transform: scale(1) translateY(0); } }
@keyframes saathiBlink  { 50% { opacity: 0; } }
@keyframes saathiBlink2 { 0%,100% { opacity:1; } 50% { opacity:.4; } }

/* ─ FAB position ─ */
@media (min-width: 641px) {
  #saathi-fab {
    right: 22px;
    left: auto;
    bottom: 26px;
  }
  #saathi-fab-bubble {
    right: 76px;
    left: auto;
  }
  #saathi-fab-bubble::after {
    right: -6px;
    left: auto;
    border-right: 1px solid rgba(63, 165, 107, 0.2);
    border-top: 1px solid rgba(63, 165, 107, 0.2);
    border-left: none;
    border-bottom: none;
  }
}

/* ─ Mobile: fullscreen above bottom navbar ─ */
@media (max-width: 640px) {
  #saathi-fab  { bottom: calc(86px + env(safe-area-inset-bottom)) !important; right: 16px !important; }
  #saathi-panel {
    top: 0 !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;   /* above mobile bottom nav */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100vh - (76px + env(safe-area-inset-bottom))) !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-top: none !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18) !important;
  }
  /* Make the close button on mobile more prominent */
  .sp-btn-close {
    width: 40px !important;
    height: 40px !important;
    background: #EFE7D6 !important;
    border-radius: 50% !important;
    border-color: #E6DCC8 !important;
  }
  .sp-btn-close svg { width: 18px !important; height: 18px !important; }
}

/* Cinematic Orb Loader */
.saathi-orb-loader {
  position: relative;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.saathi-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #3FA56B;
  border-left-color: #3FA56B;
  animation: orbSpin 1s linear infinite;
}
.saathi-orb-mascot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3FA56B;
  position: relative;
  z-index: 2;
  animation: orbPulse 1.5s ease-in-out infinite alternate;
}
@keyframes orbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes orbPulse {
  0% { transform: scale(0.8); opacity: 0.7; box-shadow: 0 0 0 0 rgba(63, 165, 107,0.4); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 6px rgba(63, 165, 107,0); }
}

/* Dynamic Status Text */
.saathi-status-container {
  display: block;
  position: relative;
  height: 20px;
  width: 200px;
  font-size:var(--text-sm);
  font-weight: 600;
  color: #312e81;
}
.saathi-status-text {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  animation: statusCycle 8s infinite;
  opacity: 0;
}
.saathi-status-text:nth-child(1) { animation-delay: 0s; }
.saathi-status-text:nth-child(2) { animation-delay: 2s; }
.saathi-status-text:nth-child(3) { animation-delay: 4s; }
/* ─ Exit Intent Modal – Premium Expert Theme & Centered Alignment ─ */
.saathi-ei-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2147483647 !important;
  padding: 16px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  box-sizing: border-box !important;
  animation: saathiEiFadeIn 0.2s ease-out !important;
}
.saathi-ei-modal-overlay.hidden,
.saathi-ei-modal-overlay[style*="display: none"],
.saathi-ei-modal-overlay[style*="display:none"] {
  display: none !important;
}

.saathi-ei-modal-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  width: min(840px, 94vw) !important;
  max-height: min(92vh, 690px) !important;
  margin: auto !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
  animation: saathiEiScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  box-sizing: border-box !important;
  display: flex !important;
  position: relative !important;
}

/* ── Left visual panel ── */
.saathi-ei-visual {
  width: 38%;
  flex-shrink: 0;
  position: relative;
  background: #06231a;
  overflow: hidden;
}
.saathi-ei-visual-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: transform 6s ease;
}
.saathi-ei-visual:hover .saathi-ei-visual-img { transform: scale(1.05); }
.saathi-ei-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(6,35,26,0.35) 0%, rgba(6,35,26,0.92) 100%);
}
.saathi-ei-visual-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.saathi-ei-visual-content {
  position: absolute;
  bottom: 24px; left: 20px; right: 20px;
}
.saathi-ei-visual-title {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.saathi-ei-visual-stats {
  display: flex;
  gap: 8px;
}
.saathi-ei-visual-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  flex: 1;
  transition: background 0.2s;
}
.saathi-ei-visual-stat:hover { background: rgba(255,255,255,0.2); }
.saathi-ei-visual-stat strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}
.saathi-ei-visual-stat span {
  color: rgba(255,255,255,0.85);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

/* ── Right form panel & Step Wizard ── */
.saathi-ei-form-panel {
  flex: 1;
  padding: 22px 24px 20px;
  max-height: min(92vh, 690px);
  overflow-y: auto;
  position: relative;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

/* Progress bar */
.saathi-ei-progress-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  margin-right: 44px;
  margin-bottom: 14px;
  overflow: hidden;
}
.saathi-ei-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #059669 0%, #10B981 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Header */
.saathi-ei-step-head {
  margin-bottom: 12px;
}
.saathi-ei-step-title {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
  font-family: 'Outfit', sans-serif;
  line-height: 1.25;
}
.saathi-ei-step-sub {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Input groups */
.saathi-ei-input-group {
  margin-bottom: 11px;
  position: relative;
}
.saathi-ei-input-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 750;
  color: #475569;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Destination search wrapper */
.saathi-ei-dest-wrap {
  position: relative;
}
.saathi-ei-dest-wrap .saathi-ei-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #059669;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  width: 16px;
  height: 16px;
}
.saathi-ei-dest-input {
  width: 100%;
  padding: 10px 34px 10px 42px !important;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 13.5px;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
}
.saathi-ei-dest-input::placeholder { color: #94A3B8; font-weight: 400; }
.saathi-ei-dest-input:focus {
  border-color: #059669;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}
.saathi-ei-dest-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #E2E8F0;
  border: none;
  color: #475569;
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
  padding: 0;
  z-index: 3;
}
.saathi-ei-dest-clear:hover { background: #CBD5E1; color: #0F172A; }
.saathi-ei-dest-clear.visible { display: flex; }

/* Autocomplete dropdown */
.saathi-ei-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  z-index: 100;
  overflow: hidden;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}
.saathi-ei-autocomplete.open { display: block; animation: saathiEiDropIn 0.18s ease; }
@keyframes saathiEiDropIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.saathi-ei-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #0F172A;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.12s;
  font-weight: 500;
}
.saathi-ei-ac-item:last-child { border-bottom: none; }
.saathi-ei-ac-item:hover,
.saathi-ei-ac-item.focused { background: #ECFDF5; color: #059669; }
.saathi-ei-ac-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: #ECFDF5;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.saathi-ei-ac-match { font-weight: 800; color: #059669; }
.saathi-ei-ac-no-result {
  padding: 14px 12px;
  font-size: 12.5px;
  color: #64748B;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Trending destinations label + chips */
.saathi-ei-popular-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 750;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 6px;
}
.saathi-ei-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.saathi-ei-chip {
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.saathi-ei-chip::before { content: '📍'; font-size: 10px; }
.saathi-ei-chip:hover { border-color: #059669; color: #065F46; background: #ECFDF5; transform: translateY(-1px); }
.saathi-ei-chip.sel {
  border-color: #059669;
  background: #ECFDF5;
  color: #065F46;
  font-weight: 750;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
}
.saathi-ei-chip.hidden { display: none; }

/* Vibe Grid */
.saathi-ei-vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 2px;
}
.saathi-ei-vibe-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: 'Inter', system-ui, sans-serif;
}
.saathi-ei-vibe-btn:hover {
  background: #ECFDF5;
  border-color: #059669;
  transform: translateY(-1px);
}
.saathi-ei-vibe-btn:hover .saathi-vibe-icon {
  color: #059669;
}
.saathi-ei-vibe-btn.active {
  background: #ECFDF5;
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}
.saathi-vibe-icon {
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  transition: color 0.18s ease;
}
.saathi-ei-vibe-btn.active .saathi-vibe-icon {
  color: #059669;
}
.saathi-vibe-lbl { font-size: 11.5px; font-weight: 700; color: #1E293B; }

/* Pax Pills */
.saathi-ei-pax-pills {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.saathi-ei-pax-pill {
  flex: 1;
  padding: 7px 6px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  font-family: 'Inter', system-ui, sans-serif;
}
.saathi-ei-pax-pill:hover {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}
.saathi-ei-pax-pill.active {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* Summary Box on Step 2 */
.saathi-ei-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  gap: 8px;
}
.saathi-ei-summary-item {
  display: flex;
  flex-direction: column;
}
.saathi-ei-sum-lbl {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.5px;
}
.saathi-ei-sum-val {
  font-size: 12.5px;
  color: #0F172A;
  font-weight: 700;
}
.saathi-ei-sum-edit {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 11.5px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.saathi-ei-back-link {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 6px;
  transition: color 0.15s;
}
.saathi-ei-back-link:hover {
  color: #059669;
}

/* Regular inputs */
.saathi-ei-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #CBD5E1;
  border-radius: 11px;
  font-size: 13.5px;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
}
.saathi-ei-input::placeholder { color: #94A3B8; font-weight: 400; }
.saathi-ei-input:focus {
  border-color: #059669;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}
.saathi-ei-req {
  color: #ef4444;
  font-size: 12px;
  font-weight: 800;
  margin-left: 1px;
}
.saathi-ei-opt {
  color: #94A3B8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 2px;
}
.saathi-ei-phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #CBD5E1;
  border-radius: 11px;
  background: #F8FAFC;
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.saathi-ei-phone-wrap:focus-within {
  border-color: #059669;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}
.saathi-ei-phone-select {
  padding: 0 6px 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  border: none;
  border-right: 1.5px solid #E2E8F0;
  height: 42px;
  display: flex;
  align-items: center;
  background: #F1F5F9;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
}
.saathi-ei-phone-input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

.saathi-ei-date-input {
  cursor: pointer;
}

/* CTA button */
.saathi-ei-cta {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.saathi-ei-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  background: linear-gradient(135deg, #047857 0%, #065F46 100%);
}
.saathi-ei-cta:active { transform: translateY(0); }
.saathi-ei-cta:disabled { opacity: 0.6; transform: none; cursor: default; }

/* Close button matching tvc-modal-close-btn */
.saathi-ei-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
  z-index: 50;
  padding: 0;
}
.saathi-ei-modal-close svg {
  pointer-events: none;
}
.saathi-ei-modal-close:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: scale(1.05);
}

/* Mobile: stack vertically */
@media (max-width: 580px) {
  .saathi-ei-modal-card { flex-direction: column; max-height: 96vh; }
  .saathi-ei-visual { width: 100%; height: 140px; flex-shrink: 0; }
  .saathi-ei-visual-stats { display: none; }
  .saathi-ei-form-panel { padding: 16px 14px 14px; }
  .saathi-ei-step-title { font-size: 17px; }
  .saathi-ei-dest-input, .saathi-ei-input { font-size: 16px !important; }
}
@keyframes saathiEiFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes saathiEiScaleIn { from { opacity: 0; transform: scale(0.96) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Kill glass blur only — keep controlled shadows for real depth */
#saathi-panel, #saathi-panel *, #saathi-fab, #saathi-fab-bubble, #saathi-fab-bubble * {
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── FAB — solid brand orb, presence ring ── */
#saathi-fab {
  background: radial-gradient(circle at 32% 28%, #2E8553, #256E44 72%) !important;
  border: none !important;
  box-shadow: 0 10px 26px rgba(46, 133, 83,.28), 0 2px 6px rgba(46, 133, 83,.18), inset 0 1px 0 rgba(255,255,255,.22) !important;
  transition: transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s ease, opacity .2s ease !important;
}
#saathi-fab:hover { transform: translateY(-2px) !important; box-shadow: 0 16px 34px rgba(46, 133, 83,.34), 0 3px 8px rgba(46, 133, 83,.2) !important; }
#saathi-fab.is-open { transform: scale(.85) !important; opacity: 0 !important; }
#saathi-fab::after, #saathi-fab::before { display: none !important; }
.saathi-fab-online { animation: none !important; }
.sfab-dot { box-shadow: 0 0 0 3px #2E8553, 0 0 0 4.5px rgba(255,255,255,.9) !important; }
#saathi-fab-bubble {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.16) !important;
}
#saathi-fab-bubble button { background: #EFF6FF !important; }

/* ── Panel shell — solid floating surface with depth ── */
#saathi-panel {
  background: #F8FAFC !important;
  border-left: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  box-shadow: -24px 0 60px rgba(15,23,42,.12), -1px 0 0 rgba(15,23,42,.04) !important;
}
.sp-messages { background: #F8FAFC !important; }

/* ── Header — solid brand app-bar with depth ── */
.sp-header, .sp-convos-header {
  background: linear-gradient(135deg, #2E8553 0%, #256E44 100%) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  gap: 8px !important;
}
.sp-header .sp-avatar {
  width: 36px !important; height: 36px !important;
  background: #fff !important; color: #2E8553 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.22) !important;
  flex-shrink: 0 !important;
}
.sp-header::after {           /* top hairline highlight — machined, solid feel */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(255,255,255,.20); pointer-events: none;
}
.sp-header .sp-name, .sp-header .sp-status, .sp-powered { color: #fff !important; }
.sp-name { 
  font-size:var(--text-base) !important; 
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.sp-status { 
  opacity: .92 !important; 
  font-weight: 600 !important; 
  font-size:var(--text-xs) !important;
  white-space: nowrap !important;
}
.sp-ai-badge {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 5px !important;
  font-size:var(--text-2xs) !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 6px !important;
}
.sp-dot {
  background: #3FA56B !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 0 8px rgba(63, 165, 107,.9) !important;
  animation: none !important;
  flex-shrink: 0 !important;
}
.sp-btn, .sp-btn-icon, .sp-btn-new {
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 9px !important;
  color: #fff !important;
  transition: background .15s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sp-btn:hover, .sp-btn-icon:hover, .sp-btn-new:hover { background: rgba(255,255,255,.26) !important; }

/* ── Composer — elevated bar, solid send ── */
.sp-input-wrap {
  background: #fff !important;
  border: none !important;
  border-top: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  box-shadow: 0 -6px 18px rgba(15,23,42,.05) !important;
}
.sp-input-row {
  background: #fff !important;
  border: 1.5px solid #DCE3EA !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
.sp-input-row:focus-within {
  border-color: #2E8553 !important;
  box-shadow: 0 0 0 3px rgba(46, 133, 83,.14) !important;
}
.sp-input, #saathi-input { background: transparent !important; }
.sp-send-btn, #saathi-send {
  background: linear-gradient(135deg, #2E8553, #256E44) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(46, 133, 83,.30) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
.sp-send-btn:hover, #saathi-send:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 16px rgba(46, 133, 83,.40) !important; }
.sp-powered { color: #64748B !important; font-size:var(--text-2xs) !important; letter-spacing: .04em !important; }

/* ── Cards: flat ticket → flat card (no notches, barcode, perforations) ── */
.ticket-stub-card {
  background: #fff !important;
  border: 1px solid #BFDBFE !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(46, 133, 83,.07) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.ticket-stub-card:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 26px rgba(46, 133, 83,.12) !important; }
.ticket-notch, .ticket-barcode, .ticket-divider { display: none !important; }
.ticket-img { border-radius: 0 !important; }
.ticket-tag {
  background: #EFF6FF !important;
  color: #2E8553 !important;
  border: none !important;
  border-radius: 4px !important;
}
.ticket-title { color: #0F172A !important; }
.ticket-meta, .ticket-desc { color: #64748B !important; }
.stub-label { color: #64748B !important; }
.stub-price { color: #0F172A !important; }
.stub-cta {
  background: linear-gradient(135deg, #2E8553, #256E44) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 99px !important;
  box-shadow: 0 3px 10px rgba(46, 133, 83,.28) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
.stub-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 16px rgba(46, 133, 83,.38) !important; }

/* ── Suggestion / follow-up chips (hidden per user request) ── */
.saathi-chip, .saathi-fup, .saathi-chips-wrap, .saathi-fups, .saathi-ei-chips, .saathi-chips-container {
  display: none !important;
}
.saathi-ei-chip {
  background: #fff !important;
  border: 1px solid #D6DDE5 !important;
  border-radius: 99px !important;
  color: #64748B !important;
  padding: 6px 14px !important;
  font-size:var(--text-sm) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}
.saathi-ei-chip:hover {
  border-color: #2E8553 !important;
  color: #2E8553 !important;
  background: #EFF6FF !important;
  transform: none !important;
}
.saathi-ei-chip.sel {
  border-color: #2E8553 !important;
  background: #EFF6FF !important;
  color: #2E8553 !important;
  font-weight: 700 !important;
}

/* ── AI prose bubble ── */
.saathi-reply { background: transparent !important; }
.saathi-tool {
  background: #EFF6FF !important;
  color: #2E8553 !important;
  border: 1px solid #BFDBFE !important;
  border-radius: 8px !important;
}
.saathi-link { color: #2E8553 !important; }

/* ── Hero chip — intentional subtle accent (survives the flat white theme) ── */
.saathi-chips-container .saathi-chip:first-child {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
}

/* ════════════════════════════════════════════════════════════════════
   NO HOVER EFFECTS — calm, solid surface. Every element renders identical
   at rest and on hover: no lift, no scale, no slide, no glow/shadow grow,
   no colour/background shift. Cursor still shows pointer on clickables.
═══════════════════════════════════════════════════════════════════════ */
#saathi-panel *:hover,
#saathi-fab:hover, #saathi-fab *:hover,
#saathi-fab-bubble:hover, #saathi-fab-bubble *:hover {
  transform: none !important;
}
/* Freeze specific hover states to their resting look */
.saathi-chip:hover, .saathi-fup:hover {
  background: #fff !important;
  border-color: #DCE3EA !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.05) !important;
}
.saathi-chips-container .saathi-chip:first-child:hover {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
}
.saathi-chip:hover .sc-arrow, .saathi-chip:hover .sc-emoji { transform: none !important; opacity: .5 !important; }
.ticket-stub-card:hover { box-shadow: 0 4px 16px rgba(46, 133, 83,.07) !important; }
.stub-cta:hover { box-shadow: 0 3px 10px rgba(46, 133, 83,.28) !important; }
.sp-send-btn:hover, #saathi-send:hover { box-shadow: 0 3px 10px rgba(46, 133, 83,.30) !important; }
.sp-btn:hover, .sp-btn-icon:hover, .sp-btn-new:hover { background: rgba(255,255,255,.14) !important; }
#saathi-fab:hover {
  box-shadow: 0 10px 26px rgba(46, 133, 83,.28), 0 2px 6px rgba(46, 133, 83,.18), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.saathi-trip-pill:hover {
  transform: none !important;
  box-shadow: 0 2px 10px rgba(46, 133, 83,.10) !important;
  border-color: #bfdbfe !important;
}
.saathi-trip-pill.is-soon:hover {
  box-shadow: 0 2px 10px rgba(245,158,11,.12) !important;
  border-color: #fcd34d !important;
}
.saathi-trip-pill.is-returned:hover {
  box-shadow: 0 2px 10px rgba(139,92,246,.10) !important;
  border-color: #ddd6fe !important;
}
