/* Styles pour le lecteur audio Bible */

.audio-player-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid #6580B6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 8px;
    min-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.audio-player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.audio-player-icon {
    font-size: 24px;
    color: #FFD700;
}

.audio-player-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.audio-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.audio-select {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #6580B6;
    border-radius: 6px;
    background: #FFFFFF;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-select:hover {
    background: #F0F0F0;
    border-color: #7590C6;
    box-shadow: 0 2px 8px rgba(101, 128, 182, 0.3);
}

.audio-select:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #6580B6;
    box-shadow: 0 0 8px rgba(101, 128, 182, 0.5);
}

.audio-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #E0E0E0;
}

.audio-select option {
    background: #FFFFFF;
    color: #2c3e50;
    padding: 8px;
}

.audio-player-main {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #34495e;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #6580B6;
}

.audio-player-button {
    padding: 10px 14px;
    background: #6580B6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-weight: bold;
}

.audio-player-button:hover {
    background: #7590C6;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(101, 128, 182, 0.4);
}

.audio-player-button:active {
    transform: scale(0.95);
}

.audio-player-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #999;
}

.audio-player-button.playing {
    background: #4CAF50;
}

.audio-time-display {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 4px;
}

.audio-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-progress:hover .audio-progress-bar {
    background: linear-gradient(90deg, #FFE63D, #FFB84D);
}

.audio-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-volume-icon {
    font-size: 16px;
    color: #FFD700;
}

.audio-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.audio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6580B6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-volume-slider::-webkit-slider-thumb:hover {
    background: #7590C6;
    transform: scale(1.2);
}

.audio-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6580B6;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.audio-volume-slider::-moz-range-thumb:hover {
    background: #7590C6;
    transform: scale(1.2);
}

.audio-speed-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.audio-speed-button {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.audio-speed-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.audio-speed-button.active {
    background: #6580B6;
    border-color: #6580B6;
    color: white;
}

.audio-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .audio-player-container {
        padding: 12px;
    }
    
    .audio-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .audio-select {
        width: 100%;
    }
    
    .audio-volume-control {
        display: none;
    }
    
    .audio-speed-control {
        display: none;
    }
}

/* Élément audio caché (on utilise notre propre contrôle) */
audio {
    display: none;
}
