/* ============================================================
   SARAH-UI.CSS — All styles for Sarah Advisor overlay
   Completely self-contained, won't affect your app styles
   ============================================================ */

/* ── OVERLAY ── */
#sarah-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  z-index: 9999;
  background: #faf7f2;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}
#sarah-overlay.sarah-open {
  transform: translateX(-50%) translateY(0);
}

/* ── HEADER BAR ── */
.sarah-header {
  background: linear-gradient(135deg, #1c1a18, #2a2420);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.sarah-header-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c842, #e8a020);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(244,200,66,0.4);
}
.sarah-header-info { flex: 1; }
.sarah-header-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #faf7f2;
  line-height: 1.2;
}
.sarah-header-status {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.5);
}
.sarah-close-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #faf7f2;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.sarah-close-btn:hover { background: rgba(255,255,255,0.15); }

/* ── SCREEN CONTAINER ── */
.sarah-screens {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.sarah-screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sarah-screen.sarah-active {
  opacity: 1;
  pointer-events: all;
}

/* ── WELCOME SCREEN ── */
.sarah-welcome {
  background: linear-gradient(160deg, #1c1a18 0%, #2a1a10 50%, #1a1520 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.sarah-welcome-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(196,98,58,0.2), transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(74,127,165,0.12), transparent 60%);
  pointer-events: none;
}
.sarah-welcome-badge {
  border: 1px solid rgba(196,98,58,0.5);
  color: #e8896a;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 28px;
  position: relative;
}
.sarah-welcome h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  color: #faf7f2;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}
.sarah-welcome h2 em { font-style: italic; color: #e8896a; }
.sarah-welcome-sub {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(250,247,242,0.6);
  max-width: 320px;
  margin-bottom: 36px;
  position: relative;
}
.sarah-intro-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 10px 20px 10px 10px;
  margin-bottom: 36px;
  position: relative;
  max-width: 340px;
}
.sarah-intro-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c842, #e8a020);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(244,200,66,0.3);
  overflow: hidden;
}
.sarah-intro-name { font-size: 0.7rem; font-weight: 700; color: #f4c842; }
.sarah-intro-quote { font-size: 0.78rem; color: rgba(250,247,242,0.65); line-height: 1.4; text-align: left; }

/* ── BUTTONS ── */
.sarah-btn-primary {
  background: #c4623a;
  color: white;
  border: none;
  padding: 16px 40px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  position: relative;
}
.sarah-btn-primary:hover, .sarah-btn-primary:active {
  background: #b05530;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,98,58,0.5);
}
.sarah-btn-ghost {
  background: none;
  border: 1px solid rgba(250,247,242,0.2);
  color: rgba(250,247,242,0.6);
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.sarah-btn-ghost:hover { border-color: #e8896a; color: #e8896a; }
.sarah-btn-back {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  color: #9a9088;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}
.sarah-btn-back:hover { color: #1c1a18; }
.sarah-btn-next {
  background: #c4623a;
  color: white;
  border: none;
  padding: 13px 32px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  opacity: 0.35;
  pointer-events: none;
}
.sarah-btn-next.sarah-ready { opacity: 1; pointer-events: all; }
.sarah-btn-next.sarah-ready:hover { background: #b05530; }

/* ── QUIZ SCREEN ── */
.sarah-quiz-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}
.sarah-progress-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 36px;
}
.sarah-progress-dot {
  height: 3px;
  flex: 1;
  background: rgba(90,85,80,0.15);
  border-radius: 2px;
  transition: background 0.3s;
}
.sarah-progress-dot.s-done { background: #6b8c7a; }
.sarah-progress-dot.s-active { background: #c4623a; }

.sarah-step-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4623a;
  margin-bottom: 10px;
}
.sarah-step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: #1c1a18;
  line-height: 1.2;
  margin-bottom: 28px;
}
.sarah-step-title em { font-style: italic; color: #c4623a; }

.sarah-options-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}
.sarah-options-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.sarah-options-grid.g3 { grid-template-columns: repeat(3, 1fr); }

.sarah-option {
  border: 2px solid rgba(90,85,80,0.15);
  background: white;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sarah-option:hover {
  border-color: #c4623a;
  background: #f5ddd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,98,58,0.15);
}
.sarah-option.s-selected {
  border-color: #c4623a;
  background: #f5ddd4;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196,98,58,0.2);
}
.sarah-option-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
  transition: transform 0.25s;
}
.sarah-option:hover .sarah-option-icon,
.sarah-option.s-selected .sarah-option-icon { transform: scale(1.15); }
.sarah-option-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1c1a18;
  display: block;
}
.sarah-option-sub {
  font-size: 0.7rem;
  color: #9a9088;
  margin-top: 3px;
  display: block;
}

/* City grid */
.sarah-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.sarah-city-btn {
  border: 2px solid rgba(90,85,80,0.15);
  background: white;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.25s;
  font-family: inherit;
}
.sarah-city-btn:hover { border-color: #c4623a; background: #f5ddd4; transform: translateY(-2px); }
.sarah-city-btn.s-selected { border-color: #c4623a; background: #f5ddd4; }
.sarah-city-emoji { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.sarah-city-name { font-size: 0.78rem; font-weight: 600; color: #1c1a18; }

.sarah-redirect-notice {
  display: none;
  background: linear-gradient(135deg, rgba(107,140,122,0.1), rgba(107,140,122,0.03));
  border: 1px solid rgba(107,140,122,0.4);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #1c1a18;
}
.sarah-redirect-notice strong { color: #6b8c7a; }

.sarah-quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

/* ── RESULTS SCREEN ── */
.sarah-results-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 100px;
}

/* Sarah greeting bubble */
.sarah-greeting-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s ease;
}
.sarah-greeting-row.s-show { opacity: 1; transform: translateY(0); }
.sarah-greeting-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c842, #e8a020);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(244,200,66,0.4);
}
.sarah-greeting-bubble {
  background: white;
  border-radius: 4px 18px 18px 18px;
  padding: 16px 20px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #1c1a18;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  border-left: 3px solid #c4623a;
  flex: 1;
}
.sarah-greeting-bubble strong { color: #c4623a; }

/* Typing dots */
.s-typing { display: inline-flex; gap: 4px; align-items: center; }
.s-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9a9088;
  animation: sBounce 1.2s ease infinite;
}
.s-typing span:nth-child(2) { animation-delay: 0.2s; }
.s-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sBounce {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* City header */
.sarah-city-header {
  margin-bottom: 28px;
}
.sarah-city-header.s-show { opacity: 1; }
.sarah-city-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 400;
  color: #1c1a18;
  line-height: 1;
}
.sarah-city-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sarah-tag {
  background: #c4623a;
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.sarah-tag.sage { background: #6b8c7a; }
.sarah-tagline {
  font-size: 0.88rem;
  color: #9a9088;
  font-style: italic;
  margin-top: 8px;
  line-height: 1.6;
}

/* Section label */
.sarah-section-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4623a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sarah-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(90,85,80,0.12);
}

/* Hotel cards */
.sarah-hotel-card {
  background: white;
  border: 1px solid rgba(90,85,80,0.1);
  padding: 16px 18px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.25s;
}
.sarah-hotel-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.sarah-hotel-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 3px; }
.sarah-hotel-desc { font-size: 0.78rem; color: #9a9088; line-height: 1.5; }
.sarah-hotel-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  color: #c4623a;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Don't do */
.sarah-donts {
  background: linear-gradient(135deg, rgba(196,98,58,0.06), rgba(196,98,58,0.02));
  border: 1px solid rgba(196,98,58,0.2);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.sarah-donts-title {
  font-weight: 700;
  font-size: 0.8rem;
  color: #c4623a;
  margin-bottom: 10px;
}
.sarah-dont-item {
  font-size: 0.82rem;
  color: #5a5550;
  line-height: 1.65;
  padding: 3px 0;
  display: flex;
  gap: 8px;
}
.sarah-dont-item::before { content: '✗'; color: #c4623a; font-weight: 700; flex-shrink: 0; }

/* ── TIMELINE / ITINERARY ── */
.sarah-itin-intro {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #5a5550;
  line-height: 1.8;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 2px solid #e8896a;
}
.sarah-timeline {
  position: relative;
  padding-left: 52px;
  margin-bottom: 8px;
}
.sarah-timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #c4623a, rgba(196,98,58,0.1));
}
.sarah-stop {
  position: relative;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.5s ease;
}
.sarah-stop.s-show { opacity: 1; transform: translateX(0); }
.sarah-stop-dot {
  position: absolute;
  left: -43px;
  top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #c4623a;
  border: 3px solid #faf7f2;
  box-shadow: 0 0 0 2px #c4623a;
}
.sarah-stop-dot.s-locked { background: #9a9088; box-shadow: 0 0 0 2px #9a9088; }
.sarah-stop-time {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4623a;
  font-weight: 700;
  margin-bottom: 4px;
}
.sarah-stop-emoji { font-size: 1rem; margin-bottom: 6px; display: block; }
.sarah-stop-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #1c1a18;
  margin-bottom: 8px;
  line-height: 1.2;
}
.sarah-stop-story {
  font-size: 0.86rem;
  line-height: 1.85;
  color: #5a5550;
}
.sarah-stop-story em { font-style: italic; color: #1c1a18; }

/* Locked stop card */
.sarah-locked-card {
  background: white;
  border: 1px solid rgba(90,85,80,0.1);
  border-radius: 6px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.sarah-locked-story {
  font-size: 0.86rem;
  line-height: 1.85;
  color: #5a5550;
  font-style: italic;
  position: relative;
}
.sarah-locked-story::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, white);
}
.sarah-locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1c1a18;
  color: #faf7f2;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* Ghost stops */
.sarah-ghost-stops {
  padding-left: 52px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  margin-top: -20px;
}
.sarah-ghost {
  background: rgba(90,85,80,0.05);
  border: 1px dashed rgba(90,85,80,0.18);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sarah-ghost-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(90,85,80,0.18); flex-shrink: 0; }
.sarah-ghost-line { height: 8px; border-radius: 4px; background: rgba(90,85,80,0.1); }
.sarah-ghost-line.full { flex: 1; }
.sarah-ghost-line.half { width: 55%; }

/* ── PREMIUM PAYWALL ── */
.sarah-paywall {
  background: linear-gradient(135deg, #1c1a18, #1e1020);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 8px 0 28px;
}
.sarah-paywall::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,98,58,0.22), transparent 60%);
  pointer-events: none;
}
.sarah-paywall-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4c842, #e8a020);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
  position: relative;
  box-shadow: 0 0 0 3px rgba(244,200,66,0.25);
}
.sarah-paywall h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #faf7f2;
  margin-bottom: 10px;
  position: relative;
  font-weight: 400;
  line-height: 1.2;
}
.sarah-paywall h3 em { font-style: italic; color: #e8896a; }
.sarah-paywall-sub {
  font-size: 0.84rem;
  color: rgba(250,247,242,0.55);
  margin-bottom: 24px;
  line-height: 1.7;
  position: relative;
}
.sarah-paywall-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 28px;
  position: relative;
}
.sarah-paywall-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  font-size: 0.75rem;
  color: rgba(250,247,242,0.7);
  border-radius: 4px;
  text-align: left;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.sarah-paywall-feat-icon { color: #e8896a; flex-shrink: 0; }
.sarah-price {
  position: relative;
  margin-bottom: 18px;
}
.sarah-price-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: #faf7f2;
  line-height: 1;
  position: relative;
}
.sarah-price-amount sup { font-size: 1rem; vertical-align: super; }
.sarah-price-label { font-size: 0.7rem; color: rgba(250,247,242,0.4); letter-spacing: 0.1em; margin-top: 3px; }
.sarah-btn-unlock {
  background: #c4623a;
  color: white;
  border: none;
  padding: 16px 40px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto 16px;
  position: relative;
}
.sarah-btn-unlock:hover { background: #b05530; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196,98,58,0.5); }

/* Code input */
.sarah-code-divider {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; position: relative;
}
.sarah-code-divider span { font-size: 0.7rem; color: rgba(250,247,242,0.3); white-space: nowrap; }
.sarah-code-divider::before, .sarah-code-divider::after { content:''; flex:1; height:1px; background:rgba(250,247,242,0.08); }
.sarah-code-row { display:flex; gap:8px; max-width:300px; margin:0 auto; position:relative; }
.sarah-code-input {
  flex:1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #faf7f2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}
.sarah-code-input::placeholder { color: rgba(250,247,242,0.3); text-transform: none; letter-spacing: 0; }
.sarah-code-input:focus { border-color: rgba(196,98,58,0.6); }
.sarah-btn-apply {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: #faf7f2;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.2s;
}
.sarah-btn-apply:hover { background: rgba(255,255,255,0.14); }
.sarah-code-feedback { font-size: 0.75rem; margin-top: 8px; min-height: 18px; position: relative; text-align: center; }
.sarah-code-feedback.s-error { color: #e8896a; }
.sarah-code-feedback.s-ok { color: #7ec8a0; }

/* ── UNLOCKED BADGE ── */
.sarah-unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #6b8c7a, #5a7a68);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

/* ── CHECKLIST ── */
.sarah-checklist-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sarah-tab {
  border: 1px solid rgba(90,85,80,0.2);
  background: white;
  color: #5a5550;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
}
.sarah-tab.s-active { background: #c4623a; border-color: #c4623a; color: white; }
.sarah-checklist-content { display: none; }
.sarah-checklist-content.s-active { display: block; }
.sarah-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(90,85,80,0.08);
  cursor: pointer;
  transition: opacity 0.2s;
}
.sarah-check-item:last-child { border-bottom: none; }
.sarah-check-item.s-checked { opacity: 0.45; }
.sarah-check-box {
  width: 20px; height: 20px;
  border: 2px solid rgba(90,85,80,0.25);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s;
  margin-top: 1px;
}
.sarah-check-item.s-checked .sarah-check-box {
  background: #6b8c7a;
  border-color: #6b8c7a;
  color: white;
}
.sarah-check-text { font-size: 0.84rem; color: #1c1a18; line-height: 1.5; }

/* ── CHAT ── */
.sarah-chat-wrap {
  background: white;
  border: 1px solid rgba(90,85,80,0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.06);
  margin-bottom: 28px;
}
.sarah-chat-header {
  background: linear-gradient(135deg, #e8a020, #f4c842);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sarah-chat-header-avatar { font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.sarah-chat-header-name { font-weight: 700; font-size: 0.84rem; color: #1c1a18; }
.sarah-chat-header-status { font-size: 0.7rem; color: rgba(28,26,24,0.55); }
.sarah-suggested-qs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 10px 14px 4px;
}
.sarah-sq {
  border: 1px solid rgba(196,98,58,0.28);
  background: #f5ddd4;
  color: #c4623a;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.sarah-sq:hover { background: #c4623a; color: white; }
.sarah-chat-msgs {
  padding: 12px 14px 6px;
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sarah-msg {
  max-width: 85%;
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 14px;
  animation: sMsgIn 0.28s ease;
}
@keyframes sMsgIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.sarah-msg.s-sarah { background: #f5ddd4; border-radius: 3px 14px 14px 14px; color: #1c1a18; align-self: flex-start; }
.sarah-msg.s-user  { background: #c4623a; color: white; align-self: flex-end; border-radius: 14px 3px 14px 14px; }
.sarah-msg.s-locked { background: rgba(90,85,80,0.06); color: #9a9088; font-style: italic; text-align: center; align-self: center; border: 1px dashed rgba(90,85,80,0.2); font-size: 0.78rem; border-radius: 8px; max-width: 100%; }
.sarah-chat-limit { font-size: 0.7rem; color: #9a9088; text-align: center; padding: 2px 14px 10px; }
.sarah-chat-input-row {
  display: flex;
  gap: 7px;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(90,85,80,0.08);
}
.sarah-chat-input {
  flex: 1;
  border: 1px solid rgba(90,85,80,0.2);
  border-radius: 22px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s;
  background: #faf7f2;
}
.sarah-chat-input:focus { border-color: #c4623a; }
.sarah-chat-input:disabled { opacity: 0.5; }
.sarah-chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #c4623a;
  border: none;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sarah-chat-send:hover { transform: scale(1.08); box-shadow: 0 3px 10px rgba(196,98,58,0.4); }

/* ── SAVE BUTTON ── */
.sarah-save-bar {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid rgba(90,85,80,0.1);
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.sarah-btn-save {
  flex: 1;
  background: #1c1a18;
  color: #faf7f2;
  border: none;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sarah-btn-save:hover { background: #c4623a; }
.sarah-btn-save.s-saved { background: #6b8c7a; }
.sarah-btn-restart {
  background: none;
  border: 1px solid rgba(90,85,80,0.2);
  color: #5a5550;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.sarah-btn-restart:hover { border-color: #c4623a; color: #c4623a; }

/* ── SAVED TRIPS TAB ── */
.sarah-saved-wrap { padding: 24px 20px; max-width: 640px; margin: 0 auto; }
.sarah-saved-empty { text-align: center; padding: 60px 20px; }
.sarah-saved-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.sarah-saved-empty h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; margin-bottom: 8px; color: #1c1a18; }
.sarah-saved-empty p { font-size: 0.88rem; color: #9a9088; line-height: 1.6; }
.sarah-saved-card {
  background: white;
  border: 1px solid rgba(90,85,80,0.1);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.sarah-saved-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.sarah-saved-city { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.sarah-saved-meta { font-size: 0.75rem; color: #9a9088; margin-top: 4px; }
.sarah-saved-delete {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #9a9088;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.sarah-saved-delete:hover { color: #c4623a; }

/* ── TRANSPORT & FIESTAS ── */
.sarah-info-block {
  background: white;
  border: 1px solid rgba(90,85,80,0.1);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #5a5550;
  margin-bottom: 28px;
}
.sarah-info-block em { font-style: italic; color: #1c1a18; }

/* ── MISC ── */
.sarah-spacer { height: 16px; }
.sarah-divider { height: 1px; background: rgba(90,85,80,0.1); margin: 24px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 380px) {
  .sarah-options-grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .sarah-city-grid { grid-template-columns: repeat(2, 1fr); }
  .sarah-paywall-feats { grid-template-columns: 1fr; }
}
