/* The Front Desk's look: a loose cousin of the FusionCore app's dark theme
   (src/fusioncore/web/static/style.css - same near-black, same card
   surface, the one electric blue). Its own small file on purpose: the
   Front Desk is a separate container and must not depend on the app's
   static files. System fonts only, so nothing is fetched from elsewhere. */

:root {
  --bg: #0b0c0e;
  --surface: #16181c;
  --border: #26292f;
  --text: #f2f3f5;
  --text-body: #aaa;
  --text-dim: #5c626b;
  --accent: #2e6bff;
  --error: #e05252;
  --radius-card: 20px;
  --control-h: 41px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.content {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.wordmark {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 18px;
  margin: 0 0 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}

h1 { color: var(--text); font-size: 22px; margin: 0 0 12px; }
p { margin: 0 0 14px; }
a { color: var(--accent); }

label { display: block; color: var(--text); font-size: 14px; margin: 14px 0 6px; }

input[type="text"], input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  height: var(--control-h);
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}

input:focus { outline: none; border-color: var(--accent); }

.hint { color: var(--text-dim); font-size: 13px; margin-top: 4px; }

button, .button {
  display: inline-block;
  width: 100%;
  height: var(--control-h);
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: center;
  line-height: var(--control-h);
  text-decoration: none;
  cursor: pointer;
}

.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }

.error { color: var(--error); margin: 0 0 12px; }

/* The honeypot: off-screen rather than display:none, which some bots
   know to skip. People never see or tab to it. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.small { color: var(--text-dim); font-size: 13px; margin-top: 18px; }

/* An author display rule (button, .button) beats the browser's own
   [hidden] rule, so a hidden button would still show; restore it. */
[hidden] { display: none !important; }

/* Square's card iframe mounts here; the height keeps the page from
   jumping while it loads. */
#card-container { margin-top: 16px; min-height: 90px; }
