:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  align-items: flex-start;    /* vertikal oben */
  justify-content: flex-start;/* horizontal links */
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
.genre-select {
  width: 105px;
  height: 36px;
  color: #cccccc;
  border: 1px solid rgba(204, 204, 204, 0.16);
  border-radius: 18px;
  text-align: center;
  line-height: 36px; /* sorgt für vertikales Zentrieren */
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover-Zustand für das Toggle */
.genre-select:hover {
  background-color: rgba(204, 204, 204, 0.08);
  border-color: transparent;
}

/* Geöffneter Zustand (wenn Panel sichtbar ist) */
.genre-select.p-focus {
  background-color: rgba(204, 204, 204, 0.16);
  border-color: transparent;
}

.genre-select .p-multiselect-label {
  justify-content: center; /* sorgt für horizontales Zentrieren */
  padding-top: 0; /* falls nötig, sonst leicht verschoben */
}

.genre-select .p-multiselect-trigger {
  margin-right: 8px; /* Abstand zwischen Pfeil und Rand */
}

.p-multiselect-panel {
  background-color: #141414;
  border-radius: 8px;
  width: 150px; /* Breite */
  max-height: 300px; /* Höhe, falls zu viele Items */
  margin-top: 8px !important; /* Abstand zum Toggle */
}

/* Header mit Close Button ausblenden */
.p-multiselect-panel .p-multiselect-header {
  display: none;
}

/* Checkboxen ausblenden */
.p-multiselect-panel .p-checkbox {
  display: none;
}

/* Abstand oberhalb des ersten Items */
.p-multiselect-panel .p-multiselect-items {
  padding-top: 8px;
}

/* Optional: Mehr Padding für die Items ohne Checkbox */
.p-multiselect-panel .p-multiselect-item {
  padding-left: 12px;
  color: #cccccc;
  border-radius: 4px;
  margin-top: 3px;
  margin-left: 2px;
  margin-right: 2px;
}
/* Selektierte Items: weißer Hintergrund mit schwarzer Schrift */
.p-multiselect-panel .p-multiselect-item.p-highlight {
  background-color: rgba(204, 204, 204, 0.16) !important;
  color: #cccccc !important;
}

/* Hover-Effekt für selektierte Items */
.p-multiselect-panel .p-multiselect-item.p-highlight:hover {
  background-color: rgba(204, 204, 204, 0.08) !important;
  color: #cccccc !important;
}

/* Hover-Effekt für nicht-selektierte Items */
.p-multiselect-panel .p-multiselect-item:not(.p-highlight):hover {
  background-color: rgba(204, 204, 204, 0.08) !important;
  color: #cccccc !important;
}

/* Clear Button Styling */
.clear-button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background-color: rgba(204, 204, 204, 0.2);
  color: #cccccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.clear-button:hover {
  background-color: rgba(204, 204, 204, 0.3);
}

/* Footer im MultiSelect Panel */
.multiselect-footer {
  padding: 8px 12px;
  margin-right: 12px;
  border-top: 1px solid rgba(204, 204, 204, 0.16);
  background-color: #141414;
}

/* Clear All Button im Panel Footer */
.clear-all-button {
  width: 100%;
  height: 32px;
  border: none;
  border-radius: 4px;
  background-color: rgba(204, 204, 204, 0.1);
  color: #cccccc;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s ease;
}

.clear-all-button:hover:not(:disabled) {
  background-color: rgba(204, 204, 204, 0.2);
}

.clear-all-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.topbar-container {
  height: 50%;
  display: flex;
  align-items: center;
  /* background-color: rgba(0, 170, 0, 0.2); */

  padding-left: 16px;
  gap: 1.5vw; /* Abstand zwischen Logo und Dropdowns */
}
.topbar-container-bottom {
  height: 50%;
  display: flex;
  align-items: center;
  /* background-color: rgba(0, 170, 0, 0.2); */
  padding-left: 16px;
  gap: 2vw; /* Abstand zwischen Logo und Dropdowns */
}

