:root {
  --bg: #f7f7fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0ea5e9;
  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial; }
a { color: var(--brand); text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 16px; }
.noselect { user-select: none; }

.site-header { background: #fff; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.main-nav a { margin-left: 16px; color: var(--muted); }
.main-nav a.active { color: var(--brand); font-weight: 600; }

.hero { padding: 24px 0; }
.donate-card { background: var(--card); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab { border: 1px solid #e5e7eb; background: #fff; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.tab.active { border-color: var(--brand); color: var(--brand); }
.tab.disabled { opacity: .5; cursor: not-allowed; }

label { display: block; margin: 12px 0 6px; font-weight: 600; }
input { width: 100%; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
button { padding: 12px 16px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: not-allowed; }
.actions { margin-top: 12px; }
.hidden { display: none !important; }

.status { margin-top: 12px; padding: 12px; border-radius: 10px; background: #f3f4f6; color: var(--muted); }
.status.success { background: #ecfdf5; color: var(--ok); }
.status.pending { background: #fffbeb; color: var(--warn); }
.status.error { background: #fef2f2; color: var(--err); }

.receipt { margin-top: 18px; padding: 16px; border: 1px dashed #e5e7eb; border-radius: 14px; background: #fff; }
.receipt-logo { height: 60px; background: #fff; padding: 6px; border-radius: 8px; }
.kv { margin-top: 8px; display: grid; gap: 6px; }
.contact { margin-top: 10px; color: var(--muted); }
.receipt-actions { display: flex; gap: 8px; margin-top: 10px; }

.site-footer { margin-top: 28px; color: var(--muted); }

.disabled {
  opacity: 0.6;
  pointer-events: none;
}
