/* Misbaha - Duas (Ad'iyah) - matches the original Misbaha palette */
.misbaha-duas{
  direction:rtl;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial, "Cairo", "Tajawal", sans-serif;
  --bg:#fbf7ee;
  --card:#ffffff;
  --text:#202020;
  --muted:#6a6a6a;
  --accent:#d3b26d;
  --accent2:#b8923b;
  --border:rgba(0,0,0,.08);
  --shadow:0 16px 40px rgba(0,0,0,.08);
  color:var(--text);
}

.misbaha-duas__card{
  max-width: 960px;
  margin: 24px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
}

.misbaha-duas__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 14px;
}

.misbaha-duas__title{
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.misbaha-duas__sub{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.misbaha-duas__badge{
  display:flex;
  align-items:center;
  gap:8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.misbaha-duas__badgeDot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
}

.misbaha-duas__filters{
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  margin-top: 6px;
}

.misbaha-duas__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 12px;
}

.misbaha-duas__chip{
  border: 1px solid var(--border);
  background: rgba(211,178,109,.18);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select:none;
  font-weight: 700;
  font-size: 13px;
  transition: transform .08s ease, background .15s ease;
}

.misbaha-duas__chip:hover{ transform: translateY(-1px); }
.misbaha-duas__chip.is-active{
  background: var(--accent);
  border-color: rgba(0,0,0,.10);
}

.misbaha-duas__searchRow{
  display:flex;
  gap:10px;
}

.misbaha-duas__search{
  width:100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.misbaha-duas__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 14px;
}

.misbaha-duas__step{
  color: var(--muted);
  font-size: 13px;
}

.misbaha-duas__favBtn{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.misbaha-duas__favBtn.is-on{
  background: rgba(211,178,109,.25);
  border-color: rgba(0,0,0,.10);
}

.misbaha-duas__dua{
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px 16px;
  background: #fff;
}

.misbaha-duas__duaTitle{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}

.misbaha-duas__duaText{
  font-size: 18px;
  line-height: 2;
  color: var(--text);
  white-space: pre-wrap;
}

.misbaha-duas__counterWrap{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.misbaha-duas__counter{
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 10px solid rgba(0,0,0,.05);
  background: radial-gradient(circle at 30% 30%, #fff, rgba(211,178,109,.16));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}

.misbaha-duas__count{
  font-size: 54px;
  font-weight: 900;
}

.misbaha-duas__hint{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.misbaha-duas__resetCount{
  border: 1px solid var(--border);
  background: rgba(211,178,109,.18);
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 800;
}

.misbaha-duas__actions{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.misbaha-duas__btn{
  border: 1px solid var(--border);
  background: rgba(211,178,109,.18);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 900;
  font-size: 14px;
}

.misbaha-duas__btn--primary{
  background: var(--accent);
  border-color: rgba(0,0,0,.10);
}

.misbaha-duas__note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align:center;
  min-height: 16px;
}

@media (max-width: 640px){
  .misbaha-duas__card{ margin: 14px 10px; padding: 14px; }
  .misbaha-duas__title{ font-size: 20px; }
  .misbaha-duas__duaText{ font-size: 17px; }
  .misbaha-duas__counter{ width: 170px; height: 170px; }
}
