/* Switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #e5e7eb; /* gray-200 */
  transition: .2s;
  border-radius: 9999px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
input:checked + .slider {
  background-color: #2563eb; /* primary */
}
input:checked + .slider:before {
  transform: translateX(18px);
}

/* Hover elevation */
.hover-lift {
  transition: transform .15s ease, box-shadow .15s ease;
}
.hover-lift:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(2,6,23,.1);
}

/* Focus ring helper */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
}

/* Custom scroll */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* Modal scroll if needed */
.modal-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.modal-scroll::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 8px;
}