/* Audio Signal Processing Lab - Retro Oscilloscope Theme */

#audioContainer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
}

.control-panel {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.control-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-row label {
    min-width: 120px;
    font-size: 12px;
    color: #b0b0b0;
}

.control-row select {
    flex: 1;
    min-width: 150px;
    padding: 5px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
}

.control-row select:hover {
    border-color: #00ff00;
}

.control-row select:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.control-row input[type="range"] {
    flex: 1;
    min-width: 200px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.control-row input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.btn {
    padding: 8px 16px;
    background-color: #2a5a2a;
    color: #00ff00;
    border: 1px solid #00ff00;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    transition: all 0.2s;
    min-width: 80px;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.btn:hover:not(:disabled) {
    background-color: #3a6a3a;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.btn:active:not(:disabled) {
    background-color: #1a4a1a;
}

.btn:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.info-display {
    background-color: #2a2a2a;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    color: #b0b0b0;
    font-family: 'Courier New', monospace;
}

.chart-container {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #444;
}

.chart-label {
    color: #00ff00;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.audio-canvas {
    width: 100%;
    height: 160px;
    display: block;
    border: 1px solid #333;
    border-radius: 3px;
    background-color: #000000;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.1);
}

