/*
 * Base Styles (Mobile First)
 */

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #232323;
  background: #333;
}

.sections-container {
  padding: 0 12px;
}

/* Section Box Styles */
.section-box {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 16px;
  margin: 20px 0;
  padding: 0;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section-box.control {
  background: #fff;
}
.section-box.drum {
  background: #c4c8c2;
}
.section-box.synth {
  background: #2c6cb2;
}
.section-box.bass {
  background: #5a636b;
}
.section-box.chord {
  background: #d5007d;
}
.section-box.control .section-header {
  background: #f3f3f3;
}
.section-box.drum .section-header {
  background: #aeb1ac;
}
.section-box.synth .section-header {
  background: #204e85;
}
.section-box.bass .section-header {
  background: #434a51;
}
.section-box.chord {
  background: #d5007d;
}
.section-box.chord .section-header {
  background: #7a004c;
}
.section-box.chord .section-header h2 {
  color: #fff;
}
.section-box > :not(.section-header) {
  padding: 20px;
}

/* Section Header Styles */
.section-header {
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: flex;
  font-size: 1.3em;
  font-weight: bold;
  padding: 12px 6px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.section-header h2 {
  flex: 1;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-box.control .section-header h2,
.section-box.bass .section-header h2,
.section-box.synth .section-header h2 {
  color: #fff;
}
.section-box.drum .section-header h2 {
  color: #232323;
}
.section-box.chord .section-header h2 {
  color: #fff;
}
.section-header.drag-handle {
  cursor: grab;
  user-select: none;
  transition: box-shadow 0.15s;
}
.section-header.drag-handle:active {
  cursor: grabbing;
}
.section-header.drag-handle:focus {
  outline: 2px solid #f5864a;
}
.section-header.drag-handle.dragging {
  box-shadow: 0 0 0 4px #f5864a55;
}
.drag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

/* Drag Handle */
.drag-handle {
  align-items: center;
  cursor: grab;
  display: inline-flex;
  justify-content: center;
  margin-right: 12px;
  outline: none;
  user-select: none;
}
.drag-handle:active {
  cursor: grabbing;
}
.drag-handle:focus {
  outline: 2px solid #888;
}

/* Utility/Label Classes */

/* DRY main slider label style for BPM, Shuffle, Steps, Master, Glide */
.slider-label-main {
  font-family: 'Segoe UI', Arial, sans-serif !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: inherit !important;
}
/* Contextual color overrides for main slider labels */
.section-box.control .slider-label-main,
.section-box.synth .slider-label-main,
.section-box.bass .slider-label-main {
  color: #fff !important;
}
.section-box.drum .slider-label-main {
  color: #232323 !important;
}
.section-box.chord .slider-label-main {
  color: #fff !important;
}
.section-box.chord .instrument-slider-label {
  color: #fff;
}

/* Drum button labels: small all-caps */
.drum-row-label {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #232323;
}
.section-box.control .drum-row-label,
.section-box.synth .drum-row-label,
.section-box.bass .drum-row-label {
  color: #fff;
}
.section-box.chord .drum-row-label {
  color: #fff;
}

/* Step Toggle Buttons (Accent/Glide) */
.step-toggle-btn {
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #bbb;
  border-radius: 6px;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  font-size: 1em;
  justify-content: center;
  margin: 2px;
  outline: none;
  transition: background 0.15s, border 0.15s;
}
.step-toggle-btn--on {
  background: #f5864a;
  border-color: #f5864a;
  color: #fff;
}
.step-toggle-btn--playing {
  background: #fff700;
  border-color: #ffe600;
  color: #bfa800;
}
.step-toggle-btn:focus {
  outline: 2px solid #f5864a;
}

/* Drum Machine Grid & Step Buttons */
#stepButtons {
  display: flex;
  flex-direction: column;
}
.drum-step-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1.5px solid #bbb;
  border-radius: 8px;
  background: #fff;
  margin: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, border 0.15s;
}
.drum-step-btn .led {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbb;
  transform: translate(-50%, -50%);
  transition: background 0.15s;
}
.drum-step-btn .led {
  background: #bbb;
  box-shadow: none;
  border: 1px solid #999;
}
.drum-step-btn--set .led,
.drum-step-btn--half .led {
  background: #ff2d2d !important;
  box-shadow: 0 0 8px 2px #ff2d2d, 0 0 2px 1px #fff3 !important;
  border: 1px solid #b30000;
}
.drum-step-btn--set {
  background: #f5864a;
}
.drum-step-btn--set .led {
  background: #e74c3c;
}
.drum-step-btn--half {
  background: #fff;
}
.drum-step-btn--half .led {
  background: #e74c3c;
}
.drum-step-btn .led {
  background: #bbb;
}
.drum-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  margin-bottom: 2px;
  width: 100%;
  box-sizing: border-box;
}
.drum-row-label {
  justify-self: start;
  min-width: 2.5em;
  text-align: right;
  margin-right: 8px;
}
.drum-row > .drum-row-label {
  grid-column: 1;
}
.drum-row > .drum-step-btn,
.drum-row > .drum-accent-btn {
  grid-column: 2;
}
.drum-row-steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
}

