/* --- General page --- */
body {
  margin: 0;
  overflow: hidden;
  background: #0a0a0f; /* dark stormy background */
  font-family: Arial, sans-serif;
  color: #fff;
}

/* --- Controls container --- */
.controls {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(10, 10, 30, 0.5); /* semi-transparent storm cloud */
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0, 0, 50, 0.5);
}

/* --- File input --- */
input[type="file"] {
  background: #111;
  border: 1px solid #555;
  padding: 5px 10px;
  border-radius: 8px;
  color: #eee;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  border-color: #88f;
  box-shadow: 0 0 10px #88f;
}

/* --- Play/Pause button --- */
button#playPause {
  background: #111;
  border: 1px solid #555;
  padding: 5px 15px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

button#playPause::after {
  content: '⚡'; /* lightning bolt icon */
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

button#playPause:hover::after {
  opacity: 1; /* lightning appears on hover */
}

button#playPause:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Volume slider --- */
input[type="range"] {
  -webkit-appearance: none;
  width: 150px;
  height: 6px;
  background: linear-gradient(90deg, #55f 0%, #22a 100%);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #88f;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 10px #88f;
}

/* --- Status text --- */
#status {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(100, 100, 255, 0.5);
  z-index: 10;
  transition: all 0.3s ease;
}
select#audioUpload, select#creatorSongs {
  background: #111;
  border: 1px solid #555;
  padding: 5px 10px;
  border-radius: 8px;
  color: #eee;
  cursor: pointer;
  transition: all 0.3s ease;
}

select#creatorSongs:hover {
  border-color: #88f;
  box-shadow: 0 0 10px #88f;
}
