/* ==========================================
   CHEERFUL MINI SQUARE MUSIC PLAYER
   ========================================== */

#musicplayer {
  background: #ffffff;
  border: 3px solid #1e1b4b;
  padding: 10px;
  width: 210px;
  box-shadow: 5px 5px 0px #38bdf8;
  font-family: 'Courier New', Courier, monospace;
  margin: 1rem auto;
  text-align: center;
}

/* NOW PLAYING TRACK COUNT */
.now-playing {
  font-size: 0.65rem !important;
  color: #0284c7 !important;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* TRACK INFO & DIVIDER LINES UNDER PLAYING */
.track-info {
  margin-top: 4px;
  margin-bottom: 8px;
  padding-top: 4px;
  padding-bottom: 6px;
  border-top: 2px dashed #f472b6;
  border-bottom: 2px dashed #f472b6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-name {
  color: #ec4899 !important;
  font-size: 0.85rem !important;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  color: #6366f1 !important;
  font-size: 0.7rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SEEK BAR & TIMER */
.seeking {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 0.65rem;
  color: #1e1b4b;
  font-weight: bold;
}

/* SLIDERS */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: #e0e7ff;
  height: 5px;
  border: 1px solid #1e1b4b;
  outline: none;
  cursor: pointer;
  width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #facc15;
  border: 1px solid #1e1b4b;
  cursor: pointer;
}

/* PLAY BUTTONS */
.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.buttons span.material-icons {
  color: #1e1b4b;
  font-size: 22px !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.buttons .playpause-track span.material-icons {
  font-size: 28px !important;
  color: #ec4899;
}

.buttons span.material-icons:hover {
  color: #38bdf8;
  transform: scale(1.2);
}

/* VOLUME CONTAINER & DIVIDER ABOVE VOLUME */
.volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.divider-top {
  border-top: 2px dashed #f472b6;
  padding-top: 6px;
  margin-top: 6px;
}

.volume_slider {
  width: 90px;
}