.custom-audio-player {
  filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.2);
}

.custom-audio-player::-webkit-media-controls-panel {
  background-color: #f0f0f0;
}


.fader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.fader-wrap {
  width: 24px;
  height: 80px;
  position: relative;
  background: #0f0f11;
  border-radius: 4px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9);
  margin-top: 5px;
  margin-bottom: 10px;
}

.fader-wrap::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #000;
  z-index: 1;
}

.fader-input {
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 80px;
  height: 24px;
  background: transparent;
  z-index: 2;
  margin: 0;
}

.fader-input:focus {
  outline: none;
}

.fader-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
}

.fader-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 22px;
  background: linear-gradient(to right, #444, #1a1a1a, #444);
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  margin-top: 1px;
  position: relative;
  cursor: grab;
}

.fader-input:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.fader-input::-moz-range-track {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
}

.fader-input::-moz-range-thumb {
  width: 14px;
  height: 22px;
  background: linear-gradient(to right, #444, #1a1a1a, #444);
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  cursor: grab;
}

.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #121215;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #2c2c35;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #ff003c;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #121215;
}

::-webkit-scrollbar-thumb {
  background: #2c2c35;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff003c;
}

#controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#controls button, #paperBtn {
    height: 45px;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    margin: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

#paperBtn {
    background-color: #d32f2f;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #b71c1c;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

#paperBtn:hover {
    background-color: #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.5);
}

#genBtn, .save-btn {
    background-color: #222;
    color: #ffffff;
    border: 1px solid #333;
}

#genBtn:hover {
    background-color: #333;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}