/* Button Styles */
button {
  font-family: inherit;
  font-size: 1em;
  padding: 0.5em 1.2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(44, 108, 178, 0.06);
  outline: none;
  margin: 0.2em 0.3em;
}
button:focus {
  box-shadow: 0 0 0 2px #f5864a55;
}
/* Play button: green background and triangle icon */
#playStop {
  background: #2ecc40 !important; /* green */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 24px 8px 18px;
  font-size: 1.1em;
  position: relative;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Decrease gap between PLAY and triangle */
}
#playStop .play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  margin-left: 2px; /* Add a little space if needed */
}
#playStop.stop {
  background: #e74c3c !important; /* red */
}

/* Record button: red circle for record, black square for stop */
#recordBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Decrease gap between icon and text */
  background: #fff;
  color: #d00;
  border: 1px solid #bbb;
  border-radius: 8px;
  padding: 8px 24px 8px 18px;
  font-size: 1.1em;
  transition: background 0.2s, color 0.2s;
}
#recordBtn .record-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d00;
  margin-right: 3px; /* Decrease space between circle and REC */
}
#recordBtn .stop-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #111;
  margin-right: 3px; /* Decrease space between square and STOP */
  border-radius: 3px;
}
#recordBtn.stop {
  color: #fff;
  border-color: #bbb;
  background: #d00; /* Red background */
  box-shadow: 0 0 12px 2px #ffeb3b, 0 0 0 0 #000; /* Yellow glow */
}
#recordBtn.stop .stop-icon {
  background: #fff; /* White square */
  border-radius: 3px;
}
#recordBtn.stop .record-text {
  color: #fff; /* White STOP text */
}
#syncBtn {
  background: #f5864a;
  color: #fff;
  min-width: 80px;
}
#fourOnFloorBtn,
#randomBtn1,
#randomBtn2 {
  background: #f5864a;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 120px;
  margin: 0.3em 0.3em;
}
#fourOnFloorBtn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  #fourOnFloorBtn {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
  }
}

#fourOnFloorBtn:active,
#randomBtn1:active,
#randomBtn2:active,
#syncBtn:active,
#playStop:active {
  filter: brightness(0.92);
}

