/* Rekken beheren (sessie F, 22-11-2026, takenlijst 14, 15 en 17): soort per rek, zoeken en scannen in het inrichtblad,
   filter per soort in Meer, Rekken. Ronde 14-stijl: rustig, de kern eerst. */

/* naam en soort naast elkaar op de computer, onder elkaar op de telefoon */
.rkf-twee { display: grid; gap: 0 12px; }
@media (min-width: 700px) { .rkf-twee { grid-template-columns: 1fr auto; align-items: start; } }
.rkf-soort { display: grid; gap: 6px; margin: 0 0 10px; }
.rkf-label { font-size: 13px; font-weight: 600; color: var(--tekst-2); }
.rkf-soortkeuze button { padding: 0 14px; white-space: nowrap; }

/* zoekbalk met Scan ernaast; wat je zoekt staat er direct onder */
.rkf-zoekrij { display: flex; gap: 8px; align-items: stretch; margin: 0 0 4px; }
.rkf-zoekrij .rki-zoek { flex: 1 1 auto; min-width: 0; margin: 0; }
.rkf-scan { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; white-space: nowrap; }
.rkf-scan svg { width: 18px; height: 18px; }
.rkf-scan.aan { background: var(--accent-vlak) !important; color: var(--accent-tekst) !important; }

/* de camera in het blad */
.rkf-cam { margin: 8px 0 4px; }
.rkf-beeld { position: relative; height: 200px; border-radius: 14px; overflow: hidden; background: #000; }
@media (min-width: 1100px) { .rkf-beeld { height: 240px; } }
.rkf-beeld video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rkf-vizier { position: absolute; left: 50%; top: 46%; width: 150px; height: 150px; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 999px rgba(0, 0, 0, .28); pointer-events: none; }
.rkf-camhint { position: absolute; left: 12px; right: 12px; bottom: 10px; margin: 0; text-align: center; font-size: 13.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.rkf-cam.rkf-geen .rkf-beeld { height: auto; min-height: 72px; background: var(--vlak); }
.rkf-cam.rkf-geen .rkf-vizier, .rkf-cam.rkf-geen video { display: none; }
.rkf-cam.rkf-geen .rkf-camhint { position: static; padding: 16px; color: var(--tekst); text-shadow: none; }

/* het rek onder de zoekresultaten: het dier dat net een plek kreeg valt op; eerdere plekken achter Toon alle */
.rki-rij.gekozen.rkf-net { box-shadow: inset 0 0 0 2px var(--accent); }
.rkf-alle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; margin: 0 0 4px; padding: 0 14px; border-radius: 12px; background: var(--vlak-2, var(--vlak)); color: var(--accent-tekst); font: inherit; font-size: 14px; font-weight: 650; border: 0; cursor: pointer; }
.rkf-alle span { color: var(--tekst-3); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Meer, Rekken: filter per soort */
.keuze.rkf-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.keuze.rkf-filter button { flex: 0 0 auto; height: 38px; padding: 0 14px; white-space: nowrap; }
.rkf-filter .n { margin-left: 4px; font-variant-numeric: tabular-nums; opacity: .75; }

/* het rek in het inrichtblad compact (een regel per dier), zodat het laatste dier boven de knop Bewaar blijft */
.rkf-rek .rki-rij .rij { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
.rkf-rek .rki-rij .rij .foto { width: 40px; height: 40px; }
.rkf-rek .rki-rij .rij .tekst > :not(.t1) { display: none; }
.rkf-rek .rki-plek { height: 28px; min-width: 40px; font-size: 13px; }
.rkf-rek .rki-rij + .rki-rij { margin-top: 4px; }
