/* CurbOver registration portal: same design tokens as www.curbover.com (theme.json of the curbover theme). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/DMSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/DMSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #95c93d; --brand-deep: #7cab30; --brand-hover: #a9dc4f;
  --ink: #0d0c0f; --ink-soft: #2e2d31; --mist: #232225; --line: #363537; --muted: #9a9aa0; --chalk: #d6d6d8; --white: #ffffff;
  --bad: #ff8f8f; --bad-bg: rgba(255, 90, 90, .14); --ok-bg: rgba(149, 201, 61, .16);
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 400 16px/1.7 var(--font); -webkit-text-size-adjust: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
h1, h2, h3 { font-family: var(--font); color: var(--white); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); text-transform: uppercase; font-weight: 700; margin-top: .6em; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); }
h3 { font-size: 1.25rem; }
small, .muted { color: var(--muted); }

/* header: same as the site (sticky, translucent ink, 1px line underneath) */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13, 12, 15, .85); box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .bar { max-width: 1280px; margin: 0 auto; padding: .6rem 16px; display: flex; align-items: center; gap: 1rem; }
.site-header .logo img { display: block; width: 72px; height: 72px; }
.site-header .title { flex: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--chalk); font-size: .95rem; }
.site-header .title a { color: inherit; }
.site-header form { margin: 0; }
.site-footer { max-width: 1280px; margin: 3rem auto 0; padding: 1.5rem 16px 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

main { max-width: 840px; margin: 0 auto; padding: 1rem 16px 2rem; }

/* buttons: pill, brand-deep, uppercase, wide tracking (the site's button style) */
button, .button, input[type=submit] { font: 600 .875rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; cursor: pointer;
  background: var(--brand-deep); color: var(--ink); border: 0; border-radius: 999px; padding: .9rem 2rem; }
button:hover, .button:hover, input[type=submit]:hover { background: var(--brand-hover); }
button.ghost, .ghost { background: transparent; color: var(--chalk); border: 1px solid var(--line); padding: .55rem 1.1rem; }
button.ghost:hover { border-color: var(--brand); color: var(--white); background: transparent; }
button.small, .small-btn { padding: .5rem 1rem; font-size: .75rem; }

/* inputs: ink-soft fill, line border, 8px radius, brand focus ring (the site's form style) */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=file],
textarea, select { width: 100%; background: var(--ink-soft); color: var(--chalk); border: 1px solid var(--line); border-radius: 8px;
  padding: .7em .9em; font: inherit; }
input[type=file] { padding: .5em; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; accent-color: var(--brand-deep); vertical-align: -.15em; margin-right: .4rem; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus { border-color: var(--brand); outline: 2px solid rgba(149, 201, 61, .3); outline-offset: 1px; }
label { display: inline-block; margin-bottom: .25rem; color: var(--chalk); font-weight: 500; }
form p { margin: 0 0 1rem; }
.errorlist { list-style: none; margin: .25rem 0 0; padding: 0; color: var(--bad); font-size: .9rem; }
.helptext { display: block; color: var(--muted); font-size: .85rem; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1rem .25rem; margin: 0 0 1rem; background: var(--mist); }
legend { padding: 0 .5rem; color: var(--white); font-weight: 600; }

/* panels: the site's mist panels and card radius */
.card, .panel { background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; margin: 1rem 0; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.card h2, .card h3 { margin-top: 0; }

/* tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
td, th { padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
td form { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* status pills */
.pill { display: inline-block; padding: .05rem .7rem; border-radius: 999px; background: var(--ink-soft); border: 1px solid var(--line); font-size: .85rem; color: var(--chalk); }
.pill.ok { background: var(--ok-bg); border-color: rgba(149, 201, 61, .5); color: var(--brand-hover); }
.pill.bad { background: var(--bad-bg); border-color: rgba(255, 90, 90, .4); color: var(--bad); }
.flash { padding: .7rem 1rem; border-radius: 10px; margin: 1rem 0; }
.flash.ok { background: var(--ok-bg); border: 1px solid rgba(149, 201, 61, .5); }
.flash.bad { background: var(--bad-bg); border: 1px solid rgba(255, 90, 90, .4); }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat { display: inline-block; background: var(--brand); color: var(--ink); border-radius: 8px; padding: .4rem .9rem; font-weight: 700; margin: 0 .5rem .5rem 0; }

@media (max-width: 600px) {
  .site-header .logo img { width: 56px; height: 56px; }
  .site-header .title { font-size: .8rem; }
  main { padding-top: .5rem; }
  .card { padding: 1rem; }
}
