* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: radial-gradient(circle at top, #3b3b3b 0, #111 60%);
  color: #e0e0e0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-window {
  width: 480px;
  background: #202020;
  border: 2px solid #555;
  box-shadow: 0 0 10px #000;
}

.title-bar {
  background: linear-gradient(to right, #004b8c, #0a71c8);
  color: #fff;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
}

.title-buttons {
  display: flex;
  gap: 2px;
}

.tb-btn {
  width: 18px;
  height: 18px;
  border: 1px solid #00315f;
  background: #0f4e85;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  padding: 0;
}

.tb-btn:hover {
  background: #1362a7;
}

.player-main {
  padding: 10px;
}

.display {
  background: #0b0b0b;
  border: 1px solid #444;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-family: "Lucida Console", monospace;
  font-size: 13px;
  color: #39ff14;
}

#track-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-info {
  font-size: 11px;
  margin-top: 2px;
  color: #9afc7a;
}

.controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ctrl-btn {
  width: 32px;
  height: 28px;
  border: 1px solid #666;
  background: linear-gradient(to bottom, #3b3b3b, #1c1c1c);
  color: #eee;
  cursor: pointer;
  font-size: 14px;
}

.ctrl-btn:hover {
  background: linear-gradient(to bottom, #4a4a4a, #242424);
}

#seek-bar {
  flex: 1;
  accent-color: #39ff14;
}

.volume-label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

#volume-bar {
  width: 80px;
  accent-color: #ffaa00;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
}

.file-input-label {
  border: 1px solid #666;
  padding: 4px 8px;
  background: #303030;
  cursor: pointer;
}

.file-input-label input {
  display: none;
}

.small-btn {
  border: 1px solid #666;
  background: #303030;
  color: #eee;
  padding: 3px 6px;
  cursor: pointer;
  font-size: 11px;
}

.small-btn:hover {
  background: #3c3c3c;
}

.playlist-container {
  border: 1px solid #444;
  background: #151515;
  max-height: 200px;
  overflow-y: auto;
}

#playlist {
  list-style: none;
}

#playlist li {
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

#playlist li:nth-child(odd) {
  background: #181818;
}

#playlist li:nth-child(even) {
  background: #202020;
}

#playlist li:hover {
  background: #2c3e50;
}

#playlist li.active {
  background: #0f4e85;
  color: #fff;
}
