.files-dropzone.files-drop-active {
  border-color: #34d399;
  background-color: rgba(16, 185, 129, 0.08);
}

#platform-chrome:not(.hidden) {
  display: flex;
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: #1f2937;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background-color: #4b5563;
  border-radius: 20px;
  border: 2px solid #1f2937;
}

.song-row.selected {
  background-color: #374151;
}
.song-row.playing {
  background-color: #4f46e5;
}
.song-row:hover:not(.playing) {
  background-color: #4b5563;
}
.playlist-item.active {
  border-left: 3px solid #6366f1;
  background-color: #374151;
}

/* Drag & Drop Styles */
.playlist-entry.drag-over {
  background-color: #4f46e5 !important;
  color: white !important;
  outline: 2px solid #818cf8;
}

#playlist-dropdown-menu,
#user-dropdown-menu,
#song-options-menu {
  position: absolute;
  z-index: 50;
}
[contenteditable]:focus {
  outline: 2px solid #6366f1;
  border-radius: 4px;
  padding: 0 4px;
}
.shuffle-active {
  color: #6366f1;
  stroke-width: 3px;
  filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
}

.custom-checkbox {
  cursor: pointer;
  accent-color: #6366f1;
  width: 16px;
  height: 16px;
}

.sortable-header {
  cursor: pointer;
  user-select: none;
}
.sortable-header:hover {
  color: #818cf8;
}

/* Collapsible Styling */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary .arrow {
  transform: rotate(90deg);
}
.arrow {
  transition: transform 0.2s;
  display: inline-block;
}

@media (max-width: 768px) {
  .scrollbar-thin::-webkit-scrollbar {
    width: 4px;
  }
  #sidebar {
    position: absolute;
    z-index: 40;
    height: 100%;
    width: 80%;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  #sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
    display: none;
  }
  .mobile-overlay.active {
    display: block;
  }
}
