@import url("./home.css");

[data-slide-in] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-slide-in].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

[data-slider] {
  position: relative;
  height: 1rem;
  cursor: pointer;
}

[data-slider] [data-slot="slider-track"] {
  width: 100%;
  height: 1rem;
  border-radius: 9999px;
  background-color: #e5e7eb;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
}

[data-slider] [data-slot="slider-range"] {
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background-color: #0066ff;
}

[data-slider] [data-slot="slider-thumb"] {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 1px solid #0066ff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  z-index: 2;
  cursor: grab;
}

[data-slider] [data-slot="slider-thumb"]:hover {
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
}

[data-slider] [data-slot="slider-thumb"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.28);
}

[data-slider] [data-slot="slider-thumb"]:active {
  cursor: grabbing;
}
