a.text-decoration-none:hover {
  text-decoration: underline !important;
}

.note-bar .note-btn {
  min-width: 36px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.note-bar .note-btn.active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.4);
}

/* ========================= */
/* 🎼 Şarkı Alanı – spacing tam koruma */
/* ========================= */

pre.song-display {
  font-family: "Open Sans", sans-serif !important;
  white-space: pre;
  padding: 24px 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: normal;
}

/* Akor span'i – akorlar.com ile birebir */
span.ch {
  display: inline;
  min-width: 0;
  font-weight: 700;
  color: #0d6efd;
  vertical-align: baseline;
  transition: color 0.2s ease;
}

span.ch:hover {
  color: #6610f2;
  cursor: pointer;
}

/* 📱 Küçük ekran ayarları */
@media (max-width: 768px) {
  h2.fw-bold {
    font-size: 1.25rem;
  }

  .note-bar .note-btn {
    font-size: 0.8rem;
    min-width: 30px;
    padding: 2px 4px;
  }

  .song-display {
    font-size: 15px;
  }
}

/* === Etiket Rozetleri === */
.badge.hover-scale {
  transition: all 0.2s ease-in-out;
  cursor: default;
}

.badge.hover-scale:hover {
  transform: scale(1.07);
  background-color: #f8f9fa;
  color: #0d6efd;
  border-color: #0d6efd;
}



/* 🎸 Akor baloncuğu */
.chord-tooltip {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 9999;
  font-size: 13px;
  color: #333;
  min-width: 120px;
  text-align: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.chord-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chord-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.1));
}

.chord-tooltip svg {
  width: 120px;
  height: auto;
  margin-top: 4px;
}



/* 🎹 Şarkıyı iki sütun halinde göster */
pre.song-display.split-mode {
  column-count: 2;
  column-gap: 2rem;
  white-space: pre-wrap;
  /* Satır taşmalarını düzgün kır */
}

/* 📱 Mobilde asla ikiye bölme olmasın */
@media (max-width: 992px) {
  #splitViewBtn {
    display: none !important;
  }

  pre.song-display.split-mode {
    column-count: 1 !important;
  }
}


/* 🎨 Modern Analysis Card */
.analysis-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header */
.analysis-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
}

.analysis-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.analysis-icon {
  font-size: 1.25rem;
}

/* Bloklar */
.analysis-block {
  margin-bottom: 1.3rem;
}

/* Yumuşak divider */
.analysis-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  margin: 1rem 0;
}

/* Paragraflar */
.analysis-text {
  font-size: .85rem;
  color: #6c757d;
  line-height: 1.45;
  margin-bottom: .4rem;
}

.analysis-note {
  font-size: .75rem;
  color: #adb5bd;
  font-style: italic;
  margin-top: .3rem;
}

.analysis-meta {
  font-size: .8rem;
  color: #495057;
  margin-top: .3rem;
}

/* Stats Chip */
.analysis-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 0.8rem;
}

.chip {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: .75rem;
  color: #6c757d;
  font-weight: 500;
}

/* Başlık + Badge yatay hizalama */
.analysis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
}

/* Başlık */
.analysis-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #212529;
}

/* Badge */
.analysis-badge {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px 10px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  color: #495057;
}

/* Tonal Fonksiyon Analizi */
.tonal-analysis {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #343a40;
}

/* Her satır */
.tonal-line {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  border-left: 3px solid rgba(13, 110, 253, 0.15);
}

.tonal-line strong {
  color: #0d6efd;
}


/* 🔵 Profesyonel Ton Kontrol Barı */
.tone-control-bar {
  background: #f8f9fa;
  /* soft gri */
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

.tone-control-bar .btn {
  border-radius: 8px !important;
  padding: 0.35rem 0.7rem !important;
  transition: all 0.15s ease;
}

/* Hover efekti */
.tone-control-bar .btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* Dropdown daha modern görünsün */
.tone-control-bar .dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* 🎵 Premium Song Title */
.song-title-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.artist-link {
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.artist-link:hover {
  color: #0d6efd;
}

.song-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  color: #212529;
  letter-spacing: -0.4px;
  margin-top: 2px;
}

/* Favori butonu dikey hizalama için küçük ayar */
.song-header-wrapper .btn-sm {
  margin-top: 4px;
}

/* Modern Chord Bar */
.chord-bar {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.chord-bar .btn {
  border-radius: 8px !important;
  padding: 0.32rem 0.65rem !important;
  transition: all .15s ease;
}

.chord-bar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}
