:root {
  /* NOB theme: navy + orange. Change these values to re-theme every page. */
  --brand: #0B1B2B;        /* Navy — primary, headers, strong text */
  --brand-deep: #14293f;
  --forest: #2c5c8f;       /* Steel blue — secondary */
  --leaf: #c9d6e3;         /* Light blue-grey — panels, charts */
  --leaf-soft: #f2f5f8;
  --cream: #f2f5f8;        /* page background */
  --cream-deep: #e6ecf2;
  --lime: #ff6a1a;         /* Orange — accent bars, highlights */
  --sky: #5dc6c9;          /* accent */
  --amber: #ffbf00;        /* accent */
  --ink: #000000;
  --paper: var(--cream);
  --card: #ffffff;
  --line: #dce3ea;
  --muted: #4A5B6C;
  --green: var(--brand);
  --red: #b3432b;
  --radius: 12px;
  /* legacy names kept so nothing else breaks */
  --gold: var(--brand);
  --gold-deep: var(--brand-deep);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

/* ---- top bar ---- */
.topbar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 28px;
  background: var(--ink);
  color: #fff;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 6px; }
.brand-logo-plate { background: #fff; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; }
.brand-mark { font-weight: 700; letter-spacing: 0.3px; color: #fff; font-size: 18px; }
.brand-logo { height: 32px; display: block; }
.brand-logo-lg { height: 56px; }
.brand-sub { color: var(--gold); font-size: 14px; font-weight: 600; margin-left: 8px; }
.topbar { flex-wrap: wrap; border-bottom: 3px solid var(--gold); }
.topnav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; row-gap: 4px; }
.topnav a {
  color: #c9d6e3;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}
.topnav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.topnav a.active { color: var(--ink); background: var(--gold); font-weight: 600; }
.topbar-user { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #c9d6e3; }
.logout { color: var(--gold); text-decoration: none; }
.logout:hover { text-decoration: underline; }

/* ---- layout ---- */
.page { max-width: 1080px; margin: 0 auto; padding: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } .topnav { display: none; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }

/* ---- balance card ---- */
.balance-number { font-size: 40px; font-weight: 700; color: var(--ink); }
.balance-number span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.balance-sub { color: var(--muted); font-size: 13px; margin: 6px 0 18px; }

.stat-list { margin: 0 0 16px; }
.stat-list div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.stat-list dt { color: var(--muted); }
.stat-list dd { margin: 0; font-weight: 600; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-primary:disabled { background: var(--leaf); color: #a89f8a; cursor: not-allowed; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--brand-deep); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-approve { background: var(--green); color: #fff; }
.btn-reject { background: var(--red); color: #fff; }

/* ---- forms ---- */
.form-card { max-width: 560px; }
.form-intro { color: var(--muted); margin-top: -6px; }
.field-row { display: flex; gap: 16px; }
.field { flex: 1; margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
input[type=date], input[type=text], input[type=number], textarea, select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.input-narrow { width: 72px; }

.days-preview {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink);
}
.days-preview strong { color: var(--gold-deep); }

/* ---- tables ---- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table td { font-size: 13px; }

.decision-form { display: flex; gap: 6px; align-items: center; }
.decision-form input[type=text] { width: 140px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-pending_manager { background: #fff2cc; color: #7a5a00; }
.badge-pending_hr { background: #dcf3f3; color: #1d6466; }
.badge-approved { background: var(--leaf); color: var(--green); }
.badge-rejected { background: #fbe6e1; color: var(--red); }
.badge-cancelled { background: #eceff3; color: var(--muted); }
.badge-pending_ceo { background: #f0e6fb; color: #6b3fa0; }

.empty { color: var(--muted); font-size: 14px; }
.link-more { display: inline-block; margin-top: 10px; color: var(--gold-deep); text-decoration: none; font-size: 13px; font-weight: 600; }

/* ---- tabs ---- */
.pipeline-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.pipeline-tabs a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--line);
}
.pipeline-tabs a:hover { border-color: var(--gold); }
.pipeline-tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- form helpers ---- */
.section-heading { font-size: 14px; font-weight: 700; margin: 22px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.field-hint { color: var(--muted); font-size: 12px; margin: -10px 0 14px; }
.checkbox-inline { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); font-size: 14px; }
.checkbox-inline input { width: auto; }

/* ---- warning callout (conflicts) ---- */
.warning-note {
  background: #fff2cc;
  border: 1px solid #e8cd8e;
  border-radius: 7px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 13px;
  color: #7a5a12;
}

/* ---- team calendar ---- */
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 4px; }
.cal-day {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 90px;
  padding: 6px;
  font-size: 12px;
  background: #fff;
}
.cal-day.out-of-month { background: #f8fafc; color: var(--muted); }
.cal-day.is-weekend { background: #f6f4ee; }
.cal-day.is-today { border-color: var(--gold); border-width: 2px; }
.cal-day-num { font-weight: 700; margin-bottom: 4px; }
.cal-holiday { display: block; font-size: 10px; background: #fbe6e1; color: var(--red); border-radius: 4px; padding: 1px 5px; margin-bottom: 3px; }
.cal-entry { display: block; font-size: 10px; border-radius: 4px; padding: 1px 5px; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-entry.status-approved { background: var(--leaf); color: var(--green); }
.cal-entry.status-pending_manager, .cal-entry.status-pending_hr { background: #fff2cc; color: #7a5a00; }
@media (max-width: 760px) {
  .cal-grid { grid-template-columns: repeat(7, 1fr); gap: 3px; }
  .cal-day { min-height: 60px; padding: 3px; font-size: 10px; }
}

/* ---- flash ---- */
.flash-stack { margin-bottom: 18px; }
.flash { padding: 10px 14px; border-radius: 7px; font-size: 14px; margin-bottom: 8px; }
.flash-success { background: var(--leaf); color: var(--green); }
.flash-error { background: #fbe6e1; color: var(--red); }

/* ---- login ---- */
.login-body { display: flex; align-items: center; justify-content: center; height: 100vh; background: radial-gradient(circle at 50% 35%, #2a251c 0%, var(--ink) 60%); }
.login-card { background: #fff; border-radius: 14px; padding: 44px 36px; width: 340px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.login-brand { justify-content: center; margin-bottom: 14px; }
.login-brand .brand-mark { color: var(--ink); }
.login-copy { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ---- portal hero ---- */
.hero-card {
  background: linear-gradient(135deg, var(--ink) 0%, #2a251c 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,26,0.25) 0%, rgba(255,106,26,0) 70%);
}
.hero-card h2 { color: #fff; margin-bottom: 4px; font-size: 24px; }
.hero-card p { color: #d8d3c6; margin: 0; }

/* ---- portal tiles ---- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 10px; }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(20,18,15,0.04);
}
.tile:hover { border-top-color: var(--gold-deep); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20,18,15,0.10); }
.tile-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.tile-icon svg { width: 22px; height: 22px; color: #fff; }
.tile-title { font-size: 17px; font-weight: 700; }
.tile-desc { color: var(--muted); font-size: 13px; margin: 0; }
.tile-stats { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.tile-stat { display: flex; justify-content: space-between; font-size: 13px; }
.tile-stat-label { color: var(--muted); }
.tile-stat-value { font-weight: 700; color: var(--ink); }
.tile-stat-value.attention { color: var(--gold-deep); }
.tile-note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 4px; }

/* ---- coming soon row (kept separate from the main grid, no awkward gaps) ---- */
.soon-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin: 28px 0 10px; }
.soon-row { display: flex; gap: 10px; flex-wrap: wrap; }
.soon-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px dashed var(--line); border-radius: 20px;
  padding: 8px 16px 8px 10px; font-size: 13px; color: var(--muted);
}
.soon-pill-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #eceff3; display: flex; align-items: center; justify-content: center;
}
.soon-pill-icon svg { width: 14px; height: 14px; color: var(--muted); }


/* =========================================================================
   NOB theme — same look as IT Tickets and HRIS (overrides)
   ========================================================================= */
.topbar { background: var(--brand); color: #fff; padding: 12px 28px; border-bottom: 4px solid var(--lime); }
.brand { align-items: center; gap: 12px; }
.brand-logo { height: 40px; }
.brand-logo-lg { height: 64px; }
.brand-logo-plate { background: transparent; padding: 0; }
.brand-sub { color: #fff; font-size: 14px; font-weight: 700; padding-left: 12px; margin-left: 0; border-left: 1px solid rgba(255,255,255,0.35); line-height: 1.2; }
.topnav a { color: #c9d6e3; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,0.10); }
.topnav a.active { color: #fff; background: rgba(255,255,255,0.14); font-weight: 700; box-shadow: inset 0 -3px 0 var(--lime); }
.topbar-user { color: #c9d6e3; }
.logout { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.4); padding: 5px 12px; border-radius: 6px; }
.logout:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.card h2 { color: var(--brand); }
.card > h2:first-child::after { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--lime); margin-top: 8px; }
.balance-number { color: var(--brand); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-primary:disabled { background: var(--leaf); color: #6b7c8d; }
.btn-secondary { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-secondary:hover { background: var(--leaf-soft); color: var(--brand); }
.btn-approve { background: var(--forest); color: #fff; }
label { font-weight: 700; color: var(--brand); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(44,92,143,0.18); }
input[type=email], input[type=url], input[type=tel], input[type=password], input[type=search] {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
.table th { color: var(--brand); background: var(--leaf-soft); }
.flash-success { background: var(--leaf); color: var(--brand); }
.link-more { color: var(--brand); }
.pipeline-tabs a { color: var(--muted); }
.pipeline-tabs a:hover { border-color: var(--forest); }
.pipeline-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.login-body { min-height: 100vh; height: auto; padding: 16px; background: var(--brand) radial-gradient(circle at 85% 15%, rgba(255,106,26,0.16), transparent 45%); }
.login-card { border-radius: 16px; padding: 40px 36px 32px; width: 100%; max-width: 380px; box-shadow: 0 18px 50px rgba(0,0,0,0.25); }
.login-brand { flex-direction: column; justify-content: center; gap: 10px; }
.login-brand .brand-sub { color: var(--brand); border-left: 0; padding-left: 0; font-size: 15px; }
.login-brand .brand-sub::after { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--lime); margin: 8px auto 0; }
a { color: var(--brand); }
a:hover { color: var(--forest); }
.topnav a, .topnav a:hover, .logout, .btn-primary, .btn-approve, .btn-reject { }
.site-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 8px 16px 28px; }
.site-foot strong { color: var(--brand); }
@media (max-width: 760px) { .topbar { padding: 10px 16px; gap: 12px; flex-wrap: wrap; } .page { padding: 18px 16px; } .brand-logo { height: 32px; } }
/* portal hero + tiles in brand colours */
.hero-card { background: var(--brand) !important; }
.hero-card::after { background: radial-gradient(circle, rgba(255,106,26,0.22) 0%, rgba(255,106,26,0) 70%) !important; }
.hero-card p { color: #c9d6e3; }
.tile-stat-value.attention { color: var(--forest); }

/* ---- Portal: account centre (People, password pages) ---- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0 0 4px; font-size: 22px; color: var(--brand); }
.page-head p { margin: 0; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.err { color: var(--red); }
.req { color: var(--red); }
.table-scroll { overflow-x: auto; }
.row-muted td { opacity: .6; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filters input[type=search] { flex: 1 1 260px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; background: #fff; }
.filters select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; background: #fff; }
.badge-accent { background: #fde8d3; color: #8a4706; }
.badge-pending { background: #fff2cc; color: #7a5a00; }
.form-card.narrow { max-width: 520px; }
.grid-wide-left { grid-template-columns: 3fr 2fr; align-items: start; }
@media (max-width: 760px) { .grid-wide-left { grid-template-columns: 1fr; } }
.kv { margin: 0 0 14px; }
.kv > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
code.pw { font-family: Consolas, "Courier New", monospace; font-size: 17px; background: #fde8d3; color: #5c2f03; padding: 3px 9px; border-radius: 6px; letter-spacing: .5px; }
.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 18px 0 6px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 8px 0 8px 16px; border-left: 2px solid var(--line); position: relative; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.topbar-name { color: #fff; text-decoration: none; }
.topbar-name:hover { text-decoration: underline; }
.login-form { text-align: left; }
.login-form input[type=text], .login-form input[type=password] { width: 100%; }
.login-help { color: var(--muted); font-size: 12px; margin: 16px 0 0; }

/* ==== NOB website theme (matches nobcomputer.com) — keep this block last ==== */
:root {
  --ink: #0B1B2B;          /* site --ink: header, footer, headings */
  --ink-2: #14293F;        /* site --ink-2: panels on dark */
  --accent: #FF6A1A;       /* site --accent: buttons, highlights */
  --accent-dark: #C94A06;  /* site --accent-dark: links, eyebrows */
  --sky: #9FC4E8;          /* site --sky: small text on dark */
  --soft: #F2F5F8;         /* site --soft: page background */
  --display: "Space Grotesk", Verdana, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Tahoma, Verdana, sans-serif;

  /* app tokens re-pointed at the site palette */
  --brand: var(--ink);
  --brand-deep: var(--ink-2);
  --forest: #2C5C8F;
  --lime: var(--accent);
  --leaf: #C9D6E3;
  --leaf-soft: var(--soft);
  --cream: var(--soft);
  --cream-deep: #E6ECF2;
  --paper: var(--soft);
  --line: #DCE3EA;
  --muted: #4A5B6C;
  --gold: var(--accent);
  --gold-deep: var(--accent-dark);
  --radius: 16px;
}

body { font-family: var(--body); color: var(--ink); background: var(--soft); }
h1, h2, h3, .page-head h1, .card h2, .form-card h2, .hero-card h2, .tile-title, .balance-number, .brand-mark {
  font-family: var(--display); letter-spacing: -0.01em;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

/* ---- header: same as the website's sticky top bar ---- */
.topbar {
  background: var(--ink); color: #fff; min-height: 72px; padding: 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: sticky; top: 0; z-index: 20;
}
.brand-logo { height: 46px; width: auto; }
.brand-logo-plate { background: transparent; padding: 0; }
.brand-sub { color: var(--sky); font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.topnav { gap: 2px 18px; }
.topnav a { color: #fff; padding: 10px 2px; border-radius: 0; background: none !important; box-shadow: none !important;
  position: relative; font-size: 15px; }
.topnav a:hover { color: var(--accent); }
.topnav a.active { color: #fff; font-weight: 600; }
.topnav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.topbar-user { color: #C9D6E3; }
.topbar-user a:not(.logout) { color: #fff; }
.logout { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 10px; padding: 7px 14px; }
.logout:hover { border-color: #fff; background: transparent; color: #fff; }

/* ---- buttons: site .btn / .btn-accent / .btn-dark ---- */
.btn { border-radius: 10px; font-weight: 600; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #1A0B02; }
.btn-primary:hover { background: #FF8442; color: #1A0B02; }
.btn-primary:disabled { background: var(--leaf); color: var(--muted); }
.btn-secondary, .btn-ghost, .btn-light { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-secondary:hover, .btn-ghost:hover, .btn-light:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }

/* ---- cards & forms: site .card ---- */
.card, .form-card, .tile, .hero-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card h2, .form-card h2 { color: var(--ink); }
.card > h2:first-child::after, .login-brand .brand-sub::after { background: var(--accent); }
.tile:hover { border-color: rgba(255, 106, 26, 0.6); box-shadow: 0 16px 32px rgba(11, 27, 43, 0.12); transform: translateY(-3px); }
.tile-icon { color: var(--accent-dark); }
.hero-card { background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.hero-card h2 { color: #fff; }
.hero-card p { color: #C9D6E3; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=password], input[type=search],
input[type=tel], input[type=url], select, textarea { border-radius: 10px; border-color: var(--line); font-family: var(--body); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255, 106, 26, 0.35); outline-offset: 0; border-color: var(--accent); }
.table th { color: var(--muted); font-family: var(--display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }

/* ---- sign-in page: the website's hero ---- */
.login-body { background: var(--ink); position: relative; isolation: isolate; }
.login-body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at 78% 18%, rgba(255, 106, 26, 0.22), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px; }
.login-card { background: var(--ink-2); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.login-card label { color: #C9D6E3; }
.login-card input[type=text], .login-card input[type=password] { background: #0B1B2B; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.login-brand .brand-sub { color: var(--sky); }
.login-copy, .login-help { color: #C9D6E3; }
.login-help a, .login-card a:not(.btn) { color: var(--accent); }

/* ---- footer: the website's dark footer ---- */
.site-foot { background: var(--ink); color: #C9D6E3; padding: 22px 16px; margin-top: 28px; font-size: 14px; }
.site-foot strong { color: #fff; }
.site-foot a { color: #C9D6E3; }
.site-foot a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .topbar { position: static; padding: 10px 16px; }
  .brand-logo { height: 38px; }
}
@media print {
  .topbar, .site-foot { background: #fff !important; color: #000 !important; }
}
/* footer stays at the bottom on short pages */
body:not(.login-body) { min-height: 100vh; display: flex; flex-direction: column; }
body:not(.login-body) > .page, body:not(.login-body) > main { flex: 1 0 auto; width: 100%; }
.filters input[type=search] { width: auto; }
/* ==== end NOB website theme ==== */
