
/* ===== AlMuttaki — Widget Heures de Prière ===== */

.alm-widget-wrap {
  background: linear-gradient(135deg, #1a3c2e 0%, #2d6a4f 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 8px 32px rgba(45, 106, 79, 0.3);
  position: relative;
  overflow: hidden;
}

.alm-widget-wrap::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.alm-widget-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 16px;
}

.alm-icon {
  font-size: 42px;
  line-height: 1;
}

.alm-widget-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

.alm-widget-date {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-transform: capitalize;
}

.alm-countdown {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#alm-timer {
  font-weight: 700;
  font-size: 18px;
  color: #f0c040;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.alm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.alm-table thead tr th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  padding: 6px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.alm-row td {
  padding: 11px 12px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}

.alm-prayer-name {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.alm-prayer-time {
  font-weight: 700;
  font-size: 17px !important;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* Ligne Maghreb — mise en valeur */
.alm-maghrib td {
  background: rgba(240, 192, 64, 0.12);
}

.alm-maghrib .alm-prayer-name {
  color: #f0c040;
  font-weight: 700;
}

.alm-maghrib .alm-prayer-time {
  color: #f0c040;
}

/* Prochaine prière */
.alm-next td {
  background: rgba(255,255,255,0.08);
}

.alm-badge {
  display: inline-block;
  background: #f0c040;
  color: #1a3c2e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.alm-source {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: 0;
  text-align: right;
}

/* ===== Tableau Mensuel ===== */

.alm-cal-wrap {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  font-family: 'Segoe UI', Arial, sans-serif;
}

.alm-cal-header {
  background: linear-gradient(135deg, #1a3c2e 0%, #2d6a4f 100%);
  color: #fff;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
}

.alm-cal-scroll {
  overflow-x: auto;
}

.alm-cal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.alm-cal-table thead tr {
  background: #2d6a4f;
  color: #fff;
}

.alm-cal-table thead th {
  padding: 10px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.alm-cal-table thead th:first-child {
  text-align: left;
}

.alm-cal-row td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  color: #333;
  font-variant-numeric: tabular-nums;
}

.alm-cal-row td:first-child {
  text-align: left;
  font-weight: 500;
  color: #555;
}

.alm-cal-row:hover td {
  background: #f8fdf9;
}

/* Colonne Maghreb */
.alm-cal-mag {
  color: #2d6a4f !important;
  font-weight: 700 !important;
}

/* Ligne du jour — surlignée */
.alm-cal-today td {
  background: #e8f5e9 !important;
  font-weight: 700;
  color: #1a3c2e !important;
}

.alm-cal-today td:first-child::after {
  content: " ◀ aujourd'hui";
  font-size: 11px;
  color: #2d6a4f;
  font-weight: 400;
}

.alm-cal-note {
  background: #f9f9f9;
  padding: 10px 18px;
  font-size: 11px;
  color: #888;
  margin: 0;
  border-top: 1px solid #eee;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .alm-widget-wrap {
    padding: 20px 16px;
  }
  .alm-widget-title {
    font-size: 16px !important;
  }
  .alm-prayer-time {
    font-size: 15px !important;
  }
  .alm-cal-table {
    font-size: 12px;
  }
  .alm-cal-row td {
    padding: 8px 8px;
  }
}
