/* Theme tokens (daisyUI v4 variables). --p / --s and --brand-* are overwritten from Admin/Settings. */
:root,
[data-theme='light'] {
  color-scheme: light;
  --brand-primary: #f01281;
  --brand-secondary: #0029d3;
  --b1: 100% 0 0;
  --b2: 96.6482% 0.004545 258.325;
  --b3: 92.4169% 0.00108 197.137559;
  --bc: 20.9913% 0.034135 263.436;
  --n: 32.1785% 0.02476 255.701624;
  --nc: 89.4994% 0.011585 252.096;
  --in: 66.5% 0.155 257.5;
  --rounded-box: 1rem;
  --rounded-btn: 0.5rem;
  --rounded-badge: 1.9rem;
}

body {
  background: #fff;
  color: oklch(var(--bc));
}

/* Links & small custom controls */
.link {
  color: #175cd3;
  font-weight: 600;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}
.btn-ghost-blue {
  background: #eff8ff;
  color: #1849a9;
}
.btn-ghost-blue:hover {
  background: #d1e9ff;
}
.btn-primary.btn-disabled,
.btn-primary[disabled] {
  background-color: var(--brand-primary);
  border-color: transparent;
  color: #fff;
  opacity: 0.25;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--badge-bg);
  color: var(--badge-fg);
}
.menu li > a,
.menu li > button {
  cursor: pointer;
}

/* Carousel (slider + dots) */
.carousel-root .carousel-slider {
  position: relative;
  overflow: hidden;
}
.carousel-root .slider-wrapper {
  overflow: hidden;
  width: 100%;
}
.carousel-root .slider {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.carousel-root .slide {
  min-width: 100%;
  margin: 0;
  position: relative;
  text-align: center;
}
.carousel-root .slide img {
  width: 100%;
  vertical-align: top;
}
.control-dots {
  position: absolute;
  bottom: 0;
  margin: 10px 0;
  padding: 0;
  text-align: center;
  width: 100%;
  z-index: 1;
}
.control-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.25s ease-in;
}
.control-dots .dot.selected,
.control-dots .dot:hover {
  opacity: 1;
}

/* Waiting room: the vehicle sits centred on a short road and drives along it to the end (position set by JS), slight bounce */
.queue-road {
  height: 176px;
  width: 220px;
  margin: 0 auto -22px; /* the picture's own road sits right on top of the card */
  position: relative;
  z-index: 1;
}
.queue-car {
  position: absolute;
  bottom: 0;
  left: 0;
  animation: queue-bounce 0.5s ease-in-out infinite alternate;
}
@keyframes queue-bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-3px);
  }
}

/* Auth pages background: brand-colored gradient wash (replaces the reference's bitmap) */
.auth-background {
  background:
    radial-gradient(60% 70% at 100% 0%, var(--brand-primary) 0%, transparent 60%),
    radial-gradient(45% 50% at 0% 100%, var(--brand-secondary) 0%, transparent 65%),
    linear-gradient(120deg, #fff 30%, color-mix(in srgb, var(--brand-primary) 25%, #fff) 100%);
  background-repeat: no-repeat;
  background-size: cover;
}
