/* styles.css */

/* Top Control Box */
.top-control-box {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #333;
    background: #f5f5f5;
    width: calc(100% - 24px);
    text-align: center;
}

/* Control Box */
.control-box {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #333;
    display: inline-block;
    vertical-align: top;
    background: #f5f5f5;
    width: 220px;
}

/* EQ Box */
.eq-box {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #333;
    display: inline-block;
    vertical-align: top;
    background: #f5f5f5;
    width: 620px;
}

/* Compressor Box */
.compressor-box {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #333;
    display: inline-block;
    vertical-align: top;
    background: #f5f5f5;
    width: 220px;
}

/* General Controls */
.controls {
    font-family: Arial, sans-serif;
}

button {
    padding: 5px 10px;
    margin: 2px;
}

.bpm-btn, .freq-btn, .scope-btn {
    padding: 2px 8px;
    font-size: 12px;
}

.sync-btn.active {
    background: #4CAF50;
    color: white;
}

/* Canvas */
canvas {
    border: 1px solid #ccc;
    margin: 20px;
}

/* ARP Grid */
.arp-grid {
    display: grid;
    grid-template-columns: repeat(24, 18px);
    gap: 3px;
    margin: 20px;
}

.arp-note {
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    text-shadow: 0 0 2px black;
}

.arp-note.white { background: #ccc; }
.arp-note.black { background: #666; }
.arp-note.beat-1 { background: #4CAF50; }
.arp-note.beat-2 { background: #FFC107; }
.arp-note.beat-3 { background: #FF5722; }
.arp-note.beat-4 { background: #F44336; }
.arp-note.beat-5 { background: #E91E63; }
.arp-note.beat-6 { background: #9C27B0; }
.arp-note.beat-7 { background: #673AB7; }
.arp-note.beat-8 { background: #3F51B5; }
.arp-note.beat-9 { background: #2196F3; }
.arp-note.beat-10 { background: #03A9F4; }
.arp-note.beat-11 { background: #00BCD4; }
.arp-note.beat-12 { background: #009688; }
.arp-note.beat-13 { background: #8BC34A; }
.arp-note.beat-14 { background: #CDDC39; }
.arp-note.beat-15 { background: #FFEB3B; }
.arp-note.beat-16 { background: #FF9800; }

/* Slider Container */
.slider-container {
    margin: 5px 0;
    font-size: 14px;
}

/* Headings */
h3 {
    margin: 5px 0;
    font-size: 16px;
}

/* EQ Container */
.eq-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
}

.eq-slider {
    display: inline-block;
    text-align: center;
}

.eq-slider input[type="range"] {
    writing-mode: bt-lr;
    -webkit-appearance: slider-vertical;
    height: 100px;
    width: 20px;
}

.eq-slider label {
    font-size: 12px;
    display: block;
}

/* Scope Controls */
.scope-controls {
    margin: 20px;
    display: inline-block;
}