/* Basic styles used by the site (minimal):
   - Switch control styling for dark/light mode
   - Minor helpers referenced by HTML
*/

/* Classic toggle switch: hidden checkbox + styled label */
.switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.switch-label {
  display: inline-block;
  width: 48px;
  height: 26px;
  border-radius: 9999px;
  background: #e6e6e6;
  position: relative;
  cursor: pointer;
  transition: background-color 200ms ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.switch-label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 200ms cubic-bezier(.2,.9,.2,1);
}

/* Checked state */
.switch-input:checked + .switch-label {
  background: #FF4D00; /* volt-orange */
}
.switch-input:checked + .switch-label::after {
  transform: translateX(22px);
}

/* Dark-mode backgrounds for label when in dark */
html.dark .switch-label {
  background: rgba(255,255,255,0.12);
}
html.dark .switch-input:checked + .switch-label {
  background: #00F0FF; /* volt-cyan */
}

/* Small helper for noise overlay if used */
.noise-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.35;
}

/* Minimal reset for font classes referenced */
.font-display { font-family: 'Saira Stencil One', cursive; }
.font-body { font-family: 'Be Vietnam Pro', sans-serif; }
