/* Chord Identifier — embed scoped styles (WordPress / Elementor) */
/* Escopo estrito: não afeta cabeçalho, rodapé nem outros widgets Elementor */
#ci-chordfinder-root.ci-chordfinder-embed {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  isolation: isolate;
  font-size: 16px;
  line-height: 1.45;
  color: #333;
}
#ci-chordfinder-root .ci-key-row {
  text-align: center;
  margin: 12px auto 0;
  padding: 8px 12px;
  font-size: 1.125rem;
  max-width: 640px;
}
#ci-chordfinder-root .ci-key-label {
  font-weight: 600;
  margin-right: 6px;
}
#ci-chordfinder-root .ci-key-value {
  font-weight: 500;
  color: #1a5f2a;
}

/* Visualização de escala (piano + braço) — ci-scale-visualizer.js; estilo compacto inspirado em guitarjs / virtual guitar */
#ci-chordfinder-root .ci-scale-vis-root {
  max-width: 100%;
  margin: 8px auto 0;
  padding: 0 4px;
}
#ci-chordfinder-root .ci-scale-vis-inner {
  max-width: 100%;
  margin: 0 auto;
}
#ci-chordfinder-root .ci-scale-vis-caption {
  font-size: 0.8rem;
  color: #555;
  margin: 0 0 6px;
  text-align: center;
  line-height: 1.35;
}
#ci-chordfinder-root .ci-scale-vis-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#ci-chordfinder-root .ci-scale-vis-block {
  margin-bottom: 0;
}
#ci-chordfinder-root .ci-scale-vis-h {
  font-size: 0.8rem;
  margin: 0 0 4px;
  font-weight: 600;
  color: #333;
}
#ci-chordfinder-root .ci-scale-guitar-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  border-radius: 4px;
}
#ci-chordfinder-root .ci-scale-guitar-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  background: #faf8f4;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
  min-width: min(100%, 720px);
}
#ci-chordfinder-root .ci-scale-col-corner,
#ci-chordfinder-root .ci-scale-col-str {
  width: 2.75em;
}
#ci-chordfinder-root .ci-scale-guitar-table th,
#ci-chordfinder-root .ci-scale-guitar-table td {
  border: 1px solid #c9c9c9;
  text-align: center;
  padding: 2px 1px;
  vertical-align: middle;
}
#ci-chordfinder-root .ci-scale-body-corner {
  background: #e8e8e8;
  padding: 0;
}
#ci-chordfinder-root .ci-scale-fret-num {
  font-weight: 600;
  color: #777;
  font-size: 8px;
  padding: 2px 1px 4px;
  line-height: 1.1;
}
#ci-chordfinder-root .ci-scale-fret-num--marker {
  font-weight: 700;
  color: #111;
}
#ci-chordfinder-root .ci-scale-fret-dot {
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto 2px;
  border-radius: 50%;
  background: #666;
}
#ci-chordfinder-root .ci-scale-fret-num--marker .ci-scale-fret-dot {
  background: #111;
}
#ci-chordfinder-root .ci-scale-fret-strhead {
  background: #e8e8e8;
  font-size: 7px;
  color: #666;
}
#ci-chordfinder-root .ci-scale-str-label {
  background: linear-gradient(90deg, #f0f0f0 0%, #ececec 100%);
  font-weight: 600;
  font-size: 8px;
  white-space: nowrap;
  padding: 2px 6px;
  text-align: center;
  border-left: 2px solid #999;
}
#ci-chordfinder-root .ci-scale-fret-corner {
  background: #e8e8e8;
  min-width: 1.5em;
}
#ci-chordfinder-root .ci-scale-fret-cell--nut {
  border-left: 3px solid #222;
}
/* stringgradient(str) de guitarjs.js — espessura da “corda” por fileira */
#ci-chordfinder-root .ci-scale-str-row--1 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 3.623%), #111 50%, #fff calc(50% + 3.623%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-str-row--2 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 4.71%), #111 50%, #fff calc(50% + 4.71%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-str-row--3 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 6.16%), #111 50%, #fff calc(50% + 6.16%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-str-row--4 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 9.42%), #111 50%, #fff calc(50% + 9.42%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-str-row--5 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 13.04%), #111 50%, #fff calc(50% + 13.04%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-str-row--6 .ci-scale-fret-cell {
  background: linear-gradient(90deg, #fff 0%, #fff calc(50% - 16.67%), #111 50%, #fff calc(50% + 16.67%), #fff 100%);
}
#ci-chordfinder-root .ci-scale-fret-cell--in {
  font-weight: 700;
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 3.623%), #111 50%, #fff calc(50% + 3.623%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-str-row--2 .ci-scale-fret-cell--in {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 4.71%), #111 50%, #fff calc(50% + 4.71%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-str-row--3 .ci-scale-fret-cell--in {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 6.16%), #111 50%, #fff calc(50% + 6.16%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-str-row--4 .ci-scale-fret-cell--in {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 9.42%), #111 50%, #fff calc(50% + 9.42%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-str-row--5 .ci-scale-fret-cell--in {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 13.04%), #111 50%, #fff calc(50% + 13.04%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-str-row--6 .ci-scale-fret-cell--in {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.42) 0%, rgba(255, 140, 0, 0.42) 100%),
    linear-gradient(90deg, #fff 0%, #fff calc(50% - 16.67%), #111 50%, #fff calc(50% + 16.67%), #fff 100%) !important;
}
#ci-chordfinder-root .ci-scale-fret-note {
  display: block;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
