h1 {
  margin: 20px 0;
  font-size: 1.8em;
}

.chord-selector {
  background: #111111;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 1px #000000;
}

.chord-selector-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .chord-selector-controls {
    flex-direction: column;
    gap: 15px;
  }
}

.selector-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.selector-group .button-group {
  margin-bottom: 0;
}
.selector-group button {
  padding: 6px 12px;
  font-size: 0.85em;
  font-weight: 500;
}

.section-title {
  color: #cc9966;
  font-size: 1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

button {
  background: #222222;
  color: #cccccc;
  border: 2px solid #333333;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
}
button:hover {
  background: #cc9966;
  color: #000000;
  border-color: #cc9966;
}
button.active {
  background: #cc9966;
  color: #000000;
  border-color: #cc9966;
}

.chord-display {
  background: #111111;
  padding: 25px;
  border-radius: 5px;
  margin-bottom: 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chord-name {
  font-size: 2em;
  color: #cc9966;
  margin-bottom: 15px;
  text-align: center;
}

.chord-diagram {
  background: #222222;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
}

.fretboard {
  display: inline-block;
}

.string {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  position: relative;
}

/* Add visual guitar strings with varying thicknesses */
.string::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 0;
  height: 2px;
  background: #b87333;
  z-index: 3;
  pointer-events: none;
}

/* String thickness variation - E (thickest) to e (thinnest) - copper colored */
.string:nth-child(1)::after {
  height: 4px;
  background: #a86830;
} /* Low E - darker copper */
.string:nth-child(2)::after {
  height: 3.5px;
  background: #b06d31;
} /* A */
.string:nth-child(3)::after {
  height: 3px;
  background: #b87333;
} /* D */
.string:nth-child(4)::after {
  height: 2.5px;
  background: #c07935;
} /* G */
.string:nth-child(5)::after {
  height: 2px;
  background: #c88037;
} /* B */
.string:nth-child(6)::after {
  height: 1.5px;
  background: #d08839;
} /* High e - lighter copper */
.string-label {
  width: 30px;
  text-align: right;
  margin-right: 10px;
  font-weight: bold;
  color: #cccccc;
  font-size: 14px;
}

.fret {
  width: 44.5px;
  height: 36px;
  border: none;
  border-right: 2px solid #c0c0c0;
  background: #3d2817;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fret:last-of-type {
  border-right: none;
}

.nut {
  width: 20px;
  height: 36px;
  border: none;
  border-right: 2px solid #555555;
  background: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fret-marker {
  width: 12px;
  height: 12px;
  background: #8b6f47;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  opacity: 0.8;
  z-index: 5;
}

.finger {
  width: 22px;
  height: 22px;
  background: #cc9966;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  z-index: 10;
  position: relative;
}

.muted, .open {
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  position: relative;
  z-index: 10;
}

.muted {
  color: #ff0000;
}

.open {
  color: #00cc00;
}

.fret-numbers {
  display: flex;
  margin-left: 40px;
  margin-top: 3px;
}

.fret-number {
  width: 44.5px;
  text-align: center;
  font-size: 11px;
  color: #cccccc;
}
.fret-number:first-of-type {
  width: 20px;
}

.play-button {
  background: #cc9966;
  color: #000000;
  border: none;
  padding: 10px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  margin-top: 15px;
}
.play-button:hover {
  background: #dda977;
}
.play-button:active {
  transform: scale(0.98);
}

/* Button color variants */
.btn-green {
  background: #5cb85c !important;
  color: #000000 !important;
}
.btn-green:hover {
  background: #6fc46f !important;
}

.btn-blue {
  background: #4a9eff !important;
  color: #000000 !important;
}
.btn-blue:hover {
  background: #5eabff !important;
}

.btn-orange {
  background: #ff9933 !important;
  color: #000000 !important;
}
.btn-orange:hover {
  background: #ffaa55 !important;
}

.btn-purple {
  background: #9966ff !important;
  color: #ffffff !important;
}
.btn-purple:hover {
  background: #aa77ff !important;
}

.chord-info {
  text-align: center;
  color: #999999;
  margin-top: 15px;
  font-size: 0.85em;
}

.placeholder {
  text-align: center;
  color: #666666;
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .button-group {
    justify-content: center;
  }
  button {
    flex: 1 1 calc(33.33% - 10px);
    min-width: 80px;
  }
  .chord-name {
    font-size: 2em;
  }
  .fret {
    width: 44.5px;
    height: 36px;
  }
  .fret-number {
    width: 44.5px;
  }
  .fret-number:first-of-type {
    width: 20px;
  }
}
/* Tab Navigation */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid #333333;
}

.tab {
  background: #222222;
  color: #cccccc;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 5px 5px 0 0;
  transition: all 0.3s ease;
}
.tab:hover {
  background: #333333;
}
.tab.active {
  background: #cc9966;
  color: #000000;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Chord Progression Styles */
.progression-builder {
  background: #111111;
  padding: 30px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.progression-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 60px;
  background: #000000;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.progression-chord {
  background: #cc9966;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.progression-chord.dragging {
  opacity: 0.5;
}
.progression-chord .remove {
  cursor: pointer;
  font-weight: bold;
}
.progression-chord .drag-handle {
  margin-right: 5px;
  color: #666666;
}

/* Multiple progressions styles */
.progression-section {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
  /* SortableJS classes for progressions */
}
.progression-section.active {
  border-color: #cc9966;
}
.progression-section.sortable-chosen {
  cursor: grabbing !important;
}
.progression-section.sortable-drag {
  opacity: 0.5 !important;
  transform: skew(1deg) rotate(1deg) !important;
  cursor: grabbing !important;
}
.progression-section.sortable-ghost {
  opacity: 0.2 !important;
  border: 2px dashed #cc9966 !important;
  background: transparent !important;
}

.progression-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 5px;
  cursor: pointer;
}
.progression-header .drag-handle {
  color: #666666;
  font-size: 1.2em;
  cursor: grab;
}
.progression-header .drag-handle:active {
  cursor: grabbing;
}

.progression-type {
  background: #222222;
  color: #cc9966;
  border: 1px solid #444444;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 0.75em;
  font-weight: 600;
  cursor: pointer;
}

.delete-prog-btn {
  margin-left: auto;
  background: #ff6666;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
}
.delete-prog-btn:hover {
  background: #ff4444;
}

.progression-chords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
}

