/* ============================================================
   BOOK DEMO - Frontora AI V2-Pre
   Calendar picker + multi-step form, mobile-optimized
   ============================================================ */

.bd-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16,185,129,0.1);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}

.bd-h1 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--neutral-900);
}

.bd-h1-accent {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bd-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--neutral-900);
}

.bd-section-sub {
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--neutral-600);
  margin: 0;
  max-width: 540px;
}

.bd-section-head {
  margin-bottom: 28px;
}

.bd-section-head-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- HERO ---------- */
.bd-hero {
  position: relative;
  padding: clamp(60px, 9vw, 100px) 0 clamp(40px, 6vw, 60px);
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(16,185,129,0.08), transparent 60%),
    var(--neutral-0);
  overflow: hidden;
}

.bd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.bd-lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--neutral-700, #404040);
  margin: 0 0 28px;
  max-width: 540px;
}

.bd-hero-promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.bd-promise {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bd-promise-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-promise-icon svg {
  width: 16px;
  height: 16px;
}

.bd-promise-text {
  display: flex;
  flex-direction: column;
}

.bd-promise-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
}

.bd-promise-text span {
  font-size: 13px;
  color: var(--neutral-600);
  margin-top: 1px;
}

.bd-hero-alt {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--neutral-600);
  padding-top: 24px;
  border-top: 1px solid var(--neutral-200);
}

.bd-alt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--brand-500);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.bd-alt-btn:hover {
  background: var(--brand-500);
  color: white;
}

/* === Hero visual: animated timeline === */
.bd-hero-visual {
  display: flex;
  justify-content: center;
}

.bd-timeline {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 40px -12px rgba(16,185,129,0.15);
  width: 100%;
  max-width: 380px;
}

.bd-timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.bd-timeline-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: bd-pulse-dot 2s ease-in-out infinite;
}

@keyframes bd-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.bd-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.bd-timeline-items::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-500), rgba(16,185,129,0.15));
}

.bd-tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: bd-tl-in 0.5s ease forwards;
}

.bd-tl-item-1 { animation-delay: 0.1s; }
.bd-tl-item-2 { animation-delay: 0.25s; }
.bd-tl-item-3 { animation-delay: 0.4s; }
.bd-tl-item-4 { animation-delay: 0.55s; }
.bd-tl-item-5 { animation-delay: 0.7s; }

@keyframes bd-tl-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.bd-tl-time {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px -2px rgba(16,185,129,0.4);
}

.bd-tl-content {
  display: flex;
  flex-direction: column;
}

.bd-tl-content strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.3;
}

.bd-tl-content span {
  font-size: 12.5px;
  color: var(--neutral-600);
  margin-top: 2px;
  line-height: 1.4;
}

/* ---------- BOOKING SECTION ---------- */
.bd-booking {
  background: var(--neutral-100);
  padding: clamp(50px, 7vw, 80px) 0;
}

.bd-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,0.05);
}

/* === Calendar === */
.bd-calendar {
  background: var(--neutral-50, #fafafa);
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}

.bd-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bd-cal-month {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.bd-cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.bd-cal-nav:hover:not(:disabled) {
  background: var(--brand-500);
  color: white;
  border-color: var(--brand-500);
}

.bd-cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bd-cal-nav svg {
  width: 14px;
  height: 14px;
}

.bd-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.bd-cal-day {
  position: relative;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.bd-cal-day:hover:not(:disabled) {
  border-color: var(--brand-500);
  background: rgba(16,185,129,0.04);
  transform: translateY(-1px);
}

.bd-cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--neutral-100);
}

.bd-cal-day.is-selected {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border-color: var(--brand-600);
  color: white;
  box-shadow: 0 4px 12px -2px rgba(16,185,129,0.4);
}

.bd-cal-dow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.bd-cal-day.is-selected .bd-cal-dow {
  color: rgba(255,255,255,0.8);
}

.bd-cal-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.1;
}

.bd-cal-day.is-selected .bd-cal-num {
  color: white;
}

/* === Time slots === */
.bd-times {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  padding: 18px;
}

.bd-times-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--neutral-700);
  flex-wrap: wrap;
}

.bd-times-header svg {
  color: var(--brand-600);
  flex-shrink: 0;
}

.bd-times-header strong {
  font-weight: 700;
  color: var(--neutral-900);
}

.bd-tz {
  margin-left: auto;
  font-size: 11px;
  background: white;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--neutral-200);
  color: var(--neutral-600);
  font-weight: 600;
}

.bd-times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bd-time-slot {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.bd-time-slot:hover:not(:disabled) {
  border-color: var(--brand-500);
  background: rgba(16,185,129,0.04);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.bd-time-slot.is-selected {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border-color: var(--brand-600);
  color: white;
  box-shadow: 0 4px 12px -2px rgba(16,185,129,0.4);
}

/* === Form column === */
.bd-form-empty {
  background: var(--neutral-50);
  border: 2px dashed var(--neutral-300);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
}

.bd-form-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--neutral-200);
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.bd-form-empty-icon svg {
  width: 20px;
  height: 20px;
}

.bd-form-empty h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--neutral-700);
  margin: 0 0 6px;
}

