/* Kleuren en fonts van djarmara.com (V15/styles.css), zodat de balie bij de site hoort.
   Bewust één donkere versie: de site is ook donker. */
:root {
  --ground: #0d0b0e;
  --vlak: #151218;
  --vlak-op: #1d1922;
  --lijn: rgba(245, 240, 232, 0.12);
  --lijn-op: rgba(245, 240, 232, 0.22);
  --room: #f5f0e8;
  --zacht: #b8a99a;
  --goud: #c8903a;
  --bordeaux: #8b1a3a;
  --groen: #4f9d72;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  background: var(--ground);
  color: var(--room);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.wrap { max-width: 76rem; margin: 0 auto; }
.smal { max-width: 24rem; margin: 12vh auto 0; }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0.4rem 0; }
a { color: var(--goud); }

.eyebrow {
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--goud); margin: 0 0 0.35rem;
}

header.balk {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--lijn); padding-bottom: 1.25rem; margin-bottom: 2rem;
}
header.balk nav { margin-left: auto; display: flex; gap: 1rem; align-items: center; }
header.balk nav a { text-decoration: none; font-family: var(--display); font-size: 0.9rem; }

.meta { color: var(--zacht); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.meta span + span::before { content: "·"; margin: 0 0.5rem; opacity: 0.5; }
.uitleg { color: var(--zacht); font-size: 0.9rem; margin: 0 0 0.9rem; }

.pil {
  font-family: var(--display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--lijn-op); color: var(--zacht); white-space: nowrap;
}
.pil.goedgekeurd { border-color: rgba(79, 157, 114, 0.5); color: var(--groen); }
.pil.gepost { border-color: var(--goud); color: var(--goud); }
.pil.fout { border-color: rgba(139, 26, 58, 0.6); color: #d4667f; }
.pil.verwerken { border-color: var(--lijn-op); color: var(--zacht); }

button, .knop {
  font-family: var(--display); font-size: 0.88rem; color: var(--room);
  background: var(--vlak-op); border: 1px solid var(--lijn);
  border-radius: 6px; padding: 0.35rem 0.7rem; cursor: pointer;
  text-decoration: none; display: inline-block;
}
button:hover:not([disabled]), .knop:hover { border-color: var(--lijn-op); background: #241f2a; }
button[disabled] { opacity: 0.35; cursor: default; }
button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 2px solid var(--goud); outline-offset: 2px;
}
.hoofdknop {
  background: var(--goud); color: #17120a; border-color: var(--goud);
  font-weight: 600; font-size: 0.95rem; padding: 0.5rem 1.05rem;
}
.hoofdknop:hover:not([disabled]) { background: #d89f47; border-color: #d89f47; }
.gevaar { border-color: rgba(139, 26, 58, 0.5); color: #d4667f; }

input[type="text"], input[type="password"], textarea, select {
  width: 100%; background: var(--vlak); color: var(--room);
  border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: 0.6rem 0.75rem; font-family: var(--body); font-size: 0.95rem;
}
textarea { line-height: 1.55; resize: vertical; }
label { font-family: var(--display); font-size: 0.85rem; color: var(--zacht); }
input[type="file"] { color: var(--zacht); font-size: 0.9rem; }

.kaart {
  background: var(--vlak); border: 1px solid var(--lijn);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.melding {
  border-left: 3px solid var(--goud); background: var(--vlak);
  padding: 0.7rem 0.9rem; border-radius: 6px; margin-bottom: 1.25rem; font-size: 0.92rem;
}
.melding.fout { border-left-color: var(--bordeaux); }

/* --- overzicht --- */
.rijen { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.rij {
  display: flex; align-items: center; gap: 1rem;
  background: var(--vlak); border: 1px solid var(--lijn);
  border-radius: var(--radius); padding: 0.7rem 0.9rem; text-decoration: none; color: inherit;
}
.rij:hover { border-color: var(--lijn-op); }
.rij .titel { font-family: var(--display); font-weight: 500; }
.rij .rest { margin-left: auto; display: flex; align-items: center; gap: 0.9rem; }

/* --- batchscherm --- */
.grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.kleef { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.werk { display: flex; flex-direction: column; gap: 2rem; }

.post { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; }
.post-kop { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; }
.avatar {
  width: 30px; height: 30px; border-radius: 999px; flex: none;
  background: linear-gradient(140deg, var(--goud), var(--bordeaux));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--ground);
}
.handle { font-family: var(--display); font-weight: 600; font-size: 0.9rem; }

.frame { position: relative; background: #000; aspect-ratio: 4 / 5; }
.frame.r1x1 { aspect-ratio: 1 / 1; }
.frame.r9x16 { aspect-ratio: 9 / 16; }
.frame.r191x1 { aspect-ratio: 1.91 / 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blader {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 999px; padding: 0;
  border: none; background: rgba(13, 11, 14, 0.62); color: var(--room);
  font-size: 1.1rem; line-height: 1; display: grid; place-items: center;
}
.blader[disabled] { opacity: 0; pointer-events: none; }
.blader.vorige { left: 8px; }
.blader.volgende { right: 8px; }
.teller {
  position: absolute; top: 10px; right: 10px; background: rgba(13, 11, 14, 0.7);
  font-size: 0.75rem; font-variant-numeric: tabular-nums;
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.punten { display: flex; justify-content: center; gap: 5px; padding: 0.6rem 0; }
.punt { width: 6px; height: 6px; border-radius: 999px; background: var(--lijn-op); border: none; padding: 0; }
.punt.aan { background: var(--goud); }
.post-tekst { padding: 0 0.85rem 0.95rem; font-size: 0.92rem; white-space: pre-wrap; overflow-wrap: break-word; }
.post-tekst .na-knip { color: var(--zacht); }
.knip {
  display: block; border-top: 1px dashed var(--lijn-op);
  margin: 0.5rem 0 0.35rem; padding-top: 0.3rem;
  font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--zacht);
}

ol.strip { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.fotokaart {
  display: grid; grid-template-columns: auto 58px minmax(0, 1fr) auto;
  align-items: center; gap: 0.85rem;
  background: var(--vlak); border: 1px solid var(--lijn);
  border-radius: var(--radius); padding: 0.55rem 0.7rem;
}
.fotokaart.eruit { opacity: 0.42; }
.fotokaart.eruit .naam { text-decoration: line-through; }
.rang {
  font-family: var(--display); font-weight: 600; color: var(--goud);
  width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums;
}
.fotokaart.eruit .rang { color: var(--zacht); }
/* Vaste doos, cover erin: klopt bij elk formaat, of de batch nu staand of vierkant is. */
.fotokaart img { width: 58px; height: 72px; object-fit: cover; border-radius: 4px; display: block; }
.naam { font-family: var(--display); font-size: 0.92rem; font-weight: 500; }
.bron { color: var(--zacht); font-size: 0.8rem; }
.knoppen { display: flex; gap: 0.3rem; align-items: center; }
.schuif { width: 92px; accent-color: var(--goud); }

.variant {
  display: block; background: var(--vlak); border: 1px solid var(--lijn);
  border-left: 3px solid var(--lijn); border-radius: var(--radius);
  padding: 0.8rem 1rem; margin-bottom: 0.6rem; cursor: pointer;
}
.variant:hover { border-color: var(--lijn-op); }
.variant.gekozen { border-left-color: var(--goud); background: var(--vlak-op); }
.variant input { position: absolute; opacity: 0; }
.variant-kop { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.35rem; }
.variant-letter { font-family: var(--display); font-weight: 700; color: var(--goud); }
.variant-hint { color: var(--zacht); font-size: 0.82rem; }
.variant-tekst { font-size: 0.9rem; white-space: pre-wrap; color: var(--zacht); }
.variant.gekozen .variant-tekst { color: var(--room); }

.bijplakken {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--lijn);
}
.bijplakken input[type=file] { flex: 1 1 14rem; font-size: 0.85rem; color: var(--zacht); }

.tagbalk {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  margin-top: 0.7rem;
}
.tagbalk .uitleg { margin: 0; }
.tagrij { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tagknop {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--vlak); border: 1px solid var(--lijn); border-radius: 999px;
  color: var(--zacht); font-size: 0.82rem; padding: 0.28rem 0.7rem; cursor: pointer;
}
.tagknop:hover { border-color: var(--lijn-op); color: var(--room); }
.tagknop.aan { border-color: var(--goud); color: var(--room); background: var(--vlak-op); }
.tagweg { color: var(--zacht); opacity: 0; font-size: 0.95rem; line-height: 1; }
.tagknop:hover .tagweg { opacity: 0.7; }
.tagweg:hover { color: #d4667f; opacity: 1; }
.tagtoevoegen {
  background: none; border: 1px dashed var(--lijn); border-radius: 999px;
  color: var(--zacht); font-size: 0.82rem; padding: 0.28rem 0.7rem; cursor: pointer;
}
.tagtoevoegen:hover { border-color: var(--goud); color: var(--room); }

.tellers {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; color: var(--zacht);
  font-size: 0.82rem; margin-top: 0.45rem; font-variant-numeric: tabular-nums;
}
.tellers .waarschuwing { color: #d4667f; }
.rij-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.9rem; }
.status { color: var(--zacht); font-size: 0.85rem; }
.status.goed { color: var(--groen); }
.status.fout { color: #d4667f; }

table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--lijn); }
th { font-family: var(--display); font-weight: 600; color: var(--zacht); }

footer { border-top: 1px solid var(--lijn); margin-top: 2.5rem; padding-top: 1.25rem; color: var(--zacht); font-size: 0.85rem; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em;
  background: var(--vlak); border: 1px solid var(--lijn); border-radius: 5px; padding: 0.12rem 0.4rem;
}

@media (prefers-reduced-motion: no-preference) {
  .rij, .fotokaart, .variant, button, .knop { transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease; }
}
