/* ================================================================
   accueil-dynamique.css — Version corrigée
   Widgets islamiques de l'accueil
   ================================================================ */

/* ── FIX ESPACE BLANC ─────────────────────────────────────────── */
.main-content { padding-top: 0 !important; margin-top: 0 !important; }
#page-accueil  { padding-top: 0 !important; margin-top: 0 !important; }

/* ── HORLOGE ─────────────────────────────────────────────────── */
#live-clock-widget {
  background: linear-gradient(135deg, #0f0f1e 0%, #1C1C2E 45%, #1a3a2a 100%);
  border-radius: 20px;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 8px 32px rgba(28, 28, 46, 0.5);
  border: 1px solid rgba(201, 166, 97, 0.2);
  position: relative;
  overflow: hidden;
}

#live-clock-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 166, 97, 0.08), transparent 60%);
  pointer-events: none;
}

.lcw-time {
  font-family: 'Outfit', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
}

.lcw-colon {
  color: #C9A661;
  animation: blinkC 1s step-end infinite;
}

@keyframes blinkC {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

.lcw-sec {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.lcw-date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  position: relative;
}

.lcw-hijri {
  font-family: 'Amiri', serif;
  font-size: 0.95rem;
  color: #C9A661;
  font-weight: 700;
  position: relative;
}

.lcw-jumua {
  margin-top: 0.35rem;
  padding: 0.3rem 1.1rem;
  background: linear-gradient(135deg, #C9A661, #f0c060);
  color: #1C1C2E;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.78rem;
  animation: jumuaPulse 2s ease-in-out infinite;
  position: relative;
}

@keyframes jumuaPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

/* ── MOMENT SPIRITUEL ─────────────────────────────────────────── */
.spiritual-moment-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.smw-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--smw-c, #2D5F4F);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.smw-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.smw-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.smw-icon {
  font-size: 2rem;
  animation: smwFloat 3s ease-in-out infinite;
}

@keyframes smwFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.smw-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: var(--smw-c, #2D5F4F);
  direction: rtl;
}

.smw-name {
  font-weight: 700;
  font-size: 0.78rem;
  color: #6B7280;
}

.smw-msg {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
  flex: 1;
}

[data-theme="dark"] .smw-wrap {
  background: var(--surface, #1e1e2e);
  border-color: rgba(201, 166, 97, 0.2);
}

[data-theme="dark"] .smw-msg {
  color: #D1D5DB;
}

/* ── GRILLE NOM ALLAH + REBOURS ───────────────────────────────── */
.accueil-widgets-grid {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.accueil-widgets-grid .nom-allah-section,
.accueil-widgets-grid .compte-rebours-section {
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .accueil-widgets-grid {
    grid-template-columns: 1fr;
  }
}

/* ── NOM D'ALLAH ──────────────────────────────────────────────── */
.nom-allah-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.naw-inner {
  background: linear-gradient(135deg, #0f0f1e 0%, #2D1B69 50%, #1a3a2a 100%);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 28, 46, 0.35);
  height: 100%;
  box-sizing: border-box;
}

.naw-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(201, 166, 97, 0.12), transparent 60%);
  pointer-events: none;
}

.naw-label {
  color: #C9A661;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  position: relative;
}

.naw-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 700;
  direction: rtl;
  animation: nawShine 3s ease-in-out infinite;
  position: relative;
}

@keyframes nawShine {
  0%, 100% { text-shadow: 0 0 20px rgba(201, 166, 97, 0.3); }
  50%       { text-shadow: 0 0 50px rgba(201, 166, 97, 0.8), 0 0 100px rgba(201, 166, 97, 0.3); }
}

.naw-fr  { font-size: 1.2rem; font-weight: 800; color: #C9A661; margin: 0.4rem 0 0.2rem; position: relative; }
.naw-sig { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); font-style: italic; margin-bottom: 0.5rem; position: relative; }
.naw-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 0.5rem;
  position: relative;
}

.naw-verbe {
  font-size: 0.8rem;
  color: #C9A661;
  background: rgba(201, 166, 97, 0.1);
  border: 1px solid rgba(201, 166, 97, 0.2);
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
  display: inline-block;
  position: relative;
  margin-top: 0.25rem;
}

