.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.audio-control:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.audio-control.disabled {
    background-color: var(--dark-gray);
    opacity: 0.7;
}

.audio-control .material-icons {
    font-size: 20px;
}

/* Animation for when sound is playing */
@keyframes pulse-sound {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.audio-control.playing {
    animation: pulse-sound 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .audio-control {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .audio-control .material-icons {
        font-size: 18px;
    }
}