/* Sprint 27 — kohandatud tuur, järgib design-tokens.css aktsente. */

/* Driver.js theme override */
.driver-popover {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-lg) !important;
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif) !important;
}
.driver-popover-title { color: var(--text) !important; font-weight: 600 !important; }
.driver-popover-description { color: var(--text-2) !important; }
.driver-popover-progress-text { color: var(--text-3) !important; font-size: 11px !important; }
.driver-popover-footer button {
  background: var(--surface-2) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important; border-radius: var(--r) !important;
  padding: 6px 14px !important; font-size: 13px !important;
}
.driver-popover-footer button.driver-popover-next-btn {
  background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important;
}
.driver-popover-arrow-side-bottom { border-bottom-color: var(--surface) !important; }

/* Fallback overlay */
.rp-tour-fallback {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans, system-ui, sans-serif);
}
.rp-tour-fallback .rp-tour-card {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; max-width: 420px; box-shadow: var(--sh-lg);
}
.rp-tour-fallback h3 { margin: 0 0 8px; font-size: 16px; }
.rp-tour-fallback p { margin: 0 0 16px; color: var(--text-2); font-size: 13px; }
.rp-tour-actions { display: flex; justify-content: flex-end; gap: 8px; }
.rp-tour-actions button {
  padding: 6px 14px; border-radius: var(--r); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 13px;
}
#rp-tour-next { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