.topbar-logo {
  width: 112px;
  height: auto;
}
.spacer {
  width: 112px;
  background-color: rgba(0, 170, 179, 0.8);
}

.chip-container {
  width: 80%;
  display: flex;
  align-items: left;
  gap: 1vw;
}

.chip {
  height: 24px;
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 12px;
  padding-left: 8px;
  padding-right: 8px;
  color: #333333;
  display: flex;
  align-items: center;
}

.chip-label {
  margin-right: 8px;
}

.chip-close {
  font-weight: bold;
}

.chip:hover {
  background-color: rgba(204, 204, 204, 1);
  cursor: pointer;
}

.button {
  border-radius: 32px;
  border: 1px solid rgba(204, 204, 204, 0.16);
  background-color: transparent;
  outline: none; /* Entfernt den blauen Focus-Outline */
}

.button:focus {
  outline: none; /* Doppelt sicher - entfernt Focus-Outline */
}

.button:hover {
  border: 1px solid rgba(204, 204, 204, 0.08);
  background-color: rgba(204, 204, 204, 0.08);
}

.button:active {
  border: 1px solid rgba(204, 204, 204, 0.16);
  background-color: rgba(204, 204, 204, 0.16);
}

.button.active {
  background-color: #ddd;
  color: #000;
}

