/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use '@material/slider/styles';
@use '@material/theme/theme' as mdc-theme;

:host {
  display: block;
}

:host([hidden]) {
  display: none;
}

///
/// Override default MDC disabled styles
///
.mdc-slider.mdc-slider--disabled {
  cursor: not-allowed;
}

///
/// Override default MDC value indicator styles (to support theming)
///
.mdc-slider .mdc-slider__value-indicator {
  background-color: var(--mdc-theme-on-surface);

  &::before {
    border-top-color: var(--mdc-theme-on-surface);
  }
}
