/* ================================================
   HORAIRES DE PRIÈRE - CHARTE ZAHRA TV
   ================================================ */

.prayer-times-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 92, 71, 0.1);
    overflow: hidden;
}

.prayer-times-widget .titleWithline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--zahra-vert-fonce);
}

.prayer-times-widget .titleWithline i {
    color: var(--zahra-dore-clair);
    font-size: 20px;
}

/* En-tête avec ville et dates */
.prayer-header {
    background: linear-gradient(135deg, var(--zahra-vert-moyen), var(--zahra-vert-fonce));
    color: white;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid var(--zahra-dore-clair);
    border-radius: 10px 10px 0 0;
}

.prayer-city {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff; /* Texte de la ville en blanc */
}

.prayer-city strong { color: #fff; }

.prayer-city i {
    color: var(--zahra-dore-clair);
    font-size: 14px;
}

.prayer-date {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

.prayer-hijri {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 3px;
    color: var(--zahra-dore-clair);
}

/* Grille des horaires de prière */
.prayer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
}

.prayer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prayer-item:last-child {
    border-bottom: none;
}

.prayer-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--zahra-dore-clair), var(--zahra-dore-profond));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.prayer-item:hover::before {
    transform: scaleY(1);
}

.prayer-item:hover {
    background: linear-gradient(135deg, rgba(0, 92, 71, 0.03), rgba(0, 92, 71, 0.08));
    padding-left: 25px;
}

/* Icône FontAwesome moderne */
.prayer-icon {
    font-size: 24px;
    margin-left: 10px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227, 193, 102, 0.15), rgba(227, 193, 102, 0.25));
    border: 2px solid var(--zahra-dore-clair);
    transition: all 0.3s ease;
}

.prayer-icon i {
    color: var(--zahra-dore-profond);
    font-size: 20px;
}

.prayer-item:hover .prayer-icon {
    background: linear-gradient(135deg, var(--zahra-dore-clair), var(--zahra-dore-profond));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 10px rgba(227, 193, 102, 0.4);
}

.prayer-item:hover .prayer-icon i {
    color: var(--zahra-vert-fonce);
}

/* Nom de la prière */
.prayer-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--zahra-vert-fonce);
    text-align: right;
    padding: 0 12px;
}

/* Heure de la prière */
.prayer-time {
    font-size: 18px;
    font-weight: bold;
    color: var(--zahra-dore-profond);
    font-family: 'Arial', monospace;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(227, 193, 102, 0.1), rgba(227, 193, 102, 0.2));
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--zahra-dore-clair);
    min-width: 75px;
    text-align: center;
}

/* Pied de page */
.prayer-footer {
    background: #f9f9f9;
    padding: 12px 15px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.prayer-footer small {
    color: #666;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.prayer-footer i {
    color: var(--zahra-dore-clair);
}

/* Message d'erreur */
.prayer-error {
    padding: 30px 20px;
    text-align: center;
    color: #999;
}

.prayer-error i {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 10px;
}

.prayer-error p {
    font-size: 14px;
    margin: 10px 0 0 0;
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .prayer-header {
        padding: 12px;
    }
    
    .prayer-city {
        font-size: 15px;
    }
    
    .prayer-date,
    .prayer-hijri {
        font-size: 11px;
    }
    
    .prayer-item {
        padding: 12px 15px;
    }
    
    .prayer-icon {
        width: 35px;
        height: 35px;
        margin-left: 8px;
    }
    
    .prayer-icon i {
        font-size: 16px;
    }
    
    .prayer-name {
        font-size: 14px;
        padding: 0 8px;
    }
    
    .prayer-time {
        font-size: 16px;
        padding: 5px 10px;
        min-width: 65px;
    }
}

/* Animation d'apparition */
@keyframes prayerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prayer-times-widget {
    animation: prayerFadeIn 0.5s ease;
}

/* Highlight de la prière actuelle (optionnel - à implémenter en JS) */
.prayer-item.current {
    background: linear-gradient(135deg, rgba(227, 193, 102, 0.15), rgba(227, 193, 102, 0.25));
    border-left: 4px solid var(--zahra-dore-clair);
}

.prayer-item.current .prayer-name {
    color: var(--zahra-dore-profond);
    font-weight: 700;
}

.prayer-item.current .prayer-time {
    background: linear-gradient(135deg, var(--zahra-dore-clair), var(--zahra-dore-profond));
    color: var(--zahra-vert-fonce);
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(227, 193, 102, 0.4);
}

