/* ==========================================================================
   DESIGN SYSTEM - ALTROEGO CHORDS (Integrated Design)
   ========================================================================== */

/* Load local Altroego fonts from the main website assets */
@font-face {
  font-family: 'Monument Extended';
  src: url('../src/assets/fonts/MonumentExtended-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Monument Extended';
  src: url('../src/assets/fonts/MonumentExtended-Ultrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sohne';
  src: url('../src/assets/fonts/Sohne-Buch.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sohne';
  src: url('../src/assets/fonts/Sohne-Fett.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../src/assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../src/assets/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette - Altroego Official HSL Colors */
  --bg-dark: hsl(230, 20%, 5%);
  --bg-darker: hsl(230, 20%, 3%);
  --bg-surface: hsla(230, 15%, 12%, 0.6);
  --bg-surface-hover: hsla(230, 15%, 12%, 0.85);
  
  --accent-cyan: hsl(215, 100%, 55%);
  --accent-purple: hsl(275, 100%, 60%);
  --accent-pink: hsl(23, 95%, 62%); /* Soft Orange */
  --accent-neon-green: hsl(160, 80%, 45%); /* Cold Green */
  --accent-neon-yellow: hsl(160, 80%, 45%); /* Cold Green for Chords (or Soft Orange) */
  
  --text-light: hsl(220, 10%, 95%);
  --text-muted: hsl(220, 10%, 60%);
  --text-dark: hsl(230, 20%, 5%);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: hsla(215, 100%, 55%, 0.35);
  
  --glass-bg: hsla(230, 20%, 5%, 0.75);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --font-display: 'Monument Extended', sans-serif;
  --font-sans: 'Sohne', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', "Courier New", monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(155, 81, 224, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 90px; /* Spazio per la barra di controllo fluttuante */
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.accent-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-offline {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
  display: none; /* Mostrato solo se offline tramite JS */
}

.badge-offline.active {
  display: inline-block;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* Search Bar */
.search-bar-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  width: 260px;
  transition: var(--transition-smooth);
}

.search-bar-container:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  width: 320px;
}

.search-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  margin-right: 0.5rem;
}

.search-bar-container input {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

.search-bar-container input::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   MAIN CONTENT & VIEWS
   ========================================================================== */

.main-content {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.view {
  animation: fadeIn 0.4s ease-out;
}

.hidden {
  display: none !important;
}

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

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.chip:hover {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.chip.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

/* Songs Grid */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.song-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.song-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.song-card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface-hover);
  border-color: var(--border-glow);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.1);
}

.song-card:hover::before {
  opacity: 1;
}

.song-card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.song-card-album {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.song-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.song-card-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: flex;
  gap: 0.75rem;
}

.song-card-tags {
  display: flex;
  gap: 0.4rem;
}

.mini-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   DETAIL VIEW (CHORD SHEET)
   ========================================================================== */

.song-meta-card {
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.song-title-group h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.song-meta-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-album {
  background: rgba(155, 81, 224, 0.15);
  color: #c084fc;
  border: 1px solid rgba(155, 81, 224, 0.3);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.song-quick-details {
  display: flex;
  gap: 1.5rem;
}

.meta-item {
  font-size: 0.95rem;
  color: var(--text-light);
}

.meta-item .label {
  color: var(--text-muted);
  font-weight: 500;
}

.meta-item span {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Chord Sheet Parser Output */
.chord-sheet-container {
  background: rgba(4, 4, 8, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  min-height: 500px;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: font-size 0.2s ease-out; /* Per lo zoom fluido */
}

/* Direttive ChordPro (titoli sezioni, commenti ecc.) */
.chord-comment {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(155, 81, 224, 0.2);
  padding-bottom: 0.2rem;
  display: block;
}

.chord-comment:first-of-type {
  margin-top: 0;
}

/* Righe speciali per versi in corsivo (es. *testo*) */
.chord-line.italic {
  font-style: italic;
  color: var(--text-muted);
}

/* Struttura della riga del testo ed accordi */
.chord-line {
  display: flex;
  flex-wrap: wrap;
  line-height: 3.2; /* Spazio generoso per ospitare gli accordi sopra */
  margin-bottom: 0.6rem;
  font-size: 1em; /* Modificato da 1.15rem per abilitare lo zoom */
  color: var(--text-light);
  min-height: 2.4rem;
}

/* Gruppo Accordi + Testo */
.chord-group {
  position: relative;
  display: inline-block;
  white-space: pre; /* Mantiene gli spazi vuoti tra le sillabe */
}

/* L'Accordo singolo */
.chord {
  position: absolute;
  top: -1.35rem; /* Elevato sopra il testo */
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.85em; /* Modificato da 0.95rem per rispondere proporzionalmente allo zoom */
  font-weight: 700;
  color: var(--accent-neon-yellow);
  text-shadow: 0 0 6px rgba(223, 255, 17, 0.3);
  pointer-events: none; /* Evita fastidiosi clic dell'utente */
  white-space: nowrap;
}

/* ==========================================================================
   FLOATING CONTROLS BAR
   ========================================================================== */

.control-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 920px;
  border-radius: 20px;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideUp {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.control-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.center-controls {
  flex: 1;
  justify-content: center;
  gap: 1.5rem;
}

.control-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

/* Control Wrapper */
.control-group-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.control-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.control-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Slider */
.slider-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-container input[type="range"] {
  -webkit-appearance: none;
  width: 90px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.speed-val, .transpose-val, .zoom-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 2.2rem;
  text-align: center;
}

.transpose-val {
  min-width: 1.5rem;
}

/* Buttons */
.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  outline: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.45);
  transform: scale(1.05);
}

.btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  outline: none;
}

.btn-circle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--accent-pink);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: #ff4757;
  text-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .header-left {
    width: 100%;
    justify-content: space-between;
  }
  
  .search-bar-container {
    width: 100%;
  }
  
  .search-bar-container:focus-within {
    width: 100%;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .song-meta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .song-quick-details {
    width: 100%;
    justify-content: space-between;
  }
  
  .chord-sheet-container {
    padding: 1.5rem 1rem;
  }
  
  .control-bar {
    width: 96%;
    padding: 0.6rem 0.8rem;
    bottom: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  
  .center-controls {
    width: 100%;
    order: -1;
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .left-controls {
    width: 100%;
    justify-content: center;
  }
  
  .control-divider {
    display: none;
  }
  
  .slider-container input[type="range"] {
    width: 60px;
  }
}

/* ==========================================================================
   INSTRUMENT TABS & AUDIO FALLBACK
   ========================================================================== */

.instrument-tabs-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.instrument-tabs-container::-webkit-scrollbar {
  height: 4px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.audio-chords-container {
  background: hsla(23, 95%, 62%, 0.05);
  border: 1px dashed var(--accent-pink);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.fallback-header h4 {
  font-family: var(--font-display);
  color: var(--accent-pink);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.fallback-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.audio-chords-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  min-width: 80px;
}

.timeline-item .time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.timeline-item .chord {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-pink);
  position: static;
  text-shadow: none;
}

/* ==========================================================================
   SCALETTE & INTERPRETI DYNAMIC STYLES
   ========================================================================== */

.view-selector {
  display: flex;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
}

.view-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.view-tab:hover {
  color: var(--text-light);
}

.view-tab.active {
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(9, 217, 240, 0.2);
}

.song-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.btn-add-setlist {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-add-setlist:hover {
  background: rgba(9, 217, 240, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.btn-add-setlist.in-setlist {
  background: rgba(155, 81, 224, 0.2);
  color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.song-card-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.song-artist {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.setlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.setlist-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.setlist-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  transition: var(--transition-fast);
}

.setlist-item-card:hover {
  border-color: rgba(9, 217, 240, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.setlist-item-info {
  display: flex;
  flex-direction: column;
}

.setlist-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
}

.setlist-item-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.setlist-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-control:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-control.btn-remove {
  color: var(--accent-pink);
  border-color: rgba(255, 71, 87, 0.2);
}

.btn-control.btn-remove:hover {
  background: rgba(255, 71, 87, 0.15);
  border-color: var(--accent-pink);
}

.btn-large {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}

/* ==========================================================================
   MULTIPLE SETLISTS MANAGER STYLES
   ========================================================================== */

.setlist-manager {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.manager-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  width: 100%;
}

.manager-row label {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.select-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  min-width: 150px;
  flex-grow: 1;
}

.select-input option {
  background: #0a0a16;
  color: var(--text-light);
}

.btn-danger {
  background: rgba(255, 71, 87, 0.2);
  border: 1px solid rgba(255, 71, 87, 0.4);
  color: var(--accent-pink);
}

.btn-danger:hover {
  background: rgba(255, 71, 87, 0.4);
  border-color: var(--accent-pink);
}

.creation-row {
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.8rem;
}

.creation-row input[type="text"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  flex-grow: 1;
}

.creation-row input[type="text"]:focus {
  border-color: var(--accent-cyan);
}
