/*
  Barn Hunt Norge – Admin UI
  Designspråk: RSAadmin-inspirert (papirkorn, glassmorphism, kraftig typografi)
  Merkevare: BHN grønn (#3d6114) erstatter RSA-rød
  Oppdatert 2026-04
*/

/* ================================================================
   TOKENS
================================================================ */
:root {
  --bg:         #f3f3f3;
  --surface:    #ffffff;
  --surface2:   rgba(255,255,255,.82);
  --glass:      rgba(255,255,255,.55);
  --ink:        #0b0f17;
  --ink-muted:  #556070;
  --ink-faint:  #9ca3af;
  --line:       rgba(11,15,23,.13);
  --line-dark:  rgba(11,15,23,.18);

  --accent:     #3d6114;   /* BHN grønn */
  --accent2:    #2e4a0f;   /* mørkere variant */
  --accent-bg:  #f0f5e8;
  --accent-mid: rgba(61,97,20,.14);

  --warn:       #b45309;
  --warn-bg:    #fef3e2;
  --err:        #991b1b;
  --err-bg:     #fef2f2;
  --ok:         #166534;

  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;

  --shadow:     0 18px 50px rgba(11,15,23,.08);
  --shadow-sm:  0 2px 8px rgba(11,15,23,.07), 0 0 0 1px rgba(11,15,23,.05);
  --shadow-xs:  0 1px 3px rgba(11,15,23,.05);

  /* Legacy aliases (bakoverkompatibilitet) */
  --muted:      #556070;
  --paper:      #ffffff;
  --paper2:     rgba(255,255,255,.82);
  --shadow-soft: 0 2px 8px rgba(11,15,23,.07);
  --accent-mid: rgba(61,97,20,.14);
}

/* ================================================================
   RESET / BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

body, button, input, select, textarea {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

/* Papirkorn-tekstur (RSAadmin-signatur) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
small { color: var(--ink-muted); font-size: 11px; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ================================================================
   LAYOUT
================================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 24px 28px 40px;
}

/* ================================================================
   SIDEBAR
================================================================ */
.sidebar-wrapper { position: relative; }

.admin-sidebar {
  display: flex !important;
  flex-direction: column;
  width: 224px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  padding: 16px 12px 12px !important;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid var(--line);
  box-sizing: border-box;
}

/* Logo */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.sidebar-logo img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--accent-bg);
}
.sidebar-logo__text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Nav column */
.sidebar-nav {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  gap: 1px;
}

.sn-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 16px 10px 5px;
  pointer-events: none;
  user-select: none;
}

/* Nav links */
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0; margin: 0;
  border-radius: 0; background: none; border: none;
  box-shadow: none; color: var(--ink);
  text-decoration: none; transition: none;
}
.sidebar-nav a:hover,
.sidebar-nav a:active { background: none; border: none; box-shadow: none; transform: none; }

.sn-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: background .12s, color .12s;
  cursor: pointer;
  line-height: 1.3;
  overflow: hidden;
}
.sn-link:hover {
  background: rgba(11,15,23,.05) !important;
  color: var(--ink) !important;
}

/* Aktiv: solid mørk bakgrunn + grønn stripe til venstre (RSAadmin-mønster) */
.sn-link.is-active {
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.sn-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}

.sn-label { flex: 1; }

.sn-link--logout { color: var(--err) !important; }
.sn-link--logout:hover { background: var(--err-bg) !important; }

.sn-link--external { color: var(--ink-muted) !important; font-size: 12.5px !important; font-weight: 600 !important; }

/* Lucide icons in nav */
.sn-icon {
  width: 16px !important; height: 16px !important;
  flex-shrink: 0;
  stroke: currentColor; stroke-width: 2; fill: none;
  display: block;
  opacity: .55;
}
.sn-link.is-active .sn-icon { opacity: 1; stroke: #fff; }
.sn-link--logout   .sn-icon { stroke: var(--err); opacity: .9; }
.sn-link--external .sn-icon { opacity: .4; }

/* Sidebar footer / user block */
.sidebar-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
}
.sidebar-user__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: .04em;
}
.sidebar-user__info {
  display: flex; flex-direction: column; min-width: 0;
}
.sidebar-user__name {
  font-size: 12.5px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-user__role {
  font-size: 10px; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}

/* Mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 998;
}

/* ================================================================
   GLOBAL SEARCH BAR
================================================================ */
.global-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin: 0 0 20px;
  max-width: 540px;
  backdrop-filter: blur(4px);
  transition: border-color .12s, box-shadow .12s;
}
.global-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mid);
}
.global-search__icon {
  width: 14px; height: 14px;
  stroke: var(--ink-muted); stroke-width: 2; fill: none;
  flex-shrink: 0;
}
.global-search__input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--ink);
  box-shadow: none !important;
  outline: none !important;
  min-width: 0;
}
.global-search__input::placeholder { color: var(--ink-faint); }
.global-search__kbd {
  font-size: 10px;
  font-family: inherit;
  color: var(--ink-faint);
  background: rgba(11,15,23,.05);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 1px 5px;
  white-space: nowrap;
  pointer-events: none;
}

