/* Yoga Society — WPS house style: near-black + gold, Cinzel display. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0a;
  --card: #0d0d0d;
  --ink: #f5e9d0;
  --ink-soft: #e8dbc0;
  --ink-muted: #a89a7a;
  --ink-dim: #6b5a26;
  --line: #3d3216;
  --line-soft: #2a2310;
  --gold: #d4af37;
  --gold-dark: #6b5a26;
  --gold-glow: rgba(212, 175, 55, 0.06);
  --danger: #d98a6a;
  --danger-bg: rgba(217, 138, 106, 0.10);
  --ok: #b9d4a0;
  --ok-bg: rgba(185, 212, 160, 0.10);
  --radius: 14px;
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 640px; margin: 0 auto; padding: 28px 20px 80px; }
.narrow { max-width: 440px; }

/* Header / wordmark */
.brand { text-align: center; margin: 18px 0 28px; }
.brand .mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
}
.brand .tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}

h1 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 0 6px; letter-spacing: 1px; color: var(--ink); }
h2 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 26px 0 12px; letter-spacing: 0.5px; color: var(--gold); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; margin: 0 0 4px; color: var(--ink); }
p.lead { color: var(--ink-muted); margin-top: 0; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.muted { color: var(--ink-muted); font-size: 14px; }

/* Pills */
.pill {
  display: inline-block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: var(--gold-glow); color: var(--gold);
  border: 1px solid var(--line);
}
.pill.in { background: var(--ok-bg); color: var(--ok); border-color: #4a5a38; }
.pill.wait { background: var(--gold-glow); color: var(--gold); border-color: var(--line); }
.pill.full { background: var(--danger-bg); color: var(--danger); border-color: #5a3d30; }
.pill.draft { background: rgba(245,233,208,0.05); color: var(--ink-muted); border-color: var(--line-soft); }
.pill.cancelled { background: var(--danger-bg); color: var(--danger); border-color: #5a3d30; }

/* Forms */
label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin: 14px 0 5px; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; padding: 11px 12px; font-size: 15px; color: var(--ink);
  background: #050505; border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
}
input::placeholder, textarea::placeholder { color: #6b6147; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
textarea { resize: vertical; min-height: 70px; }
.check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; font-size: 13px; color: var(--ink-muted); font-weight: 400; }
.check input { width: auto; margin-top: 3px; accent-color: var(--gold); }
.check label { margin: 0; font-weight: 400; color: var(--ink-muted); }

/* Buttons */
.btn {
  display: inline-block; width: 100%; text-align: center; cursor: pointer;
  background: var(--gold); color: #000; border: none; border-radius: 999px;
  padding: 13px 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  font-family: var(--serif); text-decoration: none; transition: filter .15s;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.secondary { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn.secondary:hover { background: var(--gold-glow); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid #5a3d30; }
.btn.danger:hover { background: var(--danger-bg); }
.btn.ghost { background: transparent; color: var(--ink-muted); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(245,233,208,0.04); }
.btn.small { width: auto; padding: 8px 16px; font-size: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row .btn { width: auto; flex: 1; }

/* Messages */
.msg { padding: 11px 14px; border-radius: 10px; font-size: 14px; margin: 14px 0; }
.msg.err { background: var(--danger-bg); color: var(--danger); border: 1px solid #5a3d30; }
.msg.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #4a5a38; }
.msg.info { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--line); }
.hide { display: none !important; }

.center { text-align: center; }
.mt { margin-top: 16px; }
.foot { text-align: center; color: var(--ink-dim); font-size: 11px; margin-top: 32px; letter-spacing: 2px; font-family: var(--serif); }

/* Tables (admin) */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); }

/* Admin shell */
.adminbar { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.adminbar a { color: var(--ink-muted); }
.adminbar a.active { color: var(--gold); font-weight: 700; }
.adminwrap { max-width: 920px; }
