/* Guided onboarding overlay styles */

/* Dimmed backdrop covering the whole viewport during onboarding */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  display: none; /* Initially hidden until the tour starts */
}

/* Container for the step message */
.onboarding-step {
  position: absolute;
  /* Increase max-width slightly so longer instructions like the welcome message wrap nicely */
  max-width: 320px;
  /* Use a subtle gradient and blur to create a frosted glass effect */
  background: linear-gradient(180deg, rgba(27,36,51,0.96), rgba(16,24,40,0.94));
  border: 1px solid rgba(122, 157, 255, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  color: #e9eef5;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 10001;
  transition: opacity 0.25s ease;
}

/* Highlight ring applied to the target element of each step */
.onboarding-highlight {
  position: relative;
  z-index: 10002;
  /* Intensify the highlight effect: brighter inner ring and stronger halo */
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),    /* bright inner ring */
    0 0 0 6px rgba(122, 157, 255, 0.8),    /* blue halo immediately around the element */
    0 0 20px 6px rgba(122, 157, 255, 0.6); /* soft outer glow */
  border-radius: 8px;
  /* Boost brightness to make the element stand out against the dimmed backdrop */
  filter: brightness(1.2);
}