/* Stile comune del sito DriverUE (home, record, editor). */
:root {
  --bg: #121418;
  --bg-2: #1a1d23;
  --bg-3: #23272f;
  --line: #2f343d;
  --text: #e9ebef;
  --muted: #9aa1ad;
  --accent: #ff6a13;
  --accent-2: #ffb020;
  --go: #2fbf71;
  --danger: #ef4d4d;
  --radius: 10px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--body);
}
a { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--display); letter-spacing: .02em; margin: 0; }

.brand {
  font: 700 26px/1 var(--display);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.brand span { color: var(--accent); }

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  font: 600 14px/1 var(--body);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { border-color: #4a515d; background: #2a2f38; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #ff7d33; }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.big { padding: 15px 24px; font-size: 16px; }
.btn.wide { width: 100%; }

input, select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: 14px var(--body);
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