/* ── COMPTE À REBOURS ─────────────────────────────────────────── */
.compte-rebours-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.car-inner {
  background: linear-gradient(135deg, rgba(45, 95, 79, 0.06), rgba(16, 185, 129, 0.08));
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  height: 100%;
  box-sizing: border-box;
}

.car-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.car-icon {
  font-size: 2rem;
  animation: carRock 2s ease-in-out infinite;
}

@keyframes carRock {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}

.car-arabic { font-family: 'Amiri', serif; font-size: 1.1rem; color: #2D5F4F; direction: rtl; }
.car-name   { font-size: 0.95rem; font-weight: 700; color: #1F2937; }

.car-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.car-unit { text-align: center; min-width: 54px; }

.car-val {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #2D5F4F;
  font-family: 'Outfit', monospace;
  line-height: 1;
  background: white;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 4px 12px rgba(45, 95, 79, 0.15);
  display: block;
}

.car-lbl {
  font-size: 0.62rem;
  color: #9CA3AF;
  font-weight: 600;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.car-sep {
  font-size: 1.3rem;
  font-weight: 800;
  color: #C9A661;
  margin-bottom: 1rem;
  align-self: flex-end;
}

.car-sec .car-val { color: #C9A661; }
.car-date-fr { text-align: center; font-size: 0.78rem; color: #6B7280; margin-top: 0.4rem; }
.car-now { text-align: center; font-size: 1.2rem; font-weight: 700; color: #2D5F4F; padding: 1.5rem; }

[data-theme="dark"] .car-inner { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .car-val  { background: rgba(255, 255, 255, 0.08); color: #4ADE80; }
[data-theme="dark"] .car-name { color: var(--text-primary, #fff); }

/* ── AYAT AL-KURSI ────────────────────────────────────────────── */
.ayat-kursi-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.akw-inner {
  background: linear-gradient(135deg, #0f0f1e, #1a3a2a, #2D1B69);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(15, 15, 30, 0.4);
  border: 1px solid rgba(201, 166, 97, 0.25);
}

.akw-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 166, 97, 0.05), transparent 70%);
  pointer-events: none;
}

.akw-ornament-top {
  color: #C9A661;
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  opacity: 0.8;
}

.akw-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: #fff;
  direction: rtl;
  text-align: right;
  line-height: 2.2;
  margin-bottom: 1rem;
  position: relative;
  animation: akwGlow 4s ease-in-out infinite;
}

@keyframes akwGlow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 30px rgba(201, 166, 97, 0.4); }
}

.akw-translation {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
}

.akw-ref {
  font-size: 0.75rem;
  color: #C9A661;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.akw-vertu {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(201, 166, 97, 0.12);
  border: 1px solid rgba(201, 166, 97, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: #C9A661;
  margin-bottom: 1rem;
  position: relative;
}

.akw-btn {
  padding: 0.65rem 1.75rem;
  background: rgba(201, 166, 97, 0.15);
  border: 1.5px solid rgba(201, 166, 97, 0.35);
  border-radius: 50px;
  color: #C9A661;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  position: relative;
}

.akw-btn:hover {
  background: rgba(201, 166, 97, 0.25);
  transform: translateY(-2px);
}

/* ── HADITH ───────────────────────────────────────────────────── */
.hadith-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.hdj-inner {
  background: linear-gradient(135deg, rgba(45, 95, 79, 0.04), rgba(201, 166, 97, 0.06));
  border: 2px solid rgba(201, 166, 97, 0.25);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.hdj-inner::before {
  content: '📜';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 5rem;
  opacity: 0.04;
  pointer-events: none;
}

.hdj-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hdj-badge {
  background: linear-gradient(135deg, #2D5F4F, #4A8B73);
  color: white;
  padding: 0.32rem 0.95rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
}

.hdj-theme {
  background: rgba(201, 166, 97, 0.12);
  color: #92400E;
  border: 1.5px solid rgba(201, 166, 97, 0.25);
  padding: 0.25rem 0.82rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.76rem;
}

.hdj-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #1C1C2E;
  direction: rtl;
  text-align: right;
  line-height: 2.1;
  margin-bottom: 0.75rem;
}

.hdj-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  color: #C9A661;
  font-size: 1.1rem;
}

.hdj-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 166, 97, 0.4), transparent);
}

.hdj-fr {
  font-size: 0.93rem;
  color: #374151;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hdj-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.hdj-narrator { color: #2D5F4F; font-weight: 700; }
.hdj-source   { color: #9CA3AF; }

[data-theme="dark"] .hdj-inner  { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .hdj-arabic { color: var(--text-primary, #fff); }
[data-theme="dark"] .hdj-fr     { color: #D1D5DB; }

/* ── SEERAH ───────────────────────────────────────────────────── */
.seerah-widget-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.sw-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border-radius: 24px;
  padding: 1.5rem 2rem;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--sw-c, #C9A661);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.sw-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.sw-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 166, 97, 0.08), transparent 70%);
  pointer-events: none;
}

.sw-left {
  flex-shrink: 0;
  text-align: center;
}

.sw-icon {
  font-size: 2.5rem;
  animation: swFloat 3s ease-in-out infinite;
}

@keyframes swFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-6px) rotate(3deg); }
}

.sw-date {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--sw-c, #C9A661);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  background: rgba(201, 166, 97, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.sw-body { flex: 1; }
.sw-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  color: var(--sw-c, #C9A661);
  direction: rtl;
  margin-bottom: 0.25rem;
}

.sw-titre { font-size: 1.05rem; font-weight: 800; color: #1F2937; margin-bottom: 0.4rem; }
.sw-desc  { font-size: 0.85rem; color: #6B7280; line-height: 1.6; }

.sw-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sw-c, #C9A661);
  background: rgba(201, 166, 97, 0.08);
  border: 1px solid rgba(201, 166, 97, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

[data-theme="dark"] .sw-inner  { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .sw-titre  { color: var(--text-primary, #fff); }

/* ── OBJECTIF SPIRITUEL ───────────────────────────────────────── */
.objectif-widget-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.ow-inner {
  background: white;
  border-radius: 24px;
  padding: 1.75rem 2rem;
  border: 2px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--ow-c, #2D5F4F);
}

.ow-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ow-icon   { font-size: 2.2rem; flex-shrink: 0; }
.ow-texts  { flex: 1; }
.ow-titre  { font-size: 1.05rem; font-weight: 800; color: #1F2937; margin-bottom: 0.3rem; }
.ow-desc   { font-size: 0.83rem; color: #6B7280; line-height: 1.5; }

.ow-progress-circle { flex-shrink: 0; width: 52px; height: 52px; position: relative; }
.ow-svg { width: 52px; height: 52px; transform: rotate(-90deg); }

.ow-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ow-c, #2D5F4F);
}

.ow-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
}

.ow-action {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(0, 0, 0, 0.02);
}

.ow-action:hover    { border-color: var(--ow-c, #2D5F4F); background: rgba(45, 95, 79, 0.04); }
.ow-done { border-color: var(--ow-c, #2D5F4F) !important; background: rgba(45, 95, 79, 0.07) !important; }

.ow-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
  transition: all 0.25s;
}

.ow-done .ow-check { background: var(--ow-c, #2D5F4F); border-color: var(--ow-c, #2D5F4F); }

.ow-action-txt { font-size: 0.8rem; font-weight: 600; color: #374151; }
.ow-done .ow-action-txt { color: var(--ow-c, #2D5F4F); text-decoration: line-through; opacity: 0.7; }

[data-theme="dark"] .ow-inner      { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .ow-titre      { color: var(--text-primary, #fff); }
[data-theme="dark"] .ow-action     { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .ow-action-txt { color: #D1D5DB; }

/* ── TASBIH ───────────────────────────────────────────────────── */
.tasbih-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.trw-inner {
  background: white;
  border: 2px solid rgba(45, 95, 79, 0.15);
  border-radius: 24px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.trw-done {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), rgba(45, 95, 79, 0.04));
}

.trw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trw-label { font-weight: 700; color: #2D5F4F; font-size: 0.92rem; }

.trw-tabs {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.trw-tab {
  padding: 0.25rem 0.78rem;
  border-radius: 50px;
  border: 1.5px solid rgba(45, 95, 79, 0.2);
  background: transparent;
  color: #6B7280;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Outfit', sans-serif;
}

.trw-tab.active {
  background: #2D5F4F;
  color: white;
  border-color: #2D5F4F;
}

.trw-body { text-align: center; }

.trw-arabic {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: #1C1C2E;
  direction: rtl;
  margin-bottom: 0.65rem;
  animation: arabicPulse 2.5s ease-in-out infinite;
}

@keyframes arabicPulse {
  0%, 100% { color: #1C1C2E; }
  50%       { color: #2D5F4F; }
}

.trw-counter-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}

.trw-count {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #2D5F4F;
  font-family: 'Outfit', monospace;
  line-height: 1;
  transition: all 0.12s;
}

.trw-slash { font-size: 1.1rem; color: #9CA3AF; font-weight: 600; }

.trw-progress-bar {
  height: 5px;
  background: rgba(45, 95, 79, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  max-width: 280px;
}

.trw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2D5F4F, #4A8B73);
  border-radius: 100px;
  transition: width 0.25s ease;
}

.trw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #2D5F4F, #4A8B73);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(45, 95, 79, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.trw-btn:active {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(45, 95, 79, 0.3);
}

.trw-btn-done {
  background: linear-gradient(135deg, #10B981, #059669);
  cursor: default;
}

.trw-reset {
  display: block;
  margin: 0.65rem auto 0;
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: color 0.2s;
  padding: 0.25rem;
}

.trw-reset:hover { color: #6B7280; }

.trw-success {
  margin-top: 0.65rem;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(45, 95, 79, 0.1));
  border-radius: 12px;
  font-family: 'Amiri', serif;
  font-size: 1rem;
  color: #065F46;
  text-align: center;
  animation: successPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: none; }
}

[data-theme="dark"] .trw-inner  { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .trw-arabic { color: var(--text-primary, #fff); }

/* ── RAPPEL ───────────────────────────────────────────────────── */
.rappel-widget-section {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.rw-inner {
  background: linear-gradient(135deg, rgba(201, 166, 97, 0.06), rgba(45, 95, 79, 0.04));
  border: 2px solid rgba(201, 166, 97, 0.2);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rw-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 166, 97, 0.08), transparent 60%);
  pointer-events: none;
}

.rw-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #C9A661;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  position: relative;
}

.rw-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: #1C1C2E;
  direction: rtl;
  line-height: 2;
  margin-bottom: 0.75rem;
  position: relative;
}

.rw-fr {
  font-size: 1rem;
  color: #374151;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
  font-weight: 500;
}

.rw-ref { font-size: 0.78rem; color: #9CA3AF; font-weight: 700; position: relative; }

[data-theme="dark"] .rw-inner  { background: var(--surface, #1e1e2e); }
[data-theme="dark"] .rw-arabic { color: var(--text-primary, #fff); }
[data-theme="dark"] .rw-fr     { color: #D1D5DB; }

/* ── SECTION LABEL ────────────────────────────────────────────── */
.section-label-islamic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1400px;
  margin: 2rem auto 1rem;
  padding: 0 2rem;
}

.sli-star { color: #C9A661; font-size: 0.9rem; }
.sli-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: #374151;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.sli-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 166, 97, 0.4), transparent);
}

[data-theme="dark"] .sli-text { color: var(--text-primary, #fff); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lcw-time { font-size: 2.2rem; }
  .naw-arabic { font-size: 2rem; }
  .car-val { font-size: 1.4rem; min-width: 44px; }
  .akw-arabic { font-size: 1.15rem; }
  .hdj-arabic { font-size: 1.15rem; }
  .rw-arabic  { font-size: 1.3rem; }
  .sw-inner   { flex-direction: column; text-align: center; }
  .sw-badge   { position: static; display: inline-block; margin-top: 0.5rem; }
  .smw-wrap   { flex-direction: column; text-align: center; }
  .smw-left   { justify-content: center; }
  .ow-actions { grid-template-columns: 1fr; }

  .spiritual-moment-section,
  .hadith-section,
  .nom-allah-section,
  .compte-rebours-section,
  .tasbih-section,
  .ayat-kursi-section,
  .seerah-widget-section,
  .objectif-widget-section,
  .rappel-widget-section,
  .accueil-widgets-grid {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .rw-inner   { padding: 1.5rem 1.25rem; }
  .akw-inner  { padding: 1.5rem 1.25rem; }
  .hdj-inner  { padding: 1.25rem 1.25rem; }
  .ow-inner   { padding: 1.25rem 1.25rem; }
  .naw-inner  { padding: 1.25rem 1.25rem; }
}