.button.active:hover {
  background-color: rgba(221, 221, 221, 0.5);
  color: #000;
}
.button-small {
  border-radius: 16px;
  background-color: rgba(204, 204, 204, 0.84);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.button-small:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.button-small:hover {
  background-color: rgba(204, 204, 204, 0.92);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.button-small:active {
  background-color: rgba(204, 204, 204, 1);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.search-input {
  width: 240px;
  padding: 8px 36px 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(204, 204, 204, 0.16);
  outline: none;
  font-size: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23aaa' viewBox='0 0 24 24'><path d='M15.5 14h-.8l-.3-.3a6.5 6.5 0 10-.7.7l.3.3v.8L20 20.5 21.5 19 15.5 14zM10.5 15a4.5 4.5 0 110-9 4.5 4.5 0 010 9z'/></svg>")
    no-repeat right 10px center;
  background-size: 16px 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover state */
.search-input:hover {
  background-color: rgba(204, 204, 204, 0.08);
  border-color: transparent;
}

/* Focus state */
.search-input:focus {
  background-color: rgba(204, 204, 204, 0.16);
  border-color: transparent;
}
.segmented-button {
  display: inline-flex;
  border-radius: 32px;
  border: 1px solid rgba(204, 204, 204, 0.16);
  background-color: #222;
  padding: 4px;
}

.segment {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 32px;
  padding: 6px 14px;
  background-color: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
}

.segment:hover {
  background-color: rgba(204, 204, 204, 0.16);
}

.segment.active {
  background-color: #ddd;
  color: #000;
}
.range-slider-container {
  width: 100px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.range-label-left {
  text-align: left;
}

.range-label-right {
  text-align: right;
}

.p-slider {
  background: rgba(204, 204, 204, 0.2);
  border: none;
  border-radius: 6px;
  height: 6px;
  position: relative;
}

.p-slider .p-slider-range {
  background: rgba(204, 204, 204, 0.8);
}

.p-slider .p-slider-handle {
  height: 16px;
  width: 16px;
  background: #ffffff;
  border: 2px solid rgba(204, 204, 204, 0.8);
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  top: 50%;
  margin-top: -8px; /* Half of handle height */
}

.p-slider .p-slider-handle:hover {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(204, 204, 204, 0.6);
}

.p-slider .p-slider-handle:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(204, 204, 204, 0.5);
}
.login-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-popup {
  background-color: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(204, 204, 204, 0.2);
  padding: 32px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-popup-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
}

.close-button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  outline: none;
}

.close-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.close-button:focus {
  outline: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 204, 204, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
  border-color: rgba(204, 204, 204, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.login-button {
  background-color: rgba(204, 204, 204, 0.84);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  margin-top: 8px;
}

.login-button:hover {
  background-color: rgba(204, 204, 204, 0.92);
}

.login-button:active {
  background-color: rgba(204, 204, 204, 1);
}

.login-button:focus {
  outline: none;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.login-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.login-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.app-container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background-color: #111111;
}

.middle-row {
  display: flex;
  flex: 1;
}

.center-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.canvas-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shared style for all non-canvas divs */
.non-canvas {
  border-radius: 8px;
  margin: 4px;
  margin-bottom: 2px;
  margin-right: 4px;
}

.topbar {
  height: 120px;
  background-color: rgba(204, 204, 204, 0.08);
}

.sidebar-left {
  width: 56px;
  background-color: rgba(204, 204, 204, 0.08);
}

.sidebar-right {
  width: 200px;
  background-color: rgba(204, 204, 204, 0.08);
}

.toggle {
  background: transparent;
  color: white;
  border: 1px solid rgba(204, 204, 204, 0.16);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 20px;
  cursor: pointer;
  outline: none !important;
}

.toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

.toggle:hover {
  background: transparent;
  background-color: rgba(204, 204, 204, 0.08);
  border-color: transparent;
  outline: none;
}

.toggle:active {
  background: transparent;
  background-color: rgba(204, 204, 204, 0.16);
  border-color: transparent;
  outline: none;
}

.toggle.active {
  background: rgba(204, 204, 204, 0.84);
  border: 1px solid rgba(204, 204, 204, 0.84);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 20px;
  cursor: pointer;
  outline: none !important;
}

.toggle.active:focus {
  outline: none !important;
  box-shadow: none !important;
}

.toggle.active:hover {
  background: rgba(204, 204, 204, 0.92);
  border: 1px solid rgba(204, 204, 204, 0.92);
}

.toggle.active:active {
  background: rgba(204, 204, 204, 1);
  border: 1px solid rgba(204, 204, 204, 1);
}
.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sidebar-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.series-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.series-text {
  font-size: 9px;
  font-weight: 600;
  color: rgba(204, 204, 204, 0.9);
  text-align: center;
  line-height: 1;
}

.sidebar-empty-space {
  height: 100%;
}

.sidebar-button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 12px;
  margin-left: 8px;
}

.sidebar-radio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.sidebar-icon:hover {
  background-color: rgba(204, 204, 204, 0.24);
  border-color: rgba(204, 204, 204, 0);
}

.sidebar-radio-item input[type="radio"] {
  display: none;
}

.sidebar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: rgba(204, 204, 204, 0.16);
  border: 2px solid transparent;
}

.sidebar-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Nur zwei Zustände: active und not active */
.sidebar-radio-item input[type="radio"]:checked + .sidebar-icon {
  background-color: rgba(204, 204, 204, 1);
  border-color: #cccccc;
}

/* Active state for series buttons - colors set via inline style */
.sidebar-icon.active .series-text {
  color: #ffffff;
  font-weight: 700;
}

.sidebar-label {
  font-size: 12px;
  color: #cccccc;
  text-align: center;
}

.sidebar-radio-item input[type="radio"]:checked ~ .sidebar-label {
  color: white;
  font-weight: 500;
}

/* Normale Buttons (nicht Radio) */
.sidebar-button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background-color: rgba(204, 204, 204, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.sidebar-button:hover {
  background-color: rgba(204, 204, 204, 0.24);
}
.sidebar-button:active {
  background-color: rgba(204, 204, 204, 1);
}

.sidebar-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.product-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80%;
  /* background-color: rgba(234, 17, 100, 0.2); */
  border-radius: 16px;
}

.product-preview {
  flex: 1;
  margin: 16px;
  margin-top: 32px;
  /* background-color: rgba(17, 146, 247, 0.25); */
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80px;
  gap: 1vh;
}

.product-image {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.product-info {
  text-align: center;
  color: white;
}

.product-info h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: bold;
}

.product-info p {
  margin: 4px 0;
  font-size: 14px;
  opacity: 0.8;
}

.product-buttons {
  background-color: transparent;

  border: 1px solid rgba(204, 204, 204, 0.16);
}
.product-buttons:hover {
  background-color: rgba(204, 204, 204, 0.08);
  border-color: transparent;
}
.product-buttons:active {
  background-color: rgba(204, 204, 204, 0.16);
  border-color: transparent;
}

.product-info audio {
  margin-top: 16px;
  width: 100%;
  max-width: 200px;
}

.no-selection {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.no-selection p {
  margin: 0;
  font-size: 14px;
}

.player {
  width: 100%;
  min-width: 250px;
  max-width: 400px;
  margin: 4px 0;
}

.divider-line {
  height: 1px;
  width: 90%;
  background-color: rgba(204, 204, 204, 0.16);
  margin-top: 4px;
}

/* Preset Details Section */
.preset-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  align-items: center; /* Zentriert die stat-items horizontal */
}

.stat-item {
  width: 80%; /* Oder verwende max-width: 300px für feste Breite */
  text-align: center;
  padding: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item strong {
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
}

.genre-values {
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
  margin-top: 4px;
}
/*
 * react-circular-progressbar styles
 * All of the styles in this file are configurable!
 */

.CircularProgressbar {
  /*
   * This fixes an issue where the CircularProgressbar svg has
   * 0 width inside a "display: flex" container, and thus not visible.
   */
  width: 100%;
  /*
   * This fixes a centering issue with CircularProgressbarWithChildren:
   * https://github.com/kevinsqi/react-circular-progressbar/issues/94
   */
  vertical-align: middle;
}

.CircularProgressbar .CircularProgressbar-path {
  stroke: #3e98c7;
  stroke-linecap: round;
  -webkit-transition: stroke-dashoffset 0.5s ease 0s;
  transition: stroke-dashoffset 0.5s ease 0s;
}

.CircularProgressbar .CircularProgressbar-trail {
  stroke: #d6d6d6;
  /* Used when trail is not full diameter, i.e. when props.circleRatio is set */
  stroke-linecap: round;
}

.CircularProgressbar .CircularProgressbar-text {
  fill: #3e98c7;
  font-size: 20px;
  dominant-baseline: middle;
  text-anchor: middle;
}

.CircularProgressbar .CircularProgressbar-background {
  fill: #d6d6d6;
}

/*
 * Sample background styles. Use these with e.g.:
 *
 *   <CircularProgressbar
 *     className="CircularProgressbar-inverted"
 *     background
 *     percentage={50}
 *   />
 */
.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-background {
  fill: #3e98c7;
}

.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-text {
  fill: #fff;
}

.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-path {
  stroke: #fff;
}

.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail {
  stroke: transparent;
}
.audio-player-container {
  width: 75px;
  height: 75px;
  position: relative;
}

.audio-audio-player-button {
  border: none;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.audio-player-button {
  width: 66px;
  height: 66px;
  border: none;
  border-radius: 70px;
  background-color: rgba(204, 204, 204, 0.84);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.audio-player-button:hover {
  background-color: rgba(204, 204, 204, 0.92);
}
.audio-player-button:active {
  background-color: rgba(204, 204, 204, 1);
}

.audio-player-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}.footer {
  background-color: rgba(204, 204, 204, 0.08);
  position: fixed;
  bottom: 0;
  left: 64px; /* Width of left sidebar + margin */
  right: 208px; /* Width of right sidebar + margin */
  display: flex;
  flex-direction: column;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  margin: 4px;
  border-radius: 8px;
}

.resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
  background: transparent;
  z-index: 10;
}

.resize-handle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-content {
  flex: 1;
  padding: 8px;
  overflow: auto;
}

.footer-panels {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 5px;
  gap: 16px;
  overflow: visible;
  padding: 0 16px;
  box-sizing: border-box;
}
.footer-header {
  height: 40px;
  text-align: center left;
  vertical-align: middle;
}
.footer-panel {
  height: 50px; /* Fixed height */
  min-height: 50px; /* Prevent shrinking */
  margin-top: 2vh;
  flex-shrink: 0; /* Don't shrink when space is limited */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
}
.button {
  border-radius: 32px;
  border: 1px solid rgba(204, 204, 204, 0.16);
  background-color: transparent;
}

.button:hover {
  border: 1px solid rgba(204, 204, 204, 0.08);
  background-color: rgba(204, 204, 204, 0.08);
}

.button:active {
  border: 1px solid rgba(204, 204, 204, 0.16);
  background-color: rgba(204, 204, 204, 0.16);
}

.audio-player-button {
  width: 66px;
  height: 66px;
  border: none;
  border-radius: 70px;
  background-color: rgba(204, 204, 204, 0.84);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.audio-player-button:hover {
  background-color: rgba(204, 204, 204, 0.92);
}
.audio-player-button:active {
  background-color: rgba(204, 204, 204, 1);
}

.audio-player-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

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

.tempo-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-panel {
  height: 50px; /* Fixed height */
  min-height: 50px; /* Prevent shrinking */
  margin-top: 2vh;
  flex-shrink: 0; /* Don't shrink when space is limited */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}.daw-slider {
  -webkit-appearance: none;
  width: 160px;
  height: 24px;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  overflow: hidden; /* Wichtig: damit der Gradient die runden Ecken respektiert */
}

/* Track styling für WebKit (Chrome, Safari) */
.daw-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 24px;
  border-radius: 12px;
}

/* Track styling für Firefox */
.daw-slider::-moz-range-track {
  width: 100%;
  height: 24px;
  border-radius: 12px;
  background: transparent;
}

.daw-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2b2b2b;
  border: 2px solid #999;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease;
}

.daw-slider:active::-webkit-slider-thumb {
  background: #1a1a1a;
}

.daw-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2b2b2b;
  border: 2px solid #999;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.loading-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #3e98c7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.5px;
}
.list-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

/* Header */
.list-view-header {
  display: grid;
  gap: 36px; /* Horizontal spacing between columns */
  background-color: rgba(204, 204, 204, 0.1);
  border-bottom: 1px solid rgba(204, 204, 204, 0.2);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.list-view-header-cell {
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
}

.list-view-header-cell.sortable {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.list-view-header-cell.sortable:hover {
  /* background-color: rgba(255, 255, 255, 0.05); */
  color: rgba(255, 255, 255, 0.92);
}

.list-view-header-cell.sorted {
  color: #fff;
}

.list-view-header-cell .sort-indicator {
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.7;
}

.list-view-header-cell.left {
  justify-content: flex-start;
}

.list-view-header-cell.center {
  justify-content: center;
}

.list-view-header-cell.right {
  justify-content: flex-end;
}

/* Body */
.list-view-body {
  flex: 1;
  overflow-y: scroll; /* Force scrollbar */
  overflow-x: hidden;
  max-height: calc(
    100vh - 250px
  ); /* Limit height: viewport - topbar - footer */
}

/* Items */
.list-view-item {
  display: grid;
  gap: 36px; /* Same horizontal spacing for items */
  padding: 8px 16px;
  border-bottom: 1px solid rgba(204, 204, 204, 0.08);
  cursor: pointer;
  transition: background-color 0.15s ease;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  box-sizing: border-box;
  align-items: center;
}

.list-view-item:hover {
  background-color: rgba(204, 204, 204, 0.08) !important;
}

.list-view-item.selected {
  background-color: rgba(204, 204, 204, 0.16) !important;
}

.list-view-item:active {
  background-color: rgba(204, 204, 204, 0.12) !important;
}

.list-view-item-cell {
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-view-item-cell.left {
  justify-content: flex-start;
}

.list-view-item-cell.center {
  justify-content: center;
}

.list-view-item-cell.right {
  justify-content: flex-end;
}

/* Empty State */
.list-view-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-style: italic;
}

/* Scrollbar Styling */
.list-view-body::-webkit-scrollbar {
  width: 8px;
}

.list-view-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.list-view-body::-webkit-scrollbar-thumb {
  background: rgba(204, 204, 204, 0.3);
  border-radius: 4px;
}

.list-view-body::-webkit-scrollbar-thumb:hover {
  background: rgba(204, 204, 204, 0.5);
}