/* Slider Styles */
.themed-slider {
  background: #fff;
  border-radius: 8px;
  outline: none;
  accent-color: #EF7D3A;
  margin-bottom: 2px;
}
input[type="range"] + div,
input[type="range"] + label,
.section-box .slider-label {
  color: #fff;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Drum Volume Group */
.drum-volume-group {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.drum-volume-label {
  margin-right: 8px;
  font-size: 0.9em;
  min-width: 2em;
  text-align: right;
}
#volumeSliders {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
#volumeSliders .themed-slider {
  width: 100%;
  min-width: 0;
  height: 32px;
  writing-mode: horizontal-tb;
  direction: ltr;
}
#volumeSliders .drum-volume-label {
  margin-bottom: 0;
  margin-right: 8px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Synth/Bass Step Selectors and Toggles */
.synth-step-selects-label {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #fff;
  letter-spacing: 0.04em;
}
.synth-step-selects-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px auto;
}
.synth-step-select {
  width: 100%;
  min-width: 0;
  font-size: 0.95em;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid #bbb;
  background: #fff;
  color: #232323;
}
.synth-step-selects-wrapper {
  width: 100%;
}
.synth-step-toggle-label {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #fff;
  letter-spacing: 0.04em;
}
.synth-step-toggle-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px auto;
}
.synth-step-toggle-wrapper {
  width: 100%;
}
.synth-step-selects-grid,
.synth-step-toggle-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

/* Generic Circular Control Style */
.circular-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #888;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Step Page Buttons (Drum 1-16, 17-32) */
.step-page-btn {
  background: #e0e0e0;
  color: #232323;
  border: 1.5px solid #bbb;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  padding: 0.4em 1.2em;
  margin: 0 0.2em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
}
.step-page-btn.active {
  background: #f5864a;
  color: #fff;
  border-color: #f5864a;
  box-shadow: 0 2px 8px rgba(245, 134, 74, 0.15);
}
.step-page-btn:focus {
  outline: 2px solid #f5864a;
  z-index: 1;
}
.step-page-btn:hover:not(.active) {
  background: #f3c7a1;
  color: #232323;
}

/* DRY group for main sliders (BPM, Shuffle, Steps, Master, Glide) */
.main-slider-group {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 18px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-slider-group .slider-label-main {
  display: block;
  text-align: center;
  margin: 0 0 6px 0;
}

.main-slider-group .themed-slider {
  width: 100%;
  min-width: 0;
  height: 32px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .main-slider-group {
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
  .main-slider-group .slider-label-main {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Media Queries (at end) */
@media (min-width: 768px) {
  #volumeSliders {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 35px;
    width: 100%;
    max-width: none;
    flex-wrap: nowrap;
    display: flex;
  }
  #volumeSliders .themed-slider {
    width: 22px;
    height: 160px;
    writing-mode: vertical-lr;
    direction: rtl;
  }
  /* Arrange only the .drum-volume-group children in a row, not the main-slider-group or button */
  #volumeSliders {
    display: flex;
  }
  #volumeSliders .drum-volume-group {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    display: flex;
  }
  /* New: group the fourOnFloorBtn and steps slider in a row below the volume sliders */
  .drum-controls-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
    width: 100%;
  }
  .drum-controls-row .main-slider-group {
    margin: 0;
    max-width: 340px;
    flex: 1 1 0;
  }
  .drum-controls-row #fourOnFloorBtn {
    min-width: 120px;
    margin: 0;
  }
  .drum-volume-group {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }
  #volumeSliders .themed-slider {
    width: 22px;
    height: 90px;
    writing-mode: vertical-lr;
    direction: rtl;
  }
  #volumeSliders .drum-volume-label {
    margin-right: 0;
    margin-top: 8px;
    text-align: center;
  }
  .drum-step-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 2px;
  }
  .drum-step-btn .led {
    top: 5px;
    left: auto;
    right: 5px;
    width: 9px;
    height: 9px;
    transform: none;
  }
  .drum-row {
    gap: 2px;
    padding: 0 24px;
    margin-bottom: 0;
  }
  .drum-row-label {
    min-width: 3em;
    margin-right: 16px;
  }
  .drum-row-steps {
    gap: 8px;
  }
  
  .synth-step-selects-wrapper,
  .synth-step-toggle-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 12px;
  }
  .synth-step-selects-label,
  .synth-step-toggle-label {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    margin-right: 16px;
    min-width: 3em;
    text-align: right;
    display: block;
    align-self: center;
    font-size: 0.9em;
  }
  .synth-step-selects-grid,
  .synth-step-toggle-grid {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
    align-items: center;
    width: auto;
    margin: 0;
  }
  .synth-step-select,
  .step-toggle-btn {
    height: 36px;
  }
  .section-box.drum .slider-label-main {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .control-section-controls {
    display: flex;
    flex-direction: row;
    align-items: center; /* Center vertically for better alignment */
    justify-content: center;
    gap: 32px;
  }
  .control-buttons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
  }
  .control-slider-row {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center; /* Center sliders with buttons */
    margin: 0;
    padding: 0;
    margin-top: 10px;
  }
  /* Optionally, if further adjustment is needed, add a small top margin: */
  /* .control-slider-row { margin-top: 6px; } */
  .control-slider-group {
    min-width: 40px;
    max-width: 220px;
    flex: 1 1 0;
  }
  /* --- SYNTH FLEX ROWS --- */
  .synth-instrument-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    width: 85%;
    max-width: none;
    flex-wrap: nowrap;
    justify-content: center;
  
  }
  .synth-instrument-row .instrument-slider-group {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    display: flex;
    max-width: 60px;
  }
  .synth-instrument-row .instrument-slider-label {
    margin-right: 0;
    margin-bottom: 8px;
    text-align: center;
    min-width: 0;
    flex: none;
  }
  .synth-instrument-row .themed-slider {
    width: 22px;
    height: 90px;
    writing-mode: vertical-lr;
    direction: rtl;
  }
  .synth-controls-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
    width: 100%;
  }
  .synth-controls-row .main-slider-group {
    margin: 0;
    max-width: 340px;
    flex: 1 1 0;
  }
  .synth-controls-row [id^="randomBtn"] {
    min-width: 120px;
    margin: 0;
    text-align: center;
  }
}