/* Teclado — alinhado a pianokey_style_css / .marked_key em guitarjs.js */
#ci-chordfinder-root .ci-scale-piano {
  display: flex;
  flex-direction: row;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  padding: 6px 4px 8px;
  border-radius: 4px;
  background: #ddd;
  border: 1px solid #aaa;
  box-sizing: border-box;
}
#ci-chordfinder-root .ci-piano-octave {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
}
#ci-chordfinder-root .ci-piano-whites {
  display: flex;
  flex-direction: row;
  height: 100%;
  align-items: stretch;
}
#ci-chordfinder-root .ci-pwk {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1px 4px;
  border: none;
  border-radius: 0 0 4px 4px;
  opacity: 0.92;
  background: linear-gradient(#d3d3d3, #fff);
  box-shadow: inset 1px 1px 5px 0 #000, inset -1px -1px 5px 0 #000, 1px 0 #888, -1px 0 #888;
}
#ci-chordfinder-root .ci-pwk--in {
  opacity: 1;
  background: #ffa500;
  box-shadow: inset 1px 1px 6px 0 rgba(0, 0, 0, 0.35), inset -1px -1px 6px 0 rgba(0, 0, 0, 0.35), 1px 0 #c60, -1px 0 #c60;
}
#ci-chordfinder-root .ci-pwk-lbl {
  font-size: 7px;
  font-weight: 600;
  color: #222;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
#ci-chordfinder-root .ci-pwk--in .ci-pwk-lbl {
  color: #331a00;
}
#ci-chordfinder-root .ci-piano-blacks {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 62%;
  pointer-events: none;
}
#ci-chordfinder-root .ci-pbk {
  position: absolute;
  top: 0;
  width: 11%;
  height: 100%;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  border: none;
  background: linear-gradient(#111, #444);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
}
#ci-chordfinder-root .ci-pbk--in {
  background: #ffa500;
  box-shadow: 0 2px 2px rgba(180, 90, 0, 0.5);
}