.progression-chord-inline {
  background: #cc9966;
  color: #000000;
  padding: 6px 12px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  /* SortableJS classes for chords */
}
.progression-chord-inline.sortable-chosen {
  cursor: grabbing !important;
}
.progression-chord-inline.sortable-drag {
  opacity: 0.5 !important;
  transform: skew(1deg) rotate(1deg) !important;
  cursor: grabbing !important;
}
.progression-chord-inline.sortable-ghost {
  opacity: 0.2 !important;
  border: 2px dashed #000000 !important;
  background: #dda977 !important;
}
.progression-chord-inline .chord-drag-handle {
  color: #000000;
  font-size: 1.1em;
  cursor: grab;
}
.progression-chord-inline .chord-drag-handle:active {
  cursor: grabbing;
}
.progression-chord-inline .remove {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
}
.progression-chord-inline.playing {
  background: #ffdd88 !important;
  box-shadow: 0 0 12px rgba(255, 221, 136, 0.8);
  transform: scale(1.05);
  z-index: 10;
  transition: all 0.15s ease;
}
.progression-chord-inline .chord-name-display {
  font-weight: 700;
  font-size: 1em;
  user-select: none;
}
.progression-chord-inline .chord-icon-action {
  cursor: pointer;
  font-size: 0.85em;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 0 2px;
}
.progression-chord-inline .chord-icon-action:hover {
  opacity: 1;
}
.progression-chord-inline .chord-icon-select {
  background: rgba(0, 0, 0, 0.3);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 0.75em;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s ease;
  max-width: 60px;
}
.progression-chord-inline .chord-icon-select:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.6);
}
.progression-chord-inline .chord-icon-select:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.7);
}
.progression-chord-inline .root-select {
  max-width: 45px;
}
.progression-chord-inline .type-select {
  max-width: 60px;
}

.empty-progression-small {
  color: #666666;
  font-size: 0.85em;
  font-style: italic;
}

.progression-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.progression-controls button {
  flex: 1;
  min-width: 120px;
  padding: 10px 25px;
  font-size: 1em;
}

.tempo-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.tempo-control input {
  flex: 1;
  max-width: 250px;
}
.tempo-control select {
  flex: 1;
  max-width: 350px;
  background: #222222;
  color: #cccccc;
  border: 2px solid #333333;
  padding: 10px;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
}
.tempo-control select:hover {
  border-color: #cc9966;
}

.empty-progression {
  color: #666666;
  text-align: center;
  padding: 20px;
}

/* Combined Layout */
.main-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.left-panel {
  flex: 1;
  min-width: 300px;
}

.right-panel {
  flex: 0 0 350px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.mobile-preview {
  display: none;
}

.chord-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.chord-actions button {
  flex: 1;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .main-container {
    flex-direction: column;
  }
  .right-panel {
    display: none;
  }
  .mobile-preview {
    display: flex;
    margin: 20px auto;
    max-width: 400px;
    order: 2;
  }
  .left-panel {
    display: flex;
    flex-direction: column;
  }
  .chord-selector {
    order: 1;
  }
  .progression-builder {
    order: 3;
  }
}
/* Custom tooltip styling */
.preset-tooltip {
  position: fixed;
  background: #222222;
  color: #cccccc;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9em;
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid #444444;
  max-width: 300px;
  display: none;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

.modal-content {
  background-color: #111111;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #444444;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  color: #cccccc;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.modal-content h2 {
  color: #cc9966;
  margin-top: 0;
}
.modal-content h3 {
  color: #cc9966;
  margin-top: 20px;
  font-size: 1.1em;
}
.modal-content p {
  line-height: 1.6;
}
.modal-content ul {
  line-height: 1.8;
}
.modal-content ol {
  line-height: 1.8;
}

/* Global ul/ol styling for proper bullet/number indentation */
ul, ol {
  margin-left: 20px;
  padding-left: 20px;
}

.close {
  color: #999999;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
}
.close:hover, .close:focus {
  color: #cc9966;
}

.about-link {
  color: #cc9966;
  text-decoration: none;
  font-size: 0.9em;
  margin-left: 10px;
  cursor: pointer;
}
.about-link:hover {
  text-decoration: underline;
}

/*# sourceMappingURL=style.css.map */