/* ================================================================
   TYPOGRAPHY
================================================================ */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; }

h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -.03em;
}
h1 small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 4px;
  letter-spacing: -.01em;
}

h2 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

h3 {
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ================================================================
   PAGE HEADER REGION
================================================================ */
.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

/* ================================================================
   CARDS / SECTIONS
================================================================ */
.dashboard-section,
.system-panel,
.form-box,
.page-subinfo {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.dashboard-section {
  padding: 16px 18px;
  margin-bottom: 14px;
}

.dashboard-section::before,
.stat-box::before,
.system-panel::before { display: none !important; }

.system-panel { padding: 16px 18px; }

.page-subinfo {
  margin: 0 0 14px;
  padding: 10px 14px;
}
.page-subinfo p { font-size: 13px; }
.page-subinfo strong { color: var(--ink); }

/* ================================================================
   STAT BOXES (dashboard top row)
================================================================ */
.top-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 0 0 16px;
}
@media (max-width: 1100px) { .top-stats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px)  { .top-stats { grid-template-columns: 1fr; } }

.stat-box {
  position: relative;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 14px 22px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
/* Green left stripe on stat boxes */
.stat-box::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}
.stat-box h3 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.04em;
}

/* ================================================================
   DASHBOARD GRID
================================================================ */
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(0,1fr);
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr; } }

/* Status panel */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 6px;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(11,15,23,.03);
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.status-label { font-weight: 600; color: var(--ink-muted); }
.status-value  { font-weight: 700; color: var(--ink); }
.status-value.ok { color: var(--ok); }

/* Activity log */
.activity-log { list-style: none; padding: 0; margin: 8px 0 0; }
.activity-log li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.4;
}
.activity-log li:last-child { border-bottom: none; }
.activity-log li.is-hidden  { display: none; }
.activity-time   { color: var(--ink-faint); font-size: 11.5px; }
.activity-target { color: var(--ink-muted); }

/* ================================================================
   TABLES
================================================================ */
.event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 14px;
}
.event-table thead tr {
  background: rgba(11,15,23,.04);
  border-bottom: 1px solid var(--line-dark);
}
.event-table th {
  text-align: left;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.event-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.event-table tbody tr:last-child td { border-bottom: none; }
.event-table tbody tr:hover td { background: var(--accent-bg); }

/* ================================================================
   BUTTONS
================================================================ */
.action-btn,
button.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .12s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.action-btn:hover,
button.action-btn:hover { opacity: .8; }
.action-btn:active,
button.action-btn:active { opacity: .65; }

/* Primary green variant */
.action-btn--primary,
button.action-btn--primary {
  background: var(--accent);
}

/* Table inline buttons */
.table-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(11,15,23,.06);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .1s;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 3px;
}
.table-btn:hover { background: rgba(11,15,23,.1); }

/* Destructive (Slett) */
.table-btn[style*="#b71c1c"],
button.table-btn[style*="#b71c1c"],
.table-btn[style*="#7a0000"],
button.table-btn[style*="#7a0000"] {
  background: var(--err-bg) !important;
  color: var(--err) !important;
  border-color: #fca5a5 !important;
}
.table-btn[style*="#b71c1c"]:hover,
button.table-btn[style*="#b71c1c"]:hover,
.table-btn[style*="#7a0000"]:hover,
button.table-btn[style*="#7a0000"]:hover { background: #fee2e2 !important; }

/* Override inline-style grey buttons */
.action-btn[style*="#7a7a7a"],
.action-btn[style*="#777"],
.action-btn[style*="background:#7"],
.action-btn[style*="background: #4"] {
  background: rgba(11,15,23,.08) !important;
  color: var(--ink-muted) !important;
  border-color: var(--line-dark) !important;
}
.action-btn[style*="#7a7a7a"]:hover,
.action-btn[style*="#777"]:hover { background: rgba(11,15,23,.14) !important; }

/* Destructive action-btn */
.action-btn[style*="#a94442"],
button.action-btn[style*="#a94442"] {
  background: var(--err-bg) !important;
  color: var(--err) !important;
  border: 1px solid #fca5a5 !important;
}
.action-btn[style*="#a94442"]:hover { background: #fee2e2 !important; }

/* Load more */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .1s;
}
.btn-load-more:hover { background: var(--accent-bg); }

/* Row of action buttons */
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  align-items: center;
}

