body.rvw-tour-open {
  overflow: hidden;
}

.rvw-tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.42);
  z-index: 300;
  transition: opacity 0.18s ease;
}

.rvw-tour-backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.rvw-tour-spotlight {
  position: fixed;
  border: 3px solid #93c5fd;
  border-radius: 12px;
  background: transparent;
  box-shadow:
    0 0 0 2px rgba(147, 197, 253, 0.7),
    0 0 0 6px rgba(59, 130, 246, 0.28),
    0 0 32px 8px rgba(96, 165, 250, 0.45),
    0 0 0 9999px rgba(8, 10, 14, 0.42);
  z-index: 301;
  pointer-events: none;
  transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.rvw-tour-popover {
  position: fixed;
  z-index: 302;
  width: min(440px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  background: #141820;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.rvw-tour-popover-content {
  padding: 18px 18px 12px;
  overflow-y: auto;
}

.rvw-tour-step-badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.rvw-tour-popover h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #f3f4f6;
}

.rvw-tour-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.rvw-tour-body p:last-child {
  margin-bottom: 0;
}

.rvw-tour-body ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.55;
}

.rvw-tour-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #10131a;
  flex-shrink: 0;
}

.rvw-tour-actions .rvw-tour-btn-skip {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}

.rvw-tour-actions .rvw-tour-btn-skip:hover {
  color: #f3f4f6;
}

.rvw-tour-actions .btn-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.rvw-tour-popover .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #23272f;
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rvw-tour-popover .btn:hover {
  background: #2f3540;
}

.rvw-tour-popover .btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.rvw-tour-popover .btn-primary:hover {
  background: #1d4ed8;
}

.page-onboard-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
}

.page-onboard-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.page-onboard-content h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-primary);
}

.page-onboard-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.page-onboard-dismiss {
  margin-left: auto;
  flex-shrink: 0;
}
