/* 10xmovers admin panel. Same tokens as the brand, none of the marketing
   theatrics: this page is a cockpit, read at speed, often on a phone. */

:root {
  --ink: #101418;
  --ink-soft: rgba(16, 20, 24, 0.68);
  --ink-faint: rgba(16, 20, 24, 0.52);
  --paper: #FAF8F4;
  --navy: #14213D;
  --strap: #F26B1D;
  --money: #1E7A46;
  --hairline: rgba(16, 20, 24, 0.12);
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; }

/* Author display rules (like .login form's grid) would otherwise beat the
   hidden attribute's UA display:none. Hidden means hidden. */
[hidden] { display: none !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0 1.25rem 4rem;
  max-width: 72rem;
  margin-inline: auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1.5rem;
}

.wordmark { font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.wordmark b { color: var(--strap); }
.wordmark em { font-style: normal; font-weight: 400; color: var(--ink-faint); margin-left: 0.375rem; }
.top__right { display: flex; gap: 1rem; align-items: baseline; color: var(--ink-faint); font-size: 0.875rem; }

h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.125rem; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.muted { color: var(--ink-faint); font-size: 0.875rem; margin-top: 0.5rem; }

/* ------------------------------------------------------------------ login */

.login { max-width: 24rem; margin-top: 3rem; }
.login form { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.login label { font-size: 0.8125rem; color: var(--ink-soft); }
.login input {
  font-size: 1rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--white);
}
.login button[type="submit"] {
  margin-top: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

/* ------------------------------------------------------------------ tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}
.tile {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  display: grid;
  gap: 0.125rem;
}
.tile b { font-size: 1.375rem; color: var(--navy); }
.tile span { font-size: 0.8125rem; color: var(--ink-faint); }
.tile--hot b { color: var(--strap); }

/* ----------------------------------------------------------------- tables */

.tablewrap { overflow-x: auto; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
th, td { text-align: left; padding: 0.625rem 0.875rem; border-top: 1px solid var(--hairline); white-space: nowrap; }
thead th { border-top: 0; color: var(--ink-faint); font-weight: 600; font-size: 0.75rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
#companies tbody tr { cursor: pointer; }
#companies tbody tr:hover { background: rgba(20, 33, 61, 0.04); }

/* ------------------------------------------------------------------- bits */

.chip {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-faint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.0625rem 0.5rem;
  margin-left: 0.375rem;
}

.linkbtn {
  background: none;
  border: 0;
  color: var(--strap);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.request {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  display: grid;
  gap: 0.375rem;
  justify-items: start;
}
.request--done { opacity: 0.55; }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.625rem 1.5rem; margin: 0.75rem 0 0.5rem; }
.kv span { display: grid; font-size: 0.9375rem; }
.kv i { font-style: normal; font-size: 0.75rem; color: var(--ink-faint); }
