/* ===== STYLES LECTEUR CORAN ===== */

.reciter-selector {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reciter-selector label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.reciter-select {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reciter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 95, 79, 0.1);
}

/* Grille des sourates */
.surahs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.surah-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.surah-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.surah-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.surah-info {
    flex: 1;
}

.surah-name-latin {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.surah-name-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.1rem;
    color: var(--accent);
    direction: rtl;
    margin-bottom: 0.5rem;
}

.surah-details {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Lecteur de sourate */
.quran-surah-header {
    background: linear-gradient(135deg, #2D5F4F 0%, #4A8B73 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-back-quran {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.btn-back-quran:hover {
    background: rgba(255, 255, 255, 0.3);
}

.surah-header-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.surah-header-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    direction: rtl;
    margin-bottom: 0.5rem;
}

.surah-header-details {
    font-size: 1rem;
    opacity: 0.9;
}

/* Cartes de versets */
.verses-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.verse-card-quran {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.verse-number-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.verse-arabic-quran {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--primary);
    text-align: right;
    direction: rtl;
    line-height: 2.5;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-radius: 12px;
}

.verse-translation-quran {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.verse-actions {
    display: flex;
    justify-content: center;
}

.btn-audio-quran {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 95, 79, 0.3);
}

.btn-audio-quran:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 95, 79, 0.4);
}

.btn-audio-quran.playing {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .reciter-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .surahs-grid {
        grid-template-columns: 1fr;
    }
    
    .verse-arabic-quran {
        font-size: 1.5rem;
    }
}