/* ============================================================
   🎵 Harmonix SearchBar — FlowSync UI
   ============================================================ */
   .search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    width: 100%;
    max-width: 600px;
    margin: auto;
    color: var(--text);
    transition: border 0.2s ease, box-shadow 0.2s ease;
  }
  
  .search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  }
  
  .search-bar i {
    color: var(--text-muted);
  }
  
  .search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.95rem;
  }
  
  /* === Résultats === */
  .search-results {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: none;
    z-index: 999;
  }
  
  .search-results.visible {
    display: block;
    animation: fadeIn 0.25s ease;
  }
  
  .result-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .result-item:hover {
    background: rgba(255, 215, 0, 0.08);
  }
  
  .result-title {
    font-weight: 600;
    color: var(--text);
  }
  
  .result-artist {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  .no-result {
    padding: 12px 15px;
    text-align: center;
    color: var(--text-muted);
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }
  
  @media (max-width: 768px) {
    .search-bar {
        width: 100%;
        margin-left: 50px;
    }
}