/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/*
  FONTS
  Primair:   Masilia Black  — kapitalen, koppen
  Secundair: Masilia Extra Light — kleine letters, bodytekst
  Fallback:  Bebas Neue (Google Fonts) voor koppen, Inter voor body
  Adobe Fonts kit: zie HTML-bestanden
*/
:root {
  /* Brand kleuren */
  --expo-shade: #00182e; /* Expo Shade — donker navy */
  --limmeee: #d4ff62; /* Limmeee — lime groen */
  --award-blue: #c2e5ff; /* Award Blue — lichtblauw */
  --up-orange: #f97a12; /* Up Orange */
  --smurf: #142dff; /* Smurf — sterk blauw */
  --bbrrr: #f7f7f7; /* BBRRR — bijna wit */
  --grey-goose: #d6d6d6; /* Grey Goose */
  --more-grey: #a7a7a7; /* More Grey */

  /* Systeem aliases */
  --bg: #00182e;
  --surface: #011f3a;
  --surface2: #022849;
  --border: #0d3a5e;
  --accent: #d4ff62;
  --accent-dim: #a8cc3a;
  --text: #f7f7f7;
  --text-dim: #a7a7a7;
  --error: #f97a12;
  --success: #d4ff62;
  --radius: 12px;

  /* Typografie */
  --font-head: "Masilia", "Bebas Neue", "Oswald", Arial, sans-serif;
  --font-body: "Masilia", "Inter", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

/* ===== Scrollbars: verborgen maar wel scrollbaar ===== */
.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar {
  display: none;
}

.scroll-y {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-y::-webkit-scrollbar {
  display: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 64px;
  min-width: 64px;
  padding: 0 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.1s;
  touch-action: manipulation;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--limmeee);
  color: var(--expo-shade);
}
.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  pointer-events: none;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast.error {
  border-color: var(--up-orange);
  color: var(--up-orange);
}
.toast.success {
  border-color: var(--limmeee);
  color: var(--limmeee);
}

/* ===== Spinner ===== */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--limmeee);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   SCANNER PAGINA
   ============================================= */

#scanner-page {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--expo-shade);
}

#video-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}

#scanner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

#scan-canvas {
  display: none;
}

/* QR detectie-kader (dynamisch via JS) */
#qr-box {
  position: absolute;
  border: 3px solid var(--limmeee);
  border-radius: 6px;
  pointer-events: none;
  display: none;
  transition: border-color 0.2s;
}
#qr-box.found {
  border-color: var(--limmeee);
  box-shadow: 0 0 20px rgba(212, 255, 98, 0.4);
}

/* Statische zoeker */
#scan-viewfinder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: min(55vw, 260px);
  height: min(55vw, 260px);
  pointer-events: none;
}

.vf-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--limmeee);
  border-style: solid;
}
.vf-corner.tl {
  top: 0;
  left: 0;
  border-width: 3px 0 0 3px;
  border-radius: 4px 0 0 0;
}
.vf-corner.tr {
  top: 0;
  right: 0;
  border-width: 3px 3px 0 0;
  border-radius: 0 4px 0 0;
}
.vf-corner.bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 4px;
}
.vf-corner.br {
  bottom: 0;
  right: 0;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 4px 0;
}

/* Top branding */
.scan-ui-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 4rem;
  background: linear-gradient(rgba(0, 24, 46, 0.85), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.weeztix-logo {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bbrrr);
  line-height: 1;
}
.weeztix-logo span {
  color: var(--limmeee);
}

.scan-event-label {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, 0.45);
}

/* Status pill */
.scanner-status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + min(30vw, 150px) + 1.2rem));
  background: rgba(0, 24, 46, 0.8);
  border: 1px solid rgba(212, 255, 98, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(247, 247, 247, 0.45);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.scanner-status.active {
  color: var(--limmeee);
  border-color: rgba(212, 255, 98, 0.5);
}
.scanner-status.error {
  color: var(--up-orange);
  border-color: rgba(249, 122, 18, 0.5);
}

/* Feedback overlay */
#scan-feedback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(0, 24, 46, 0.94);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  text-align: center;
  padding: 2rem;
}
#scan-feedback.visible {
  opacity: 1;
  pointer-events: all;
}

#scan-feedback .icon {
  font-size: 5rem;
  line-height: 1;
}
#scan-feedback .msg {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#scan-feedback .sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 300;
  color: var(--more-grey);
  max-width: 320px;
}
#scan-feedback.ok .msg {
  color: var(--limmeee);
}
#scan-feedback.fail .msg {
  color: var(--up-orange);
}

/* Bottom instructies */
.scan-ui-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem 2.5rem;
  background: linear-gradient(transparent, rgba(0, 24, 46, 0.92) 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.scan-step {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--limmeee);
}

.scan-label {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bbrrr);
  line-height: 1.1;
}

.scan-sub {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  font-weight: 300;
  color: rgba(247, 247, 247, 0.55);
  max-width: 320px;
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* =============================================
   STEM PAGINA
   ============================================= */

#vote-page {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* Header */
.vote-header {
  flex-shrink: 0;
  padding: 1.1rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
}

.vote-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.vote-step {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--limmeee);
}

.vote-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

/* Voter badge — kleur per type */
.voter-badge {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface2);
  color: var(--text-dim);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.voter-badge.type-student {
  color: var(--award-blue);
  border-color: rgba(194, 229, 255, 0.3);
  background: rgba(194, 229, 255, 0.06);
}
.voter-badge.type-docent {
  color: #8fa3ff;
  border-color: rgba(20, 45, 255, 0.4);
  background: rgba(20, 45, 255, 0.08);
}
.voter-badge.type-werkveld {
  color: var(--limmeee);
  border-color: rgba(212, 255, 98, 0.3);
  background: rgba(212, 255, 98, 0.06);
}

/* Instructie banner */
.vote-instruction {
  flex-shrink: 0;
  padding: 0.85rem 1.5rem;
  background: rgba(212, 255, 98, 0.05);
  border-bottom: 1px solid rgba(212, 255, 98, 0.12);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2vw, 0.97rem);
  font-weight: 300;
  color: var(--more-grey);
  line-height: 1.6;
  display: none;
}
.vote-instruction.visible {
  display: block;
}
.vote-instruction strong {
  color: var(--bbrrr);
  font-weight: 700;
}

/* Scroll body */
.vote-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}
.vote-body::-webkit-scrollbar {
  display: none;
}

.vote-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 200px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
}

/* Jaar blok */
.year-block {
  padding: 1.5rem 1.5rem 0;
}

.year-label {
  font-family: var(--font-head);
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--more-grey);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.year-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.year-required {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--limmeee);
  background: rgba(212, 255, 98, 0.08);
  border: 1px solid rgba(212, 255, 98, 0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s;
}
.year-required.done {
  color: var(--expo-shade);
  background: var(--limmeee);
  border-color: var(--limmeee);
}

/* Scroll hint: fade aan de rechterkant */
.cards-wrap {
  position: relative;
}
.cards-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 1.25rem;
  width: 70px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

.cards-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1.25rem;
  padding-right: 3.5rem;
}
.cards-row::-webkit-scrollbar {
  display: none;
}

/* Project kaart */
.project-card {
  flex-shrink: 0;
  width: clamp(200px, 42vw, 270px);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  position: relative;
}
.project-card:active {
  transform: scale(0.97);
}

.project-card.selected {
  border-color: var(--limmeee);
  box-shadow:
    0 0 0 1px var(--limmeee),
    0 8px 28px rgba(212, 255, 98, 0.15);
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--surface2);
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--border);
}

.card-body {
  padding: 1rem 1rem 0.9rem;
}

.card-makers {
  display: flex;
  margin-bottom: 0.65rem;
}

.maker-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  background: var(--surface2);
  margin-right: -10px;
  flex-shrink: 0;
}

.maker-avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--text-dim);
  margin-right: -10px;
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card-names {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Checkmark bij selectie */
.card-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  background: var(--limmeee);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 0.18s,
    transform 0.18s;
  transform: scale(0.4);
}
.project-card.selected .card-check {
  opacity: 1;
  transform: scale(1);
}
.card-check::after {
  content: "✓";
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--expo-shade);
}

/* Footer */
.vote-footer {
  flex-shrink: 0;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.confirm-hint {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2vw, 0.97rem);
  font-weight: 300;
  color: var(--text-dim);
  text-align: center;
  min-height: 1.4em;
  line-height: 1.5;
}
.confirm-hint strong {
  color: var(--bbrrr);
  font-weight: 700;
}

#btn-confirm {
  width: 100%;
  font-size: 1.25rem;
}

/* Bedankscherm */
#thankyou-screen {
  position: fixed;
  inset: 0;
  background: var(--expo-shade);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  z-index: 900;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
#thankyou-screen.visible {
  opacity: 1;
  pointer-events: all;
}

.thankyou-icon {
  font-size: 7rem;
  line-height: 1;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes pop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--limmeee);
  line-height: 1;
}

.thankyou-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 300;
  color: var(--more-grey);
  max-width: 360px;
  line-height: 1.6;
}

.thankyou-redirect {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(247, 247, 247, 0.25);
  margin-top: 0.5rem;
}

/* =============================================
   ADMIN PAGINA
   ============================================= */

#admin-page {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

#login-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 900;
  padding: 2rem;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.login-card h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  user-select: text;
  -webkit-user-select: text;
}
.login-input:focus {
  border-color: var(--limmeee);
}

.login-error {
  color: var(--up-orange);
  font-size: 0.85rem;
  min-height: 1.2em;
}

#admin-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.admin-header {
  flex-shrink: 0;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--surface);
}
.admin-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  scrollbar-width: none;
}
.admin-body::-webkit-scrollbar {
  display: none;
}

.stat-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  flex: 1;
  min-width: 140px;
}
.stat-card .label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.stat-card .value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--limmeee);
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-head {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.type-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  min-height: 38px;
  touch-action: manipulation;
}
.tab-btn.active {
  background: var(--limmeee);
  color: var(--expo-shade);
  border-color: var(--limmeee);
  font-weight: 900;
}

.project-rows {
  padding: 0.5rem 0;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.project-row:last-child {
  border-bottom: none;
}
.project-row:hover {
  background: var(--surface2);
}

.proj-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
}
.proj-count {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--limmeee);
  min-width: 2ch;
  text-align: right;
}
.proj-bar-wrap {
  width: 80px;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.proj-bar {
  height: 100%;
  background: var(--limmeee);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
}
