/* Custom Tour Styles */
:root {
  --tour-primary: #2563eb;
  --tour-text: #1f2937;
  --tour-bg: #ffffff;
  --tour-overlay: rgba(0, 0, 0, 0.75);
}

.driver-popover {
  background-color: var(--tour-bg) !important;
  color: var(--tour-text) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  max-width: 350px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.driver-popover-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  color: var(--tour-primary) !important;
}

.driver-popover-description {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

.driver-popover-footer {
  margin-top: 15px !important;
  border-top: 1px solid #f3f4f6 !important;
  padding-top: 15px !important;
  background-color: transparent !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Source Section */
.tour-source-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d1d5db;
  font-size: 0.8rem;
  color: #6b7280;
}

.tour-source-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}

.tour-source-content {
  font-style: italic;
}

.driver-popover-next-btn, .driver-popover-prev-btn {
  background-color: var(--tour-primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

.driver-popover-progress-text {
  color: #9ca3af !important;
  font-size: 0.85rem !important;
}

/* Countdown Overlay */
#tour-countdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#tour-countdown-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.countdown-number {
  font-size: 8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 20px;
  transform: scale(0.5);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.countdown-number.show {
  transform: scale(1);
  opacity: 1;
}

.countdown-text {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--tour-primary);
}
