/* ── MicroFin Guided Tour (driver.js) — theming + launcher ─────────── */

/* Popover shell */
.driver-popover.mf-tour {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  max-width: 348px;
  padding: 16px 16px 12px;
}
.driver-popover.mf-tour .driver-popover-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1c1915;
  margin-bottom: 4px;
}
.driver-popover.mf-tour .driver-popover-description {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #374151;
}
.driver-popover.mf-tour .driver-popover-progress-text {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: .3px;
}

/* Footer buttons */
.driver-popover.mf-tour .driver-popover-footer button {
  text-shadow: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: filter .15s, background .15s;
}
.driver-popover.mf-tour .driver-popover-next-btn,
.driver-popover.mf-tour .driver-popover-footer button.driver-popover-next-btn {
  background: linear-gradient(135deg, #e8af20 0%, #d4960c 100%);
  color: #1c1915;
  border: 1px solid #cf9410;
  font-weight: 700;
}
.driver-popover.mf-tour .driver-popover-next-btn:hover { filter: brightness(1.06); }
.driver-popover.mf-tour .driver-popover-prev-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}
.driver-popover.mf-tour .driver-popover-prev-btn:hover { background: #e9ebef; }

/* Highlighted element ring (driver darkens the rest of the page) */
.driver-active-element,
.driver-highlighted-element {
  outline: 3px solid rgba(232, 175, 32, .9) !important;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Top-bar launcher (reuses .topbar-icon-btn; just keep it tidy) */
#tourBtn { white-space: nowrap; }

/* In-popover toolbar: language toggle + voice mute */
.driver-popover.mf-tour .mf-tour-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin: -2px 0 9px;
}
.mf-tour .mf-seg { display: inline-flex; border: 1px solid #e5e7eb; border-radius: 7px; overflow: hidden; }
.mf-tour .mf-seg button {
  border: none; background: #fff; color: #6b7280; cursor: pointer;
  font-size: 12px; font-weight: 600; padding: 4px 10px; line-height: 1.4;
}
.mf-tour .mf-seg button + button { border-left: 1px solid #e5e7eb; }
.mf-tour .mf-seg button.on { background: #e8af20; color: #1c1915; }
.mf-tour .mf-voice {
  border: 1px solid #e5e7eb; background: #fff; border-radius: 7px;
  cursor: pointer; font-size: 13px; padding: 3px 8px; line-height: 1.4;
}
.mf-tour .mf-voice:hover, .mf-tour .mf-seg button:hover:not(.on) { background: #f3f4f6; }
