/* Public NGO pages (MLM): marketing policy, NGO apply form, approved NGOs directory */

.ngo-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 16px 80px 16px; /* bottom space so content never touches footer */
}

.ngo-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
}

.ngo-card h1 {
  margin: 0 0 10px 0;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.ngo-card h2 {
  margin: 18px 0 8px 0;
  color: #0f172a;
  font-weight: 800;
}

.ngo-muted {
  margin: 0 0 14px 0;
  color: #334155;
}

.ngo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ngo-actions .btn {
  border-radius: 12px;
}

.ngo-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.ngo-form {
  margin-top: 14px;
}

.ngo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ngo-grid .full {
  grid-column: 1 / -1;
}

.ngo-form label {
  display: block;
  color: #0f172a;
  font-weight: 700;
}

.ngo-form label > span {
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 700;
}

.ngo-form input[type="text"],
.ngo-form input[type="email"],
.ngo-form input[type="password"],
.ngo-form input[type="number"],
.ngo-form textarea,
.ngo-form select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 42px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}

.ngo-form textarea {
  min-height: 110px;
  resize: vertical;
}

.ngo-form input[type="file"] {
  width: 100%;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
}

.ngo-form .ngo-hint {
  margin: 0 0 10px 0;
  color: #475569;
  font-size: 13px;
}

.ngo-table {
  margin-top: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.ngo-table__head,
.ngo-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
}

.ngo-table__head {
  background: #0b1b33;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 12px;
}

.ngo-table__row {
  padding: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.ngo-table__row:nth-child(even) {
  background: #f8fafc;
}

.ngo-table__row .ngo-strong {
  font-weight: 800;
  color: #0f172a;
}

.ngo-footer-note {
  margin-top: 14px;
  color: #475569;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ngo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ngo-table__head,
  .ngo-table__row {
    grid-template-columns: 1fr;
  }
}


