/* ==========================================================================
   Bali Fast Track — Tabbed FAQ
   Topic tabs (pills) above; each panel reuses the global .faq-item accordion
   (handled by main.js). Tab switching handled generically by main.js too.
   Loaded site-wide so every page's FAQ can be tabbed.
   ========================================================================== */

.bft-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 36px;
}

.bft-faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white-70);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.bft-faq-tab:hover {
  color: var(--white);
  border-color: rgba(205, 184, 126, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.bft-faq-tab.active {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
}
.bft-faq-tab:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

/* Panels: only the active one shows */
.bft-faq-panel { display: none; }
.bft-faq-panel.active { display: block; }

@media (max-width: 600px) {
  .bft-faq-tabs { gap: 8px; margin: 24px 0 28px; }
  .bft-faq-tab { padding: 8px 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .bft-faq-tab { transition: none; }
}
