:root {
  --bg:#0f172a;
  --card:#111827;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --accent:#22d3ee;
  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;
}

/* === Algemene body === */
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-rounded, system-ui, -apple-system,"Segoe UI",Roboto,Helvetica,Arial;
  min-height:100vh;
}

/* Alleen voor loginpagina centreren */
body.login {
  display:flex;
  align-items:center;
  justify-content:center;
}

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

/* === Layout === */
.container-flex {
  display:flex;
  gap:20px;
  align-items:flex-start;
  justify-content:space-between;
  max-width:1200px;
  margin:0 auto;
  padding:24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.left-col, .right-col { flex: 1; }

/* === Cards === */
.card {
  background:var(--card);
  border:1px solid #1f2937;
  border-radius:18px;
  padding:24px;
  box-shadow:0 6px 24px rgba(0,0,0,.35);
  margin-bottom:20px;
}

.btn {
  display:inline-block;
  background:var(--accent);
  color:#06232a;
  padding:10px 14px;
  border-radius:10px;
  border:none;
  font-weight:700;
  cursor:pointer;
}
.btn.secondary { background:#334155; color:#e5e7eb; }

/* === Gebruikers grid === */
.usergrid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px;
}
.usercard {
  display:flex; flex-direction:column; align-items:center;
  gap:8px; padding:14px;
  border:1px solid #1f2937;
  border-radius:16px;
  background:#0b1220;
  cursor:pointer; text-align:center;
}
.usercard:hover { outline:2px solid var(--accent); }

/* === Statistieken === */
.stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.stat-card {
  flex: 1;
  background: var(--card);
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  text-align: center;
}
.stat-card .circle-icon {
  width: 100px; height: 100px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: #0b1220;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  border: 2px solid #334155;
}
.stat-card h3 { margin: 10px 0 5px 0; font-size: 18px; }
.stat-card p { font-size: 22px; font-weight: bold; margin: 0; }
.stat-card p.green { color: var(--good); }

/* === Uitgave toevoegen formulier === */
.right-col .card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.right-col .card label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  margin-bottom: 6px;
}
.right-col .card input,
.right-col .card select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b1220;
  color: var(--text);
}

/* === Store & categorie stijl (met dashed border) === */
.store {
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px;
  border-radius:12px;
  border:1px dashed #334155;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background:#0b1220;
  border:1px solid #334155;
}

/* === Tabellen === */
.table { width:100%; border-collapse: collapse; }
.table th,.table td {
  border-bottom: 1px solid #1f2937;
  padding: 12px;
  text-align:left;
}
.table td .store { width:100%; }

/* Winkelbeheer tabel en icon */
.store-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;  /* icoon nooit vervormen */
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0b1220;
  padding: 6px;
}

/* Tabel centreren */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.admin-table th, .admin-table td {
  padding: 12px;
  border-bottom: 1px solid #1f2937;
  text-align: center;
  vertical-align: middle;
}
.admin-table th {
  font-size: 16px;
  font-weight: 600;
}
/* Uniforme weergave icoontjes in tabellen */
.table .store, .table .category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px dashed #334155;
  background: #0b1220;
  font-size: 15px;
}

.table .store-icon,
.table .cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #111827;
  border: 1px solid #334155;
  object-fit: contain;
}
