@use "../css/variables.module" as *;

.excalidraw {
  --slider-thumb-size: 16px;

  .range-wrapper {
    position: relative;
    padding-top: 10px;
    padding-bottom: 25px;
  }

  .range-input {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: var(--color-slider-track);
    border-radius: 2px;
    outline: none;
  }

  .range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--slider-thumb-size);
    height: var(--slider-thumb-size);
    background: var(--color-slider-thumb);
    border-radius: 50%;
    cursor: pointer;
    border: none;
  }

  .range-input::-moz-range-thumb {
    width: var(--slider-thumb-size);
    height: var(--slider-thumb-size);
    background: var(--color-slider-thumb);
    border-radius: 50%;
    cursor: pointer;
    border: none;
  }

  .value-bubble {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-primary-color);
  }

  .zero-label {
    position: absolute;
    bottom: 0;
    left: 4px;
    font-size: 12px;
    color: var(--text-primary-color);
  }
}
