/* ===== Ilm-ul-Adad Tools: Color Compatibility (scoped) ===== */
#ilmdat-colors {
  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-colors .col-title {
  text-align: center;
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 16px 0;
}

#ilmdat-colors .col-field { margin-bottom: 12px; }
#ilmdat-colors .col-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-align: right;
  height: 52px;
  box-sizing: border-box;
}

#ilmdat-colors .col-btn {
  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-colors .col-btn:hover { background: #1d4ed8; }
#ilmdat-colors .col-btn:active { transform: translateY(1px); }

#ilmdat-colors .col-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);
}

#ilmdat-colors .col-block h3 {
  font-size: 20px;
  margin: 4px 0 8px;
}

#ilmdat-colors .col-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 18px;
}
#ilmdat-colors .col-table th,
#ilmdat-colors .col-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
}
#ilmdat-colors .col-table .head { background: #f8fafc; font-weight: 700; }
