/* TajweedDesk v4.2.0 — upgrade popup (daily quota reached) */
.tdw-modal-overlay {
  position: fixed; inset: 0; z-index: 999999;
  background: rgba(20, 30, 28, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.tdw-modal {
  position: relative;
  background: #fffaf3;
  border-radius: 16px;
  max-width: 560px; width: 100%;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  font-family: 'DM Sans', sans-serif;
}
.tdw-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 18px; cursor: pointer; color: #6b7c78;
}
.tdw-modal-title { font-size: 19px; font-weight: 700; color: #1c2b2a; margin-bottom: 6px; text-align: center; }
.tdw-modal-msg   { font-size: 13px; color: #6b7c78; text-align: center; margin-bottom: 20px; }
.tdw-plan-cards  { display: flex; gap: 14px; flex-wrap: wrap; }
.tdw-plan-card {
  flex: 1; min-width: 220px;
  border: 1px solid #e8e0d5; border-radius: 12px;
  padding: 16px; background: #fff;
  display: flex; flex-direction: column;
}
.tdw-plan-card[data-plan="reviewed"] { border-color: #c9973a; }
.tdw-plan-price { font-size: 22px; font-weight: 800; color: #1a7a6e; }
.tdw-plan-price span { font-size: 12px; font-weight: 500; color: #888; }
.tdw-plan-name { font-size: 14px; font-weight: 700; color: #1c2b2a; margin: 2px 0 8px; }
.tdw-plan-desc { font-size: 12.5px; color: #6b7c78; line-height: 1.5; flex: 1; margin-bottom: 14px; }
.tdw-plan-btn {
  border: none; border-radius: 8px; padding: 10px 12px;
  background: #1a7a6e; color: #fff; font-weight: 700; font-size: 13px;
  cursor: pointer;
}
.tdw-plan-card[data-plan="reviewed"] .tdw-plan-btn { background: #c9973a; }
.tdw-plan-btn:disabled { opacity: .6; cursor: not-allowed; }
.tdw-modal-status { text-align: center; font-size: 12.5px; color: #6b7c78; margin-top: 14px; min-height: 16px; }
.tdw-modal-foot   { text-align: center; font-size: 11.5px; color: #a5a5a5; margin-top: 6px; }

@media (max-width: 480px) {
  .tdw-plan-cards { flex-direction: column; }
}