/* Layout estilo Virtual Guitar: escala em cima, leitor ao centro, grelha + piano em baixo */
#ci-chordfinder-root .ci-vg-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}
#ci-chordfinder-root .ci-vg-scale-section {
  order: 1;
}
#ci-chordfinder-root .ci-vg-player-section {
  order: 2;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  padding: 12px 10px 16px;
  margin-top: 4px;
}
#ci-chordfinder-root .ci-vg-embed-note {
  font-size: 0.72rem;
  color: #666;
  margin: 8px 0 0;
  line-height: 1.35;
}
#ci-chordfinder-root .ci-vg-embed-note code {
  font-size: 0.85em;
  background: #f3f3f3;
  padding: 1px 4px;
  border-radius: 3px;
}
#ci-chordfinder-root .ci-scale-vis-stack-vg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#ci-chordfinder-root .ci-scale-vis-vg-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
#ci-chordfinder-root .ci-scale-vis-chordgrid-wrap {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 100%;
}
#ci-chordfinder-root .ci-scale-vis-piano-wrap {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
}
#ci-chordfinder-root .ci-vg-chord-grid {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
#ci-chordfinder-root .ci-vg-chord-row {
  margin-bottom: 4px;
}
#ci-chordfinder-root .ci-vg-chord-pill {
  display: inline-block;
  margin: 2px 3px 2px 0;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 0.45em;
  color: #fff;
  border: 1px solid #333;
  vertical-align: middle;
  cursor: default;
  user-select: none;
}
#ci-chordfinder-root .ci-vg-chord-pill--l {
  background: #555555;
}
#ci-chordfinder-root .ci-vg-chord-pill--d {
  background: #777777;
}
#ci-chordfinder-root .ci-vg-chord-pill sup {
  font-size: 0.75em;
}

#ci-chordfinder-root.ci-chordfinder-embed *,
#ci-chordfinder-root.ci-chordfinder-embed *::before,
#ci-chordfinder-root.ci-chordfinder-embed *::after {
  box-sizing: border-box;
}
#ci-chordfinder-root .ci-embed-intro {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
/* Botões/inputs dos modais (substituem Bootstrap só dentro do root) */
#ci-chordfinder-root .ci-wp-btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 6px;
  user-select: none;
  font-family: inherit;
}
#ci-chordfinder-root .ci-wp-btn-primary {
  color: #fff;
  background: #337ab7;
  border-color: #2e6da4;
}
#ci-chordfinder-root .ci-wp-btn-primary:hover { background: #286090; border-color: #204d74; color: #fff; }
#ci-chordfinder-root .ci-wp-btn-success {
  color: #fff;
  background: #5cb85c;
  border-color: #4cae4c;
}
#ci-chordfinder-root .ci-wp-btn-success:hover { background: #449d44; color: #fff; }
#ci-chordfinder-root .ci-wp-btn-danger {
  color: #fff;
  background: #d9534f;
  border-color: #d43f3a;
}
#ci-chordfinder-root .ci-wp-btn-danger:hover { background: #c9302c; color: #fff; }
#ci-chordfinder-root .ci-wp-btn-danger:disabled,
#ci-chordfinder-root .ci-wp-btn-success:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#ci-chordfinder-root .ci-wp-btn-default {
  color: #333;
  background: #fff;
  border-color: #ccc;
}
#ci-chordfinder-root .ci-wp-btn-default:hover { background: #e6e6e6; border-color: #adadad; }
#ci-chordfinder-root .ci-wp-form-control {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.08);
  font-family: inherit;
}
#ci-chordfinder-root .ci-modal { display: none; position: fixed; z-index: 500100; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.45); align-items: center; justify-content: center; }
#ci-chordfinder-root .ci-modal.ci-modal-open { display: flex; }
#ci-chordfinder-root .ci-modal-dialog { background: #faf8f6; border-radius: 10px; max-width: 520px; width: 92%; box-shadow: 0 8px 32px rgba(0,0,0,0.2); border: 1px solid #d4c4bc; }
#ci-chordfinder-root .ci-modal-header { padding: 14px 18px; border-bottom: 1px solid #e5d7d4; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: #543b1b; }
#ci-chordfinder-root .ci-modal-body { padding: 18px; }
#ci-chordfinder-root .ci-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; line-height: 1; color: #666; }
#ci-chordfinder-root .ci-modal-close:hover { color: #000; }
#ci-chordfinder-root .ci-source-bar { margin: 12px 15px; text-align: center; }
#ci-chordfinder-root .ci-source-btn {
  margin: 6px 4px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: linear-gradient(180deg, #fcfcfc 0%, #ebebeb 55%, #e4e4e4 100%);
  color: #3a3a3a;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
#ci-chordfinder-root .ci-source-btn:hover {
  background: linear-gradient(180deg, #fafafa 0%, #e6e6e6 55%, #dedede 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: #222;
}
#ci-chordfinder-root .ci-source-btn:active {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
#ci-chordfinder-root .ci-source-btn .fas, #ci-chordfinder-root .ci-source-btn .fab { margin-right: 8px; }
#ci-chordfinder-root .ci-src-ic-upload { color: #5c6bc0; }
#ci-chordfinder-root .ci-src-ic-youtube { color: #e53935; }
#ci-chordfinder-root .ci-src-ic-mic { color: #c2185b; }
#ci-chordfinder-root .ci-src-ic-link { color: #00897b; }
#ci-chordfinder-root .ci-src-ic-history { color: #7b1fa2; }
#ci-chordfinder-root .ci-src-ic-export { color: #e65100; }
#ci-chordfinder-root .ci-modal-dialog-export { max-width: 560px; }
#ci-chordfinder-root .ci-export-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}
#ci-chordfinder-root .ci-export-modal-buttons .modern-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
  margin: 0;
}
#ci-chordfinder-root .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
#ci-chordfinder-root .ci-chord-display { text-align: center; margin: 8px auto 16px; max-width: 640px; padding: 12px; background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%); border-radius: 12px; border: 1px solid #e0dcd8; }
#ci-chordfinder-root .ci-chord-label { font-size: 18px; font-weight: 600; color: #543b1b; margin-bottom: 8px; min-height: 1.2em; }
#ci-chordfinder-root .ci-chord-img { max-width: 100%; height: auto; object-fit: contain; vertical-align: middle; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12)); }
#ci-chordfinder-root .ci-chord-img.ci-chord-img--free-blur {
  filter: blur(8px) drop-shadow(0 2px 6px rgba(0,0,0,0.08));
  user-select: none;
  -webkit-user-drag: none;
}
#ci-chordfinder-root .ci-chord-diagram-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 6px;
}
#ci-chordfinder-root .ci-chord-img-wrap {
  flex: 0 0 auto;
  max-width: min(100%, 240px);
}
#ci-chordfinder-root .ci-chord-diagram-reveal-btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6d4c41 0%, #8d6e63 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: inherit;
  line-height: 1.3;
  max-width: 140px;
  text-align: center;
}
#ci-chordfinder-root .ci-chord-diagram-reveal-btn:hover,
#ci-chordfinder-root .ci-chord-diagram-reveal-btn:focus {
  background: linear-gradient(135deg, #5d4037 0%, #795548 100%);
  color: #fff;
  outline: none;
}
@media (max-width: 480px) {
  #ci-chordfinder-root .ci-chord-diagram-row { flex-direction: column; }
  #ci-chordfinder-root .ci-chord-diagram-reveal-btn { max-width: 100%; width: 100%; }
}
#ci-chordfinder-root .btn-unlock-chords-modal {
  display: inline-block;
  font-size: 22px;
  color: white;
  background-color: #F57C00;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