.bd-form-empty p {
  font-size: 14px;
  color: var(--neutral-600);
  margin: 0;
  line-height: 1.5;
}

/* === Form === */
.bd-form-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px;
  margin-bottom: 20px;
}

.bd-form-banner svg {
  color: var(--brand-600);
  flex-shrink: 0;
}

.bd-form-banner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bd-form-banner strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
}

.bd-banner-tz {
  font-size: 11px;
  color: var(--neutral-600);
  margin-top: 1px;
}

.bd-banner-change {
  background: white;
  border: 1px solid var(--neutral-200);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.bd-banner-change:hover {
  background: var(--brand-500);
  color: white;
  border-color: var(--brand-500);
}

.bd-honeypot {
  position: absolute !important;
  left: -9999px !important;
  visibility: hidden;
}

.bd-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bd-field-half { width: 100%; }

.bd-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-800);
}

.bd-label em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bd-label em.bd-optional {
  color: var(--neutral-500);
  font-weight: 500;
}

.bd-field input,
.bd-field select,
.bd-field textarea {
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  border: 1px solid var(--neutral-300);
  border-radius: 9px;
  color: var(--neutral-900);
  transition: all 0.15s ease;
  width: 100%;
}

.bd-field textarea {
  resize: vertical;
  min-height: 80px;
}

.bd-field input:focus,
.bd-field select:focus,
.bd-field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

/* Consent boxes */
.bd-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
  color: var(--neutral-700);
}

.bd-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand-500);
  margin-top: 1px;
  cursor: pointer;
}

.bd-consent-text strong {
  font-weight: 600;
  color: var(--neutral-900);
}

.bd-consent-text a {
  color: var(--brand-600);
  text-decoration: underline;
}

.bd-req {
  color: #dc2626;
  font-weight: 700;
}

/* Submit */
.bd-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px -4px rgba(16,185,129,0.5);
  margin-top: 4px;
}

.bd-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(16,185,129,0.6);
}

.bd-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bd-submit.is-loading {
  position: relative;
  color: transparent;
}

.bd-submit.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: bd-spin 0.7s linear infinite;
}

@keyframes bd-spin { to { transform: rotate(360deg); } }

.bd-form-foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--neutral-500);
  margin: 6px 0 0;
  text-align: center;
  justify-content: center;
}

.bd-form-foot svg {
  color: var(--brand-600);
  flex-shrink: 0;
}

/* Success state */
.bd-success {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(16,185,129,0.04), white);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 14px;
}

.bd-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px -4px rgba(16,185,129,0.4);
}

.bd-success-icon svg {
  width: 32px;
  height: 32px;
}

.bd-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--neutral-900);
}

.bd-success p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--neutral-700);
  margin: 0 0 14px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.bd-success-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 18px auto;
  font-size: 13px;
  text-align: center;
}

.bd-success-meta strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neutral-900);
  font-size: 14px;
}

.bd-success-meta span {
  color: var(--neutral-600);
  font-size: 12px;
}

.bd-success-tip {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--neutral-200);
  font-size: 13px;
  color: var(--neutral-700);
}

.bd-success-tip-btn {
  background: none;
  border: none;
  color: var(--brand-600);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
  font-family: inherit;
  font-size: inherit;
}

.bd-success-tip-btn:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.bd-faq {
  background: var(--neutral-0);
  padding: clamp(50px, 7vw, 80px) 0;
}

.bd-faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bd-faq-item {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
}

.bd-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
}

.bd-faq-item summary::-webkit-details-marker { display: none; }

.bd-faq-item summary:hover {
  background: var(--neutral-50);
}

.bd-faq-item summary svg {
  flex-shrink: 0;
  color: var(--brand-600);
  transition: transform 0.2s ease;
}

.bd-faq-item[open] summary svg {
  transform: rotate(180deg);
}

.bd-faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--neutral-700);
}

/* ---------- FINAL CTA ---------- */
.bd-final-cta {
  background: var(--neutral-950, #0a0a0a);
  color: white;
  padding: clamp(60px, 8vw, 100px) 0;
}

.bd-final-cta .bd-eyebrow {
  background: rgba(16,185,129,0.18);
  color: var(--brand-500);
}

.bd-final-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.bd-final-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: white;
}

.bd-final-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 540px;
}

.bd-final-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-final-cta .btn-ghost-light {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.bd-final-cta .btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--brand-500);
  color: white;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .bd-hero-grid { grid-template-columns: 1fr; }
  .bd-hero-visual { order: -1; }
  .bd-timeline { max-width: 100%; }
  .bd-booking-grid { grid-template-columns: 1fr; gap: 24px; }
  .bd-final-inner { grid-template-columns: 1fr; text-align: center; }
  .bd-final-actions { align-items: center; }
}

