/* ==================================
   EQ panel – OpenWebRX visual match
   ================================== */

.eq-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    background: linear-gradient(#2a2d33, #23262b);
    border: 1px solid #3a3d43;
    border-radius: 6px;
    overflow: hidden;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ---------- HEADER ---------- */

.eq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 4px 6px;

    background: linear-gradient(#30343a, #26292f);
    border-bottom: 1px solid #3a3d43;

    box-sizing: border-box;
}

.eq-title {
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 0.2px;
}

.eq-toggle {
    background: linear-gradient(#3a3e45, #2c2f35);
    border: 1px solid #444851;
    color: #ddd;

    border-radius: 4px;
    width: 18px;
    height: 16px;

    font-size: 11px;
    line-height: 14px;
    padding: 0;

    cursor: pointer;
}

.eq-toggle:hover {
    background: linear-gradient(#444851, #333740);
    border-color: #555a64;
}

/* ---------- BODY ---------- */

.eq-body {
    padding: 6px;
    box-sizing: border-box;
}

/* Compact row layout */
.eq-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;

    gap: 6px;
    margin: 3px 0;

    width: 100%;
    box-sizing: border-box;
}

.eq-label {
    font-size: 10px;
    color: #d0d0d0;
    opacity: 0.85;
    white-space: nowrap;
}

/* Hide numeric value – keeps it clean */
.eq-value {
    display: none;
}

/* ---------- SLIDER ---------- */

.eq-row input[type="range"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    height: 4px;
    margin: 0;
    padding: 0;

    background: transparent;
}

/* Track */
.eq-row input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: #8e9196;
    border-radius: 2px;
}

.eq-row input[type="range"]::-moz-range-track {
    height: 4px;
    background: #8e9196;
    border-radius: 2px;
}

/* Thumb */
.eq-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    margin-top: -3px;

    background: #f0f0f0;
    border-radius: 50%;
    border: 1px solid #555;
}

.eq-row input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;

    background: #f0f0f0;
    border-radius: 50%;
    border: 1px solid #555;
}

/* ---------- COLLAPSED ---------- */

.eq-panel.eq-collapsed .eq-body {
    display: none;
}
