/**
 * Auction Sounds CSS
 */

/* Sound control button */
.sound-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.sound-control:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 15px rgba(0,0,0,0.25);
    background-color: #f8f9fa;
}

.sound-control i {
    font-size: 20px;
    color: #007bff;
}

/* Sound test button - commented out as requested */
/*
.sound-test {
    position: fixed;
    bottom: 20px;
    left: 75px;
    z-index: 1050;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #28a745;
}

.sound-test:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 15px rgba(0,0,0,0.25);
    background-color: #f8f9fa;
}

.sound-test i {
    font-size: 20px;
    color: #28a745;
}
*/

/* Add a pulsing animation for muted state to draw attention */
.sound-control i.fa-volume-mute {
    color: #dc3545;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Dark theme overrides */
body.dark-theme .sound-control {
    background-color: #333;
    border-color: #007bff;
}

body.dark-theme .sound-control i {
    color: #007bff;
}

body.dark-theme .sound-control i.fa-volume-mute {
    color: #dc3545;
}

body.dark-theme .sound-control:hover {
    background-color: #444;
}

/* Silver theme overrides */
body.silver-theme .sound-control {
    background-color: #e8e8e8;
    border: 2px solid #4682B4;
}

body.silver-theme .sound-control i {
    color: #4682B4;
}

body.silver-theme .sound-control i.fa-volume-mute {
    color: #dc3545;
}

body.silver-theme .sound-control:hover {
    background-color: #f5f5f5;
    border-color: #4682B4;
}