/**
 * THE CHAIR - Audio Controls Styling
 * © 2026 ScrewCap, LLC
 */

/* Mute button states */
.gc-btn#btn-mute {
    transition: all 0.2s ease;
}

.gc-btn#btn-mute.muted {
    opacity: 0.6;
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.3);
}

.gc-btn#btn-mute:hover {
    transform: scale(1.05);
}

/* Volume slider (for future use) */
.audio-volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.audio-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.audio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--cyan, #00d4ff);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.audio-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.audio-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--cyan, #00d4ff);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

/* Sound indicator pulse (shows when sound plays) */
.sound-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    z-index: 1000;
}

.sound-indicator.pulse {
    opacity: 1;
    transform: scale(1);
    animation: sound-pulse 0.3s ease-out;
}

@keyframes sound-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Audio toast notification */
.audio-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.85);
    color: var(--cyan, #00d4ff);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--font-data, monospace);
    border: 1px solid rgba(0, 212, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.audio-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
