/* Main controls container and button styles */

.prestoplay-custom-controls {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 7px 13px;
  z-index: 10;
  background: #000;
  box-sizing: border-box;
}

/* TODO: Update audio-only styles */
.prestoplay-custom-controls.audio-only {
  height: 100% !important;
  border-radius: 12px;
  background: rgba(24, 24, 32, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pp-controls-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.pp-left-controls,
.pp-right-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Button styles */
.prestoplay-control-btn {
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  padding: 0;
}

.prestoplay-control-btn:hover,
.prestoplay-control-btn:focus {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.prestoplay-control-btn:active {
  transform: scale(0.95);
}

/* Display utilities */
.pp-display-none {
  display: none !important;
}

.pp-display-block {
  display: block !important;
}

/* Control visibility utilities */
.pp-controls-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.pp-controls-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide mouse cursor when control bar is hidden */
.hide-cursor {
  cursor: none !important;
}
