/* assets/css/player.css */
/* Spotify-like responsive layout for FolderAudio Lite — Refined for Greek text */

/* Root grid: sidebar and main content */

.fal-player {
  display: grid;
-  grid-template-columns: 250px 1fr;
+  grid-template-columns: 250px 4fr;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Stack vertically on small screens */
@media (max-width: 768px) {
  .fal-player {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}

/* Sidebar styling */
.fal-sidebar {
  background: #121212;
  color: #f0e0d6;
  overflow-y: auto;
  border-right: 1px solid #333;
}
.fal-sidebar::-webkit-scrollbar {
  width: 16px;
}
.fal-sidebar::-webkit-scrollbar-track {
  background: #1e1e1e;
}
.fal-sidebar::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 8px;
}

/* Custom scrollbar for sidebar */
.fal-sidebar::-webkit-scrollbar {
  width: 8px;
}
.fal-sidebar::-webkit-scrollbar-track {
  background: #1e1e1e;
}
.fal-sidebar::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

/* Album list reset */
.fal-albums {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Album title button */
.fal-album-title {
  display: block;
  width: 100%;
  padding: 0.75em 1em;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #333;
  color: inherit;
  font-weight: bold;
  cursor: pointer;
}
.fal-album-title:hover,
.fal-album.active > .fal-album-title {
  background: #1e1e1e;
}

/* Track list hidden by default */
.fal-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.fal-album.active > .fal-track-list {
  display: block;
}

/* Track item */
.fal-track {
  padding: 0.5em 1.5em;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #2a2a2a;
  color: #f0e0d6;
}
.fal-track:hover {
  background: #1e1e1e;
}
.fal-track.playing {
  background: #333;
  color: #fff;
}

/* Track play/pause icon */
.fal-track::before {
  content: '▶';
  display: inline-block;
  width: 1em;
  margin-right: 0.5em;
  opacity: 0.6;
}
.fal-track.playing::before {
  content: '❚❚';
  opacity: 1;
}

/* Main content area */
.fal-main {
  display: flex;
  flex-direction: column;
  background: #181818;
  color: #f0e0d6;
  padding: 1.5em;
  overflow-y: auto;
}

/* Now playing header */
.fal-now-playing {
  display: flex;
  align-items: center;
  padding-bottom: 1em;
  border-bottom: 1px solid #333;
}
.fal-play-toggle {
  background: none;
  border: none;
  color: #EBD5B8;
  font-size: 1.5em;
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
}
.fal-play-toggle:hover {
  color: #d4b59f;
}
.fal-current-title {
  margin-left: 1em;
  font-size: 1.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Audio bar */
.fal-audio-container {
  margin: 1em 0;
}
.fal-audio-container audio {
  width: 100%;
  height: 3em;
  background: #121212;
}

/* Controls (Prev/Next) */
.fal-controls {
  display: flex;
  justify-content: center;
  gap: 1em;
}
.fal-controls button {
  background: #EBD5B8;
  color: #121212;
  border: none;
  padding: 0.5em 1em;
  border-radius: 2px;
  cursor: pointer;
}
.fal-controls button:hover {
  background: #d4b59f;
}