/* Radiux Multiband Rack UI - Panel Mode */

.multiband-rack {
    background: rgba(10, 12, 20, 0.95) !important;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 20px 40px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 200px;
    visibility: visible !important;
    opacity: 1 !important;
}

.rack-bands {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 10px;
    flex: 1;
    width: 100%;
    min-height: 0; /* Importante para flex containers */
}

.band-control {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 8px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.03);
    flex: 1;
    min-width: 0;
}

.band-label {
    font-size: clamp(0.4rem, 1.2vw, 0.65rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* LED Meters Responsivos */
.gr-meter-container {
    width: 8px;
    flex: 1;
    background: #000;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    margin: 5px 0;
}

.gr-meter-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #00ff88 0%, #ffd700 60%, #ff4444 100%);
    transition: height 0.08s ease-out;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.rack-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.btn-rack-bypass {
    padding: 5px 15px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-rack-bypass.active {
    background: #ff4444;
    color: white;
    border-color: #ff6666;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.rack-status-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

.rack-status-led.active {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

/* Responsive Panel */
#multibandPanel {
    resize: both;
    overflow: hidden;
    max-width: 600px;
    max-height: 400px;
}
