/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
*/

.carousel-track {
  -ms-overflow-style: none; /* IE 10+ */
  scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.rating-number-input[type="number"]::-webkit-outer-spin-button,
.rating-number-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rating-number-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.rating-adjust-button {
  transition: transform 120ms ease, background-color 120ms ease,
    border-color 120ms ease, box-shadow 120ms ease;
}

.rating-adjust-button:not(:disabled):hover {
  background: color-mix(
    in oklab,
    var(--color-panel) 55%,
    var(--color-cyan) 20%
  );
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 1px
    color-mix(in oklab, var(--color-cyan) 65%, transparent 35%);
}

.rating-adjust-button:not(:disabled):active {
  transform: translateY(1px);
  background: color-mix(
    in oklab,
    var(--color-panel) 45%,
    var(--color-cyan) 25%
  );
  border-color: color-mix(in oklab, var(--color-cyan) 75%, transparent 25%);
  box-shadow: inset 0 0 0 1px
    color-mix(in oklab, var(--color-cyan) 70%, transparent 30%);
}