#ci-chordfinder-root .btn-unlock-chords-modal:hover,
#ci-chordfinder-root .btn-unlock-chords-modal:focus {
  background-color: #e65100;
  color: #fff;
  outline: none;
}
#ci-chordfinder-root .pro-benefits-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 500110;
}
#ci-chordfinder-root .pro-benefits-overlay[hidden] { display: none !important; }
#ci-chordfinder-root .pro-benefits-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 500120;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid #eaeaea;
  padding: 28px 24px 24px;
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#ci-chordfinder-root .pro-benefits-modal[hidden] { display: none !important; }
#ci-chordfinder-root .pro-benefits-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 0.85;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}
#ci-chordfinder-root .pro-benefits-close:hover { color: #333; }
#ci-chordfinder-root .pro-benefits-icon { font-size: 40px; line-height: 1; margin-bottom: 8px; }
#ci-chordfinder-root .pro-benefits-heading {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}
#ci-chordfinder-root .pro-benefits-sub {
  margin: 0 0 18px 0;
  font-size: 15px;
  color: #555;
  font-weight: 600;
}
#ci-chordfinder-root .ci-export-upgrade-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #555;
  text-align: left;
  line-height: 1.45;
}
#ci-chordfinder-root .pro-benefits-list {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  text-align: left;
}
#ci-chordfinder-root .pro-benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #333;
  line-height: 1.35;
}
#ci-chordfinder-root .pro-benefits-list li:last-child { border-bottom: none; }
#ci-chordfinder-root .pro-benefits-ico {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 18px;
}
#ci-chordfinder-root .pro-benefits-infinity {
  color: #7b2cbf;
  font-weight: bold;
  font-size: 22px;
  line-height: 1;
}
#ci-chordfinder-root .pro-benefits-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #2e7d32;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
#ci-chordfinder-root .pro-benefits-cta:hover {
  background-color: #256628;
  color: #ffffff !important;
  transform: translateY(-2px);
}
/* Trava scroll da página ao abrir modal PRO (classe aplicada no body pelo script) */
body.ci-chordfinder-scroll-lock { overflow: hidden !important; }
@media (max-width: 600px) {
  #ci-chordfinder-root .pro-benefits-modal { padding: 24px 18px 20px; }
  #ci-chordfinder-root .btn-unlock-chords-modal { font-size: 18px; padding: 12px 20px; width: 100%; max-width: 100%; }
}
#ci-chordfinder-root .button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

