/* The Aurora TMS look (CLAUDE.md, Look and feel). The kitchen screen has its own dark stylesheet. */
:root {
  --navy: #141c46;
  --active: #1c4a6c;
  --page: #eef0f8;
  --card: #ffffff;
  --accent: #4f46e5;
  --tint: #e9e8fb;
  --text: #1f2440;
  --muted: #6b7090;
  --danger: #b42318;
  --ok: #067647;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, system-ui, sans-serif; background: var(--page); color: var(--text); font-size: 15px; }
h1, h2 { font-family: Montserrat, Inter, sans-serif; margin: 0; }
h1 { font-size: 22px; }
h2 { font-size: 16px; margin-bottom: 8px; }

/* One screen tall: sidebar fixed, only the content scrolls. */
.shell { display: flex; height: 100vh; }
.sidebar { width: 232px; background: var(--navy); color: #d5d9f0; display: flex; flex-direction: column; padding: 20px 12px; }
.brand { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; color: #fff; padding: 4px 10px 20px; }
.nav-item { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; padding: 9px 10px; border-radius: 8px; }
.nav-item:hover { background: rgba(255,255,255,.06); }
.nav-item.active { background: var(--active); color: #fff; }
.nav-item svg, .icon-tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.powered { margin-top: auto; font-size: 11px; color: #7c83a8; padding: 0 10px; }
.content { flex: 1; overflow-y: auto; padding: 28px 32px; }

.page-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.page-header p { margin: 2px 0 0; color: var(--muted); }
.icon-tile { width: 42px; height: 42px; border-radius: 10px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }

.card { background: var(--card); border-radius: 14px; box-shadow: 0 1px 3px rgba(20,28,70,.06), 0 6px 18px rgba(20,28,70,.05); padding: 20px 22px; max-width: 720px; margin-bottom: 16px; }
.muted { color: var(--muted); }
.btn { display: inline-block; border: 0; border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: var(--tint); color: var(--accent); }

.alert { border-radius: 10px; padding: 10px 14px; max-width: 720px; }
.alert-error { background: #fef3f2; color: var(--danger); }
.alert-ok { background: #ecfdf3; color: var(--ok); }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; margin-right: 6px; }
.pill-ok { background: #ecfdf3; color: var(--ok); }
.pill-off { background: var(--tint); color: var(--muted); }
.btn-link { background: none; color: var(--muted); padding: 6px 0; font-weight: 500; }

.bare { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.signin .card { width: 360px; max-width: 100%; }
.signin h1 { margin-bottom: 4px; }
.signin label { display: block; font-weight: 600; margin: 16px 0 6px; }
.signin input[type=password] { width: 100%; padding: 9px 12px; border: 1px solid #d5d8e8; border-radius: 8px; font: inherit; margin-bottom: 14px; }
.pill-warn { background: #fffaeb; color: #b54708; }
.inline-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-form label { font-weight: 600; }
.inline-form input { padding: 8px 12px; border: 1px solid #d5d8e8; border-radius: 8px; font: inherit; width: 220px; }
.card-highlight { border-left: 4px solid var(--accent); }
.link-box { width: 100%; padding: 9px 12px; border: 1px solid #d5d8e8; border-radius: 8px; font: 13px ui-monospace, Consolas, monospace; }
table.list { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
table.list td { padding: 8px 4px; border-bottom: 1px solid #eef0f8; }
table.list td.right { text-align: right; }
