/* Custom CSS for audio player styling */
audio {
    border-radius: 8px;
    background-color: #f3f4f6;
    padding: 8px;
}

audio::-webkit-media-controls-panel {
    background-color: #f3f4f6;
}

/* Custom animation for sound waves */
@keyframes wave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.5);
    }
}

.sound-wave {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.sound-wave span {
    display: block;
    width: 4px;
    height: 20px;
    background: #3b82f6;
    margin: 0 2px;
    animation: wave 1s infinite ease-in-out;
}

.sound-wave span:nth-child(2) {
    animation-delay: 0.1s;
}
.sound-wave span:nth-child(3) {
    animation-delay: 0.2s;
}
.sound-wave span:nth-child(4) {
    animation-delay: 0.3s;
}
.sound-wave span:nth-child(5) {
    animation-delay: 0.4s;
}