/*
    ██╗    ██╗██╗ ██████╗██╗  ██╗███████╗██████╗
    ██║    ██║██║██╔════╝██║ ██╔╝██╔════╝██╔══██╗
    ██║ █╗ ██║██║██║     █████╔╝ █████╗  ██║  ██║
    ██║███╗██║██║██║     ██╔═██╗ ██╔══╝  ██║  ██║
    ╚███╔███╔╝██║╚██████╗██║  ██╗███████╗██████╔╝
     ╚══╝╚══╝ ╚═╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚═════╝
        W I C K E D   D E V E L O P M E N T
    ------------------------------------------------
    Project  : mv-cad — Mountain Valley RP CAD/MDT
    File     : public/css/base.css
    Author   : Wicked Development
    GitHub   : https://github.com/wickedlovesunturned
    ------------------------------------------------
    Reset + typography + layout primitives. The type
    scale is 12/13/14/16/20/28/40; base UI is 14px.
*/
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 .75em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono, code, kbd {
  font-family: var(--font-mono);
  color: var(--text-mono);
  font-size: .95em;
}

.dim { color: var(--text-dim); }
.small { font-size: 12px; }

/* Section label — plain Windows-app styling, no decorative casing. */
.eyebrow {
  font: 600 13px var(--font-body);
  color: var(--text-dim);
  margin-bottom: 8px;
}

/* Scoped theme switches (e.g. a light civilian block inside a dark page)
   re-apply the token-driven colors instead of inheriting the parent's. */
[data-theme] { color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Layout primitives */
.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 24px;
  max-width: 460px;
  width: 100%;
}
.form-error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
}
