/* ======== GLOBAL ======== */

body {
  background-color: ##E6F0FA;
  font-family: Arial, sans-serif;
  color: #00f0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
}

/* ======== MEDIA PLAYER ======== */

.media-player {
  border: 2px solid ##E6F0FA;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  background-color: #2d2d30;
  border-radius: 10px;
  box-shadow: 0 0 20px #00f0ff;
}

h2 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 15px;
}

/* ======== CONTROLS ======== */

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.controls button {
  flex: 1 1 30%;
  background-color: #000;
  color: #00f0ff;
  border: 2px solid #00f0ff;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.3s;
}

.controls button:hover {
  background-color: #00f0ff;
  color: #000;
}

/* ======== PLAYLIST ======== */

.playlist {
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid #00f0ff;
  padding-top: 10px;
}

/* ======== TRACKS ======== */

.track {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #00f0ff;
  font-size: 0.95rem;
}

.track:hover {
  background-color: #00f0ff;
  color: #000;
}

/* ======== RESPONSIVE ======== */

@media (max-width: 400px) {
  .controls button {
    flex: 1 1 100%;
    font-size: 0.9rem;
    padding: 8px;
  }

  .media-player {
    padding: 15px;
  }
}

/* ======== CUSTOM SCROLLBAR (Chrome/Edge/Safari) ======== */

.music-list::-webkit-scrollbar {
    width: 12px;
}

.music-list::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
    box-shadow: inset 0 0 10px #00f0ff55;
}

.music-list::-webkit-scrollbar-thumb {
    background: #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    border: 2px solid #111;
}

.music-list::-webkit-scrollbar-thumb:hover {
    background: #33faff;
    box-shadow: 0 0 15px #00f0ff, 0 0 30px #00f0ff;
}

/* ======== FIREFOX SCROLLBAR ======== */

.music-list {
    scrollbar-width: thin;
    scrollbar-color: #00f0ff #111;
}
