/* The palette is apps/customer-order/public/styles.css's, so the two apps read as
   one product. Copied rather than imported: they are separate services and a shared
   stylesheet would be a build step. */
:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #16181d;
  --muted: #6b7280;
  --line: #ececf0;
  --accent: #2e7d5b;
  --accent-press: #256849;
  --danger: #b3261e;
  --radius: 16px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
}

.card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgb(16 24 40 / 8%);
  padding: 28px 24px;
}

.brand {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #e6f3ee;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

h1 { font-size: 20px; margin: 0 0 4px; text-align: center; }
.muted { color: var(--muted); font-size: 13px; margin: 0 0 18px; text-align: center; }
.label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.identity { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.hint { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

label { display: block; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  margin: 0 0 14px;
  font: inherit;
  color: inherit;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

button {
  width: 100%;
  height: 44px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
button:hover { background: var(--accent-press); }
button[disabled] { opacity: .6; cursor: default; }

.secondary { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.secondary:hover { background: var(--surface-2); }
.row { display: flex; gap: 8px; margin-top: 12px; }

.error { color: var(--danger); font-size: 13px; margin: 0 0 12px; }
.ok { color: var(--accent); font-size: 13px; margin: 0 0 12px; }
[hidden] { display: none !important; }
