:root {
  --primary: #128C7E;
  --primary-dark: #0e6b60;
  --bg: #f4f6f7;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --warning: #d97706;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}
.topbar {
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: white; text-decoration: none; font-weight: 600; }
.topbar .nav a { margin-left: 20px; opacity: 0.9; }
.container {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
h1 { font-size: 24px; margin-top: 0; }
h2 { font-size: 18px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
}
button, .btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
}
button:hover, .btn:hover { background: var(--primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.error { color: #dc2626; font-size: 14px; margin-top: 8px; }
.muted { color: var(--muted); font-size: 14px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-success { background: #dcfce7; color: var(--success); }
.badge-warning { background: #fef3c7; color: var(--warning); }
.badge-muted { background: #f3f4f6; color: var(--muted); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.plan-card { border: 2px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.plan-price { font-size: 28px; font-weight: 700; margin: 12px 0; }
.plan-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
img.qr { display: block; margin: 20px auto; border: 8px solid white; border-radius: 12px; }
