/* 오디오 플레이어 스타일 */
.audio-player-wrapper {
    padding: 12px 20px;
    width:65%;
    margin:20px auto 10px auto;
    background:#ededed;
    border-radius: 12px;
}

.audio-player-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.audio-player-header i {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.custom-audio-player {
    width: 100%;
    outline: none;
    border-radius: 12px;
    background: #ddd;
    padding: 8px;
}

.custom-audio-player::-webkit-media-controls-panel {
    background-color: #ddd;
    border-radius: 8px;
}

.custom-audio-player::-webkit-media-controls-play-button,
.custom-audio-player::-webkit-media-controls-pause-button {
    background-color: #fff;
    border-radius: 50%;
}

.custom-audio-player::-webkit-media-controls-timeline {
    background-color: #ddd;
    border-radius: 25px;
    margin-left: 10px;
    margin-right: 10px;
}

.custom-audio-player::-webkit-media-controls-current-time-display,
.custom-audio-player::-webkit-media-controls-time-remaining-display {
    color: #333;
    font-weight: 500;
}

/* 오디오 아이콘 (목록) */
.audio-icon {
    display: inline-block;
    animation: audioWave 1.5s ease-in-out infinite;
}

@keyframes audioWave {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .audio-player-wrapper {
        padding: 8px;
        width:90% !important;
    }
    
    .audio-player-header {
        font-size: 14px;
    }
    
    .custom-audio-player {
        padding: 5px;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    .custom-audio-player {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .custom-audio-player::-webkit-media-controls-panel {
        background-color: rgba(0, 0, 0, 0.3);
    }
}