@media (min-width: 992px) {
  .drum-step-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin: 2px;
  }
  .drum-step-btn .led {
    width: 10px;
    height: 10px;
    top: 6px;
    right: 6px;
  }
  .drum-row {
    gap: 2px;
    padding: 0 40px;
    margin-bottom: 0;
  }
  .drum-row-label {
    min-width: 3.5em;
    margin-right: 24px;
  }
  .drum-row-steps {
    gap: 12px;
  }
  .control-section-controls {
    gap: 48px;
  }
  
  .synth-step-selects-wrapper,
  .synth-step-toggle-wrapper {
    gap: 24px;
  }
  .synth-step-selects-label,
  .synth-step-toggle-label {
    margin-right: 24px;
    min-width: 4em;
    font-size: 1em;
  }
  .synth-step-selects-grid,
  .synth-step-toggle-grid {
    gap: 12px;
  }
  .synth-step-select,
  .step-toggle-btn {
    height: 40px;
  }
} 

.instrument-slider-group {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.instrument-slider-label {
  margin-right: 8px;
  font-size: 0.9em;
  min-width: 2em;
  text-align: right;
  flex: 0 0 60px;
}
.instrument-slider-group .themed-slider {
  width: 100%;
  min-width: 0;
  height: 32px;
  margin-bottom: 0;
  max-width: 100%;
}
@media (min-width: 768px) {
  .instrument-slider-group {
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    max-width: 60px;
  }
  .instrument-slider-label {
    margin-right: 0;
    margin-bottom: 8px;
    text-align: center;
    min-width: 0;
    flex: none;
  }
  .instrument-slider-group .themed-slider {
    width: 22px;
    height: 90px;
    writing-mode: vertical-lr;
    direction: rtl;
  }
} 

.centered-buttons {
  text-align: center;
  margin: 16px 0;
} 

.drum-step-btn--active {
  border: 2.5px solid #f5864a;
  box-shadow: 0 0 0 4px #f5864a33;
  background: #fffbe6;
  z-index: 2;
}
.drum-accent-btn--active {
  border: 2.5px solid #f5864a;
  box-shadow: 0 0 0 4px #f5864a33;
  background: #fffbe6;
  z-index: 2;
} 

.drum-accent-btn--set {
  background: #f5864a;
  border-color: #f5864a;
  color: #fff;
}
.drum-accent-btn--set .led {
  background: #e74c3c;
  box-shadow: 0 0 8px 2px #ff2d2d, 0 0 2px 1px #fff3;
  border: 1px solid #b30000;
} 

.section-box.synth .instrument-slider-label,
.section-box.bass .instrument-slider-label,
.section-box.chord .instrument-slider-label {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
} 

.section-box.chord .instrument-slider-label {
  color: #fff;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .synth-instrument-row {
    margin-left: auto;
    margin-right: auto;
    /* Optionally, set a max-width for better centering */
    max-width: 1100px;
  }
}
@media (min-width: 992px) {
  .synth-instrument-row {
    gap: 25px;
  }
  .synth-instrument-row .themed-slider {
    width: 22px;
  }
} 