@media (max-width: 600px) {
  .bd-h1 { font-size: 36px; }
  .bd-h2 { font-size: 24px; }
  .bd-cal-days { gap: 4px; }
  .bd-cal-day { padding: 8px 4px; }
  .bd-cal-num { font-size: 16px; }
  .bd-cal-dow { font-size: 9px; }
  .bd-times-grid { grid-template-columns: repeat(2, 1fr); }
  .bd-row { grid-template-columns: 1fr; }
  .bd-field input, .bd-field select, .bd-field textarea { font-size: 16px !important; }
  .bd-booking-grid { padding: 20px; }
}

@media (max-width: 380px) {
  .bd-cal-days { gap: 3px; }
  .bd-cal-day { padding: 6px 2px; }
  .bd-cal-num { font-size: 14px; }
  .bd-cal-dow { font-size: 8px; }
}

/* ============================================================
   BASH 1544 - Fix giant FAQ chevron SVG
   SVGs without explicit dims expand to fill flex space.
   Force chevron to 18x18 and let summary text flex-grow.
   ============================================================ */

.bd-faq-item summary {
  /* Make sure the summary uses flex with text growing, chevron shrinking */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

/* Text span grows */
.bd-faq-item summary > span {
  flex: 1 1 auto;
  min-width: 0;
}

/* SVG chevron - explicit dimensions so it does NOT grow */
.bd-faq-item summary > svg {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  color: var(--brand-600);
  transition: transform 0.2s ease;
}

.bd-faq-item[open] summary > svg {
  transform: rotate(180deg);
}

/* Belt-and-suspenders: hide native disclosure marker for all browsers */
.bd-faq-item summary {
  list-style: none;
}
.bd-faq-item summary::-webkit-details-marker { display: none; }
.bd-faq-item summary::marker { display: none; }

/* ============================================================
   BASH 1545 - Saturday support + slot count social proof
   ============================================================ */

/* Saturday gets a subtle weekend badge feel */
.bd-cal-day.is-saturday:not(.is-selected) {
  background: linear-gradient(180deg, white 0%, rgba(245, 158, 11, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.bd-cal-day.is-saturday:not(.is-selected):hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.06);
}

.bd-cal-day.is-saturday:not(.is-selected) .bd-cal-dow {
  color: #c4a35a;
}

/* Slot count display - social proof */
.bd-slot-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-700);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-left: auto;
}

.bd-slot-count.is-low {
  color: #c2410c;
  background: rgba(249, 115, 22, 0.12);
  animation: bd-pulse-low 1.8s ease-in-out infinite;
}

@keyframes bd-pulse-low {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* When slot count is shown, push timezone to its own row on tight screens */
.bd-times-header {
  flex-wrap: wrap;
}

/* No slots fallback */
.bd-no-slots {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
  color: var(--neutral-600);
  font-size: 14px;
  background: white;
  border: 1px dashed var(--neutral-300);
  border-radius: 10px;
}

/* ============================================================
   BASH 1546 - Animated timeline (sequential active-step reveal)
   Old keyframe just faded items in, now they sequence through
   activating one-by-one with traveling glow + line fill
   ============================================================ */

/* Override old auto-animation - JS controls states now */
.bd-tl-item {
  opacity: 0.35;
  transform: none;
  animation: none !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Connector line behind items - now drawable in stages */
.bd-timeline-items::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(16,185,129,0.15);
  z-index: 0;
}

/* The active progress fill that travels down the line */
.bd-timeline-items::after {
  content: '';
  position: absolute;
  left: 26px;
  top: 4px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand-500), var(--brand-700));
  z-index: 1;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(16,185,129,0.4);
}

/* Progress fill height controlled via inline style from JS */

/* Active item - the one the "playhead" is currently on */
.bd-tl-item.is-active {
  opacity: 1;
  transform: translateX(2px);
}

.bd-tl-item.is-active .bd-tl-time {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 4px 14px -2px rgba(16,185,129,0.55), 0 0 0 4px rgba(16,185,129,0.15);
  transform: scale(1.06);
}

.bd-tl-item.is-active .bd-tl-content strong {
  color: var(--brand-700);
}

/* Done items - softly highlight remain visible */
.bd-tl-item.is-done {
  opacity: 0.85;
}

.bd-tl-item.is-done .bd-tl-time {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  opacity: 0.9;
}

/* Time pill base transitions */
.bd-tl-time {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content slide-in micro-animation when item activates */
.bd-tl-content {
  transition: transform 0.4s ease;
}

/* Active dot pulse - small ping effect on the time pill */
.bd-tl-item.is-active::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: var(--brand-500);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  z-index: 2;
  animation: bd-tl-ping 1.6s ease-out infinite;
}

@keyframes bd-tl-ping {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Subtle "playing" indicator on the timeline header */
.bd-timeline-header.is-playing .bd-timeline-dot {
  background: var(--brand-500);
  box-shadow: 0 0 0 5px rgba(16,185,129,0.18);
}

@media (prefers-reduced-motion: reduce) {
  .bd-tl-item { opacity: 1 !important; }
  .bd-tl-item.is-active::before { animation: none; }
  .bd-timeline-items::after { transition: none; }
}
