/* ===== Ilm-ul-Adad Tools: Marriage Compatibility (scoped) ===== */
#ilmdat-marriage {
  direction: rtl;
  max-width: 960px;
  margin: 0 auto;
  font-family: "Noto Nastaliq Urdu", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0f172a;
}

#ilmdat-marriage .mar-title {
  text-align: center;
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 16px 0;
}

#ilmdat-marriage .mar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 768px){
  #ilmdat-marriage .mar-grid { grid-template-columns: 1fr; }
}

#ilmdat-marriage .mar-field label { display:block; margin-bottom:6px; }
#ilmdat-marriage .mar-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-align: right;
  height: 52px;
  box-sizing: border-box;
}

#ilmdat-marriage .mar-btn {
  margin-top: 14px;
  width: 100%;
  background: #2563eb;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease-in-out, transform .05s ease-in-out;
}
#ilmdat-marriage .mar-btn:hover { background: #1d4ed8; }
#ilmdat-marriage .mar-btn:active { transform: translateY(1px); }

#ilmdat-marriage .mar-card {
  margin-top: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 18px;
  line-height: 1.8;
}

#ilmdat-marriage .mar-outcome { margin-top: 10px; }
