/* ---------- Tukkie Login / consumer portal ---------- */
:root {
  --blue: #005baa;
  --blue-deep: #004a8c;
  --blue-ink: #003a6e;
  --red: #d71c33;
  --ink: #0e1620;
  --muted: #4c5a68;
  --line: #dee7ef;
  --bg: #eef3f8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: "Open Sans", sans-serif; background: var(--bg); color: var(--ink); }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-brand img { height: 40px; display: block; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 58, 110, 0.12); padding: 34px 32px; width: 100%; max-width: 400px; margin-top: 26px; }
.auth-card h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.auth-sub { color: var(--muted); font-size: 0.92rem; margin: 8px 0 22px; }
.auth-sso { margin-bottom: 18px; }
.btn-sso { width: 100%; background: #0a1220; }
.btn-sso:hover { background: #0d1a30; }
.auth-sso-note { font-size: 0.8rem; color: var(--muted); margin: 8px 0 0; text-align: center; }
.auth-toggle { display: flex; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.auth-tab { flex: 1; border: none; background: transparent; padding: 11px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: var(--muted); cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.auth-tab.active { background: var(--blue); color: #fff; }
.auth-panel { display: flex; flex-direction: column; gap: 14px; }
.auth-hint { margin: 0 0 2px; color: var(--muted); font-size: 0.88rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.field input { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.95rem; font-family: inherit; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 91, 170, 0.12); }
.btn { border: none; background: var(--blue); color: #fff; padding: 14px; border-radius: 999px; font-weight: 800; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue-deep); }
.auth-msg { font-size: 0.86rem; color: var(--muted); margin: 0; }
.auth-msg.error { color: var(--red); }
.auth-foot { color: var(--muted); font-size: 0.88rem; margin-top: 22px; }
.auth-foot a { color: var(--blue); font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

/* Consumer dashboard */
.tukkie-status { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 20px; }
.tk-tier { display: flex; align-items: center; gap: 14px; }
.tk-badge { font-size: 2rem; line-height: 1; }
.tk-tier strong { display: block; font-size: 1.05rem; }
.tk-tag { display: inline-block; margin-top: 5px; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.tk-stat { background: var(--bg); border-radius: 12px; padding: 14px; }
.tk-stat span { display: block; font-size: 0.76rem; color: var(--muted); }
.tk-stat strong { font-size: 1.2rem; color: var(--blue); }
.tk-stat small { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.tk-code { display: flex; align-items: center; gap: 10px; background: var(--blue-ink); color: #fff; border-radius: 12px; padding: 14px 16px; flex-wrap: wrap; }
.tk-code > span { font-size: 0.76rem; opacity: 0.82; }
.tk-code strong { font-size: 1.05rem; letter-spacing: 0.03em; }
.tk-code small { opacity: 0.72; font-size: 0.75rem; }
.tk-code .copy { margin-left: auto; background: #fff; color: var(--blue); border: none; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.8rem; cursor: pointer; font-family: inherit; }
.tk-next { color: var(--muted); font-size: 0.9rem; }
.tk-referred { margin-top: 6px; }
.tk-referred h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 4px; }
.tk-referred ul { list-style: none; padding: 0; margin: 6px 0 0; }
.tk-referred li { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.tk-referred p { color: var(--muted); font-size: 0.9rem; }
