* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #121212;
  color: #eee;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  height: 100vh;
  overflow: hidden;
}

.main-ui {
  display: flex;
  width: 100%;
  max-width: 1400px;
  height: 95vh;
  border-radius: 12px;
  background: #1f1f1f;
  box-shadow: 0 0 30px #0a0a0a;
  overflow: hidden;
}

.sidebar {
  width: 270px;
  background: #181818;
  padding: 1rem 1.5rem;
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.sidebar h3 {
  color: #ff4081;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#searchInput, #fileInput {
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  background: #333;
  color: #ddd;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

#searchInput::placeholder {
  color: #888;
}

#searchInput:focus, #fileInput:focus {
  outline: none;
  background: #444;
}

#trackList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#trackList li {
  padding: 0.5rem 0.8rem;
  background: #222;
  border-radius: 6px;
  cursor: grab;
  user-select: none;
  transition: background 0.2s ease;
}

#trackList li:hover {
  background: #333;
}

.filter-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tags button {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: #333;
  color: #ddd;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.filter-tags button:hover {
  background: #555;
}

.deck-container {
  flex: 1;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  overflow-x: auto;
}

.deck {
  background: #252525;
  border-radius: 12px;
  padding: 1rem;
  flex: 1;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 0 10px #111 inset;
}

.deck h3 {
  color: #03dac6;
  text-align: center;
  font-weight: 700;
  user-select: none;
}

#waveformA, #waveformB {
  background: #0a0a0a;
  border-radius: 8px;
  height: 80px;
  user-select: none;
}

#nowPlayingA, #nowPlayingB {
  font-size: 0.9rem;
  color: #bbb;
  text-align: center;
  font-style: italic;
  user-select: none;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}

.controls button {
  padding: 0.5rem 0.9rem;
  background: #333;
  border: none;
  border-radius: 8px;
  color: #eee;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease;
  user-select: none;
}

.controls button:hover {
  background: #555;
}

.controls span {
  color: #ccc;
  user-select: none;
}

.controls input[type="range"] {
  width: 100px;
  cursor: pointer;
}

.eq-controls {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.eq-controls label {
  font-size: 0.8rem;
  color: #999;
  user-select: none;
}

.eq-controls input[type="range"] {
  width: 100%;
  accent-color: #03dac6;
  cursor: pointer;
}

.mixer {
  background: #222;
  border-radius: 12px;
  min-width: 140px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 8px #000;
}

.mixer h3 {
  color: #ff9800;
  font-weight: 700;
  margin-bottom: 1rem;
  user-select: none;
}

.mixer input[type="range"] {
  -webkit-appearance: none;
  width: 20px;
  height: 100px;
  writing-mode: bt-lr;
  transform: rotate(-90deg);
  margin-top: 20px;
  cursor: pointer;
  accent-color: #ff9800;
}