/* Generic bh-btn */
.bh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(11,15,23,.07);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .1s;
}
.bh-btn:hover { background: rgba(11,15,23,.12); }
.bh-btn.bh-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.bh-btn.bh-btn--primary:hover { opacity: .88; }

/* ================================================================
   FORMS
================================================================ */
.form-box {
  padding: 18px 20px;
  max-width: 680px;
  margin-bottom: 14px;
}

.form-box label,
label.field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  margin: 12px 0 4px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.form-box label:first-child,
label.field-label:first-child { margin-top: 0; }

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.9);
  font-size: 13px;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
  appearance: auto;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mid);
  background: #fff;
}

textarea { resize: vertical; min-height: 80px; }

/* Filter form row */
.event-filter-form .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.filter-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ================================================================
   ALERTS
================================================================ */
.alert-success,
.alert-error,
.alert-warn,
.alert--ok {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
}
.alert-success, .alert--ok {
  background: var(--accent-bg);
  border: 1px solid #a7c97a;
  color: var(--ok);
}
.alert-error {
  background: var(--err-bg);
  border: 1px solid #fca5a5;
  color: var(--err);
}
.alert-warn {
  background: var(--warn-bg);
  border: 1px solid #fbbf24;
  color: var(--warn);
}

/* Inline style alerts used in events_list.php */
.dashboard-section[style*="2e7d32"] {
  background: var(--accent-bg) !important;
  color: var(--ok) !important;
  font-size: 13px;
  font-weight: 600;
}
.dashboard-section[style*="b71c1c"] {
  background: var(--err-bg) !important;
  color: var(--err) !important;
  font-size: 13px;
  font-weight: 600;
}

/* ================================================================
   EVENT SECTION (wrapper around tables)
================================================================ */
.event-section {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
  overflow-x: auto;
  backdrop-filter: blur(4px);
}
.event-section h2 { margin-bottom: 8px; }
.empty-result { color: var(--ink-muted); font-size: 12.5px; margin: 4px 0; }

/* ================================================================
   ACTION BOX (small icon-cards)
================================================================ */
.action-box {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  width: min(220px, 100%);
}
.action-box h3 { margin-bottom: 8px; }

/* ================================================================
   STAT BOX (registrations page)
================================================================ */
.stat-box-inline {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
}

/* ================================================================
   BADGES
================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.badge.ok,
.badge.active  { background: rgba(22,101,52,.1);  color: #166534; }
.badge.warn    { background: rgba(180,83,9,.1);    color: #b45309; }
.badge.past_due,
.badge.overdue,
.badge.err     { background: rgba(153,27,27,.1);   color: #991b1b; }
.badge.neutral { background: rgba(11,15,23,.07);   color: var(--ink-muted); }

/* ================================================================
   ADMIN FOOTER
================================================================ */
.admin-footer {
  border-top: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(6px);
}
.admin-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px;
  color: var(--ink-muted);
  font-size: 11.5px;
}

/* ================================================================
   MOBILE
================================================================ */
.mobile-menu-btn {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line-dark);
  color: var(--ink);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.mobile-menu-btn i { pointer-events: none; }

@media (max-width: 900px) {
  .mobile-menu-btn { display: inline-flex; }
  .admin-main { padding: 62px 14px 24px; }

  .sidebar-wrapper {
    position: fixed;
    left: -240px; top: 0;
    z-index: 999;
    width: 224px;
    height: 100vh;
    transition: left .22s cubic-bezier(.4,0,.2,1);
  }
  .sidebar-wrapper.is-open { left: 0; }
  .sidebar-wrapper.is-open .sidebar-overlay { display: block; }
  .admin-sidebar { height: 100vh; box-shadow: 6px 0 28px rgba(11,15,23,.14); }
}

/* ================================================================
   MISC UTILS
================================================================ */
.nav-separator {
  height: 1px;
  background: var(--line);
  margin: 10px 4px;
}

.fadeIn {
  animation: fadeIn .2s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}
