/*
- 파일명: tts.css
- 위치: /wp-content/plugins/wp-auto-posting/assets/css/
- 기능: 텍스트-음성 변환 플레이어 스타일
- 작성일: 2025-03-08
*/

/* TTS 섹션 스타일 */
.text-to-speech-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
}

.text-to-speech-section h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #212529;
}

/* TTS 플레이어 스타일 */
.text-to-speech-player {
    max-width: 100%;
}

.tts-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.tts-controls button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.tts-speed-control {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.tts-speed-control label {
    margin-right: 8px;
    margin-bottom: 0;
    font-size: 14px;
}

.tts-speed-control select {
    width: 80px;
}

/* 진행 표시줄 스타일 */
.tts-progress {
    margin-top: 15px;
}

.tts-progress .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.tts-progress .progress-bar {
    background-color: #0d6efd;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 반응형 조정 */
@media (max-width: 576px) {
    .tts-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tts-speed-control {
        margin-left: 0;
        margin-top: 10px;
    }
}