/* 1. Layout & Positioning */
.vertical-audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.vertical-audio-player audio {
  display: none;
}

.vap-bar {
  position: relative;
  width: var(--vap-bar-width, 6px);
  height: 100%;
  background: var(--vap-track-color);
}
.vap-progress {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--vap-progress-color);
}

/* Wrapper for controls + waveform */
.vap-ui-wrapper {
  position: sticky;
  top: var(--vap-menu-offset-y, 16px);
  margin-left: calc(var(--vap-bar-width, 6px) + var(--vap-menu-offset-x, 36px));
  align-self: flex-start;    /* pin it to the top of the flex container */
  display: inline-block;
  z-index: 10;
  transition: top 0.3s ease;
}


/* 2. Controls Styling */
.vap-controls {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.vap-controls button {
  background: var(--vap-button-bg-color);
  color:      var(--vap-button-text-color);
  border:     var(--vap-button-border-w) solid var(--vap-button-border-color);
  padding:    0.4em 0.8em;
  cursor:     pointer;
  border-radius: 3px;
  font-family: var(--vap-button-font-family);
  font-size:   var(--vap-button-font-size);
}

/* Volume slider */
.vap-volume-slider {
  -webkit-appearance: none;
  width: 5rem;
  height: 0.5rem;
  background: var(--vap-slider-track-color);
  margin-top: 0.2em;
}
.vap-volume-slider::-webkit-slider-thumb,
.vap-volume-slider::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--vap-slider-thumb-color);
  cursor: pointer;
}

/* 3. Waveform Visualizer */
.vap-visualizer {
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 0.5rem;
  pointer-events: none;
}

/* 4. Labels */
.vap-mark {
  position: absolute;
  left: 100%;
  top: 0;
  cursor: pointer;
}
.vap-mark .vap-label {
  position: absolute;
  left: 8px;
  top: -0.5em;
  white-space: nowrap;
  font-family: var(--vap-label-font-family) !important;
  font-size:   var(--vap-label-font-size) !important;
  color:       var(--vap-label-text-color, #000);
  background:  rgba(255,255,255,0) !important;
  padding:     0 4px;
  border-radius: 2px;
}

/* 5. Responsive Tweaks */
@media (max-width: 480px) {
  .vap-controls > .vap-btn-prev-label,
  .vap-controls > .vap-btn-next-label,
  .vap-controls > .vap-volume {
    flex-basis: 100%;
    margin-top: 0.5rem;
  }
}
@media (max-width: 600px) {
  .vap-mark .vap-label {
    font-size: 0.75rem;
  }
  .vap-controls button {
    font-size: 0.8rem;
    padding:   0.3em 0.6em;
  }
}

/* Start button */
.vap-controls .vap-btn-start {
  background-color: #bf6d4a;  /* your desired background */
  color:            #ffffff;  /* your desired font color */
}

/* Pause button */
.vap-controls .vap-btn-pause {
  background-color: #bf6d4a;
  color:            #ffffff;
}

/* Restart button */
.vap-controls .vap-btn-restart {
  background-color: #bf6d4a;
  color:            #ffffff;
}



.vap-eq {
  display: flex;
  gap: 1rem;
  padding: 0.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.vap-eq label {
  display: flex;
  flex-direction: column;
  font-size: 0.85em;
  color: var(--vap-label-text-color);
}

.vap-eq input[type="range"] {
  width: 6rem;
  margin-top: 0.25em;
}

