/**
 * AEYE Audio Controls Styling
 * Matches the cyan/blue portal theme
 */

/* Bot Status Floating Indicator - HIDDEN */
.bot-status-floating {
    display: none !important;
}

/* Bot status styles removed - element is hidden */

/* Floating Audio Button */
.audio-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 128, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.9);
}

.audio-floating-btn:active {
    transform: scale(0.95);
}

/* Audio Controls Panel */
.audio-controls-floating {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    background: linear-gradient(135deg, rgba(0, 16, 41, 0.95), rgba(0, 6, 26, 0.95));
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), 0 10px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease;
}

.audio-controls-floating.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.audio-controls-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.05);
    border-radius: 13px 13px 0 0;
}

.audio-icon {
    font-size: 24px;
    margin-right: 10px;
}

.audio-title {
    color: #00ffff;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.audio-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: all 0.2s ease;
}

.audio-close:hover {
    color: #00ffff;
    transform: rotate(90deg);
}

/* Body */
.audio-controls-body {
    padding: 20px;
}

/* Control Groups */
.audio-control-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.audio-control-group:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.audio-control-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* Toggle Button */
.audio-toggle-btn {
    background: rgba(255, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 0, 0.5);
    border-radius: 20px;
    padding: 5px 15px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.audio-toggle-btn.active {
    background: rgba(0, 255, 0, 0.3);
    border-color: rgba(0, 255, 0, 0.5);
}

.audio-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.toggle-on {
    color: #00ff00;
}

.toggle-off {
    color: #ff4444;
}

/* Sliders */
.audio-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    min-width: 60px;
}

.audio-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.audio-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.audio-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.audio-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border: none;
    transition: all 0.2s ease;
}

.audio-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.slider-value {
    color: #00ffff;
    font-size: 14px;
    font-weight: 600;
    min-width: 45px;
    text-align: right;
}

/* Action Buttons */
.audio-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.audio-action-btn {
    flex: 1;
    padding: 10px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-action-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.audio-action-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .audio-controls-floating {
        width: 90%;
        right: 5%;
        left: 5%;
    }

    .audio-floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }

    .audio-actions {
        flex-direction: column;
    }
}
