:root {
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --card-overlay: rgba(99, 102, 241, 0.25);
  --chord: #f87171;
}

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #020617, var(--bg));
  margin: 0;
  padding-top: 40px;
 
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Roboto, sans-serif;
  color: var(--text);
}

.container {
  margin: auto;
  background: linear-gradient(135deg, #020617, var(--bg));
 
 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

h2 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.top-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

#searchInput {
  flex: 1;
  padding: 14px;
 
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  outline: none;
  border: none;
}

#searchInput::placeholder {
  color: var(--muted);
}

#searchInput:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.result-item {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
}

.result-item:hover {
  background: var(--accent-hover);
}

.lyrics-wrapper {
  position: relative;
}

.empty-message {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
}

#lyrics {
  white-space: pre-line;
  line-height: 1.9;
  padding: 20px;
 
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
}

#lyrics h3 {
  margin-top: 0;
  font-weight: 600;
}

.results.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--card);
  padding: 12px;
  border-radius: 12px;
  height: 90vh;
  overflow-y: auto;
  display: none;
}
