.bloby-tour-popover {
  background: #1A1A1A !important;
  color: #f5f5f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
  max-width: 380px !important;
}

.bloby-tour-popover .driver-popover-title {
  color: #f5f5f5 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.bloby-tour-popover .driver-popover-description {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.bloby-tour-popover .driver-popover-description p strong {
  color: #f5f5f5 !important;
}

.bloby-tour-popover .driver-popover-navigation-btns {
  gap: 6px !important;
}

.bloby-tour-popover .driver-popover-next-btn {
  background: linear-gradient(to right, #0166FF, #009AFE, #4AEEFF) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 6px 16px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.bloby-tour-popover .driver-popover-prev-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 6px 16px !important;
  white-space: nowrap !important;
  /* driver.css defaults footer buttons to `text-shadow: 1px 1px 0 #fff`, which
     is invisible on its light theme but renders as a ghosted duplicate of the
     "← Back" text on our dark button. Kill it. */
  text-shadow: none !important;
}

.bloby-tour-popover .driver-popover-prev-btn:hover {
  color: #f5f5f5 !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.bloby-tour-popover .driver-popover-progress-text {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 11px !important;
}

.bloby-tour-popover .driver-popover-close-btn {
  color: rgba(255, 255, 255, 0.4) !important;
}

.bloby-tour-popover .driver-popover-close-btn:hover {
  color: #f5f5f5 !important;
}

/* Blur the dimmed background. driver.js shows the highlighted element through an
   SVG-cutout overlay (z-index 10000) and never lifts the element itself, so a
   backdrop blur on the overlay would blur the highlight too. Fix: blur the
   overlay's backdrop, then lift the active element above the overlay so it
   stays crisp. The popover (z-index 1e9) is already above both. */
.driver-overlay {
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
}
.driver-active-element {
  position: relative !important;
  z-index: 10001 !important;
}
/* The chat-step anchor is pinned to the viewport corner with position:fixed; the
   generic lift above would force it to position:relative and drop it back into
   document flow. Keep it fixed — the z-index lift still applies. */
#tour-chat-anchor.driver-active-element {
  position: fixed !important;
}

.bloby-tour-popover .driver-popover-arrow-side-left,
.bloby-tour-popover .driver-popover-arrow-side-right,
.bloby-tour-popover .driver-popover-arrow-side-top,
.bloby-tour-popover .driver-popover-arrow-side-bottom {
  border-color: #1A1A1A !important;
}
