/* Audio Controls Styles */

.audio-section {
    margin-top: 16px;
    margin-bottom: 10px;
    padding-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audio-toggle {
    width: 100%;
    background: rgba(0, 100, 200, 0.2);
    border: 2px solid rgba(0, 150, 255, 0.4);
    border-radius: 8px;
    padding: 12px;
    color: #55aaff;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.audio-toggle:hover {
    background: rgba(0, 150, 255, 0.3);
    border-color: rgba(0, 150, 255, 0.8);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 150, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #88ccff;
}

.audio-toggle:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.audio-toggle.playing {
    background: rgba(0, 200, 100, 0.2);
    border-color: rgba(0, 255, 100, 0.4);
    color: #55ff88;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.audio-toggle.playing:hover {
    background: rgba(0, 255, 100, 0.3);
    border-color: rgba(0, 255, 100, 0.8);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 100, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.audio-toggle.playing:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.audio-label {
    letter-spacing: 1px;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.volume-label {
    font-size: 11px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px var(--theme-glow);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px var(--theme-glow);
}

.volume-value {
    font-size: 11px;
    font-weight: bold;
    color: var(--theme-color);
    min-width: 35px;
    text-align: right;
}

/* Pitch Control */
.pitch-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
}

.pitch-label {
    font-size: 11px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.pitch-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.pitch-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px var(--theme-glow);
}

.pitch-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px var(--theme-glow);
}

.pitch-value {
    font-size: 9px;
    font-weight: bold;
    color: var(--theme-color);
    min-width: 70px;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .audio-toggle {
        font-size: 12px;
        padding: 10px;
    }
    
    .volume-control {
        padding: 6px 10px;
    }
    
    .pitch-control {
        padding: 6px 10px;
        margin-bottom: 20px;
    }
}