#ci-chordfinder-root .export-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

#ci-chordfinder-root .modern-btn {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    #ci-chordfinder-root .modern-btn {
        min-width: 150px;
        font-size: 12px;
        padding: 10px 15px;
    }
}

#ci-chordfinder-root .modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#ci-chordfinder-root .modern-btn.pdf {
    background: linear-gradient(45deg, #ff9a44, #fc6076);
    color: white;
}

#ci-chordfinder-root .modern-btn.txt {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    color: white;
}

#ci-chordfinder-root .modern-btn.chords {
    background: linear-gradient(45deg, #6B48FF, #8C4FFF);
    color: white;
}

#ci-chordfinder-root .modern-btn.group {
    background: linear-gradient(45deg, #20B2AA, #48D1CC);
    color: white;
}

#ci-chordfinder-root .modern-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#ci-chordfinder-root .modern-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

#ci-chordfinder-root .export-notice {
    color: #666;
    font-size: 15px;
    text-align: center;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
    font-weight: 500;
}

#ci-chordfinder-root form.control-buttons.ci-control-toolbar {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 960px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
}

#ci-chordfinder-root .ci-playback-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

#ci-chordfinder-root .control-buttons .modern-btn {
    flex: 0 1 auto;
    min-width: 100px;
    max-width: 130px;
    padding: 10px 20px;
    font-size: 13px;
}

#ci-chordfinder-root .ci-playback-buttons .modern-btn {
    margin: 0 !important;
    min-width: 88px;
    max-width: 118px;
    padding: 10px 14px;
}

@media (max-width: 768px) {
    #ci-chordfinder-root form.control-buttons.ci-control-toolbar {
        padding: 0 8px;
        gap: 10px;
    }
    
    #ci-chordfinder-root .control-buttons .modern-btn {
        min-width: 90px;
        max-width: 110px;
        font-size: 12px;
        padding: 8px 12px;
    }

    #ci-chordfinder-root .ci-playback-buttons {
        gap: 3px;
        justify-content: center;
    }

    #ci-chordfinder-root .ci-playback-buttons .modern-btn {
        min-width: 80px;
        max-width: 100px;
        padding: 8px 10px;
    }
}

#ci-chordfinder-root .modern-btn.play {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

#ci-chordfinder-root .modern-btn.stop {
    background: linear-gradient(45deg, #f44336, #e53935);
    color: white;
}

#ci-chordfinder-root .modern-btn.repeat {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
}

#ci-chordfinder-root .modern-btn.clear {
    background: linear-gradient(45deg, #9E9E9E, #757575);
    color: white;
}

#ci-chordfinder-root .modern-btn.play:hover {
    background: linear-gradient(45deg, #45a049, #388E3C);
}

#ci-chordfinder-root .modern-btn.stop:hover {
    background: linear-gradient(45deg, #e53935, #d32f2f);
}

#ci-chordfinder-root .modern-btn.repeat:hover {
    background: linear-gradient(45deg, #1976D2, #1565C0);
}

#ci-chordfinder-root .modern-btn.clear:hover {
    background: linear-gradient(45deg, #757575, #616161);
}
