/* 음성 플레이어 컨테이너 */
.voice-player-wrapper {
    margin: 20px 0;
    padding: 0;
}

.voice-player-container {
    padding: 20px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.voice-player-container.playing {
    box-shadow: none;
    border: none;
}

/* 헤더 */
.voice-player-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.voice-icon {
    font-size: 32px;
    margin-right: 12px;
}

.voice-meta h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.voice-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.voice-badge .duration {
    margin-left: 8px;
    opacity: 0.9;
}

/* 오디오 플레이어 */
.voice-audio {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    outline: none;
    background: white;
}

.voice-audio::-webkit-media-controls-panel {
    background-color: white;
    border-radius: 24px;
}

/* 텍스트 토글 */
.voice-text-container {
    margin-top: 15px;
}

.voice-text-toggle {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.voice-text-toggle:hover {
    background: transparent;
    border: none;
}

.voice-text-toggle.active {
    background: transparent;
    color: #555;
    border: none;
}

.toggle-icon {
    font-size: 20px;
}

.toggle-text {
    flex: 1;
    text-align: left;
}

.toggle-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.voice-text-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

/* 텍스트 내용 */
.voice-text-content {
    margin-top: 10px;
    padding: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    line-height: 1.8;
    color: #333;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .voice-player-container {
        padding: 15px;
    }
    
    .voice-icon {
        font-size: 28px;
    }
    
    .voice-meta h4 {
        font-size: 16px;
    }
    
    .voice-audio {
        height: 40px;
    }
}
