/* Design-Tokens 1:1 aus lisansekspres-shop/assets/css/lisansekspres.css
   (:root + html.theme-dark) plus die wenigen Grundklassen, die admin.css
   voraussetzt. admin.css selbst ist eine unveraenderte Kopie aus dem
   LisansEkspres-Backend - eigene Ergaenzungen stehen in partner.css. */
:root {
  --bg: #F5F7FB; --surface: #FFFFFF; --border: #E3E8F0; --ink: #0F172A; --ink-muted: #475569;
  --accent: #2563EB; --accent-hover: #1D4ED8; --accent-contrast: #FFFFFF; --badge-bg: #E7EEFE;
  --danger: #B91C1C; --danger-bg: #FEE2E2; --danger-border: #FCA5A5; --input-border: #7B8794;
  --success: #15803D; --success-bg: #DCFCE7; --warning: #B45309; --warning-bg: #FEF3C7;
  --info: #3730A3; --info-bg: #EFF6FF; --info-border: #BFDBFE; --info-title: #1E40AF;
}
html.theme-dark {
  --bg: #0E1525; --surface: #141B2E; --border: #26314A; --ink: #F1F5F9; --ink-muted: #94A3B8;
  --accent: #4C8DFF; --accent-hover: #6EA4FF; --accent-contrast: #071022; --badge-bg: #1E2A47;
  --danger: #FCA5A5; --danger-bg: #3A1414; --danger-border: #7F1D1D; --input-border: #5E6E8C;
  --success: #86EFAC; --success-bg: #0F2E1C; --warning: #FCD34D; --warning-bg: #3A2A0B;
  --info: #C7D2FE; --info-bg: #132038; --info-border: #2A4374; --info-title: #8FB8FF;
}
svg { display: block; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); }
.muted { color: var(--ink-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon-btn {
  position: relative; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  border-radius: 999px; width: 38px; height: 38px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex: 0 0 38px; text-decoration: none;
  appearance: none; -webkit-appearance: none; padding: 0; margin: 0; font: inherit;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
/* Symbole als Flexbox statt inline -> keine Zeilenhoehe, die das SVG nach unten schiebt. */
.icon-moon, .icon-sun { display: flex; align-items: center; justify-content: center; line-height: 0; }
.icon-sun { display: none; }
html.theme-dark .icon-moon { display: none; }
html.theme-dark .icon-sun { display: flex; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--accent); color: var(--accent-contrast);
  border-radius: 999px; font-size: 10px; font-weight: 600; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1;
}