@media (min-width: 768px) {
  .synth-step-toggle-grid {
    width: 100%;
    max-width: 100%;
  }
  .step-toggle-btn {
    min-width: 0;
    width: 100%;
    font-size: 0.95em;
    padding: 2px 4px;
    margin: 1px;
  }
} 

@media (min-width: 768px) {
  .synth-step-selects-wrapper,
  .synth-step-toggle-wrapper {
    grid-template-columns: 80px 1fr;
  }
} 

/* Highlight every 4th step (1, 5, 9, ...) with a subtle blue background */
.drum-step-btn--mult4plus1 {
  background: #eaf4fb;
}
.drum-accent-btn--mult4plus1 {
  background: #eaf4fb;
}
.step-toggle-btn--mult4plus1 {
  background: rgb(180, 178, 205);
}
/* Ensure set/on/active states override the blue background for drum step buttons */
.drum-step-btn--mult4plus1.drum-step-btn--set {
  background: #f5864a;
}
.drum-step-btn--mult4plus1.drum-step-btn--half {
  background: #fff;
}
.drum-step-btn--mult4plus1.drum-step-btn--active {
  background: #fffbe6;
}
/* Ensure set/on/active states override the blue background for accent and toggle buttons */
.drum-accent-btn--mult4plus1.drum-accent-btn--set,
.drum-accent-btn--mult4plus1.drum-accent-btn--active {
  background: #f5864a;
}
.step-toggle-btn--mult4plus1.step-toggle-btn--on,
.step-toggle-btn--mult4plus1.step-toggle-btn--playing {
  background: #f5864a;
} 

.section-box.control .section-header h2 {
  color: #232323 !important;
}
.section-box.control .slider-label-main,
.section-box.control .slider-label {
  color: #232323 !important;
} 

.chord-step-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  margin-bottom: 2px;
}
.chord-step-checkbox {
  width: 16px;
  height: 16px;
  margin: 0 1px;
} 

.slider-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.18);
  border: none;
  margin: 8px 0;
} 

@media (min-width: 768px) {
  .slider-divider {
    width: 1px;
    height: 92px;
    min-height: 52px;
    min-width: 1px;
    max-height: 100%;
    background: rgba(255,255,255,0.5);
    margin: 0 8px;
    display: inline-block;
    vertical-align: middle;
  }
} 

/* ABOUT section two-column layout for tablet and up */
@media (min-width: 768px) {
  .about-columns {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .about-col-1 {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .about-col-2 {
    flex: 0 0 70%;
    max-width: 70%;
  }
  .about-content {
    margin: 0 105px;
  }
} 



.about-content a {
  color: #f5864a;
  text-decoration: none;
  transition: color 0.15s, text-decoration 0.15s;
}
.about-content a:hover, .about-content a:focus {
  color: #d96a28;
  text-decoration: underline;
}

.about-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 250px;
  height: 100%;
  margin: 0 auto;
}
.about-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 50%;
  padding: 4px;
}
.about-icon-link:hover, .about-icon-link:focus {
  background: #d96a28;
  transform: scale(1.08);
  box-shadow: 0 4px 16px #d96a2833;
  outline: none;
} 

.bi-bg-orange {
  background: #f5864a;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 2px 8px #f5864a33;
}
.about-bi-icon {
  color: #fff !important;
  font-size: 2rem;
  line-height: 1;
  display: block;
} 
