/* Bezoekersregistratie – werkinstructie-layout */

body.bv-doc.bz-doc {
  background: #e8eaee;
  color: #1a1a1a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bz-doc .bv-doc-article > .bz-departure-banner {
  margin: 1.25rem 2rem 0;
}

.bz-doc .bv-doc-article {
  min-height: 360px;
}

.bz-doc .bz-panel-lead {
  margin: -0.5rem 0 1.25rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.55;
}

.bz-doc .bz-section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2b42;
}

.bz-doc .bz-role-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.bz-doc .bv-doc-main .btn-primary {
  background: #2d5a8e;
  border: none;
  box-shadow: none;
}

.bz-doc .bv-doc-main .btn-primary:hover {
  background: #234a75;
}

.bz-doc .bv-doc-main .btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.bz-doc .bv-doc-main .btn-secondary:hover {
  background: #e8f0fa;
}

.bz-doc .bv-nav-btn .bz-tab-badge {
  float: right;
  margin-top: 1px;
}

.bz-doc .bv-nav-sub-btn .bz-tab-badge {
  float: right;
  margin-top: 1px;
  margin-left: 6px;
}

.bz-doc .bv-nav-group-toggle .bz-tab-badge {
  float: none;
  margin-left: auto;
}

.bz-note-count {
  font-weight: 400;
  color: #64748b;
}

.bz-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.bz-filter-btn {
  width: 100%;
  margin-top: 1.55rem;
}

.bz-day-summary {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1e3a5f;
  font-size: 0.95rem;
}

.bz-day-status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.bz-day-status--in {
  background: #dcfce7;
  color: #166534;
}

.bz-day-status--out {
  background: #e2e8f0;
  color: #334155;
}

.bz-day-status--open {
  background: #fef3c7;
  color: #92400e;
}

body.bz-embedded .bv-doc-header,
body.bz-embedded #bz-logout {
  display: none !important;
}

body.bz-embedded .bz-embedded-layout {
  grid-template-columns: 1fr;
  max-width: none;
}

body.bz-embedded .bv-doc-sidebar {
  display: none;
}

body.bz-embedded .bv-doc-main {
  padding: 0.75rem;
}

.bz-departure-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff4e5 0%, #ffe8cc 100%);
  border: 2px solid #e67e22;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.18);
  animation: bz-departure-pulse 2.5s ease-in-out infinite;
}

.bz-departure-banner[hidden] {
  display: none !important;
}

.bz-departure-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.bz-departure-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #7d4a0f;
}

.bz-departure-banner-text strong {
  font-size: 15px;
  color: #a04000;
}

@keyframes bz-departure-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(230, 126, 34, 0.18); }
  50% { box-shadow: 0 4px 20px rgba(230, 126, 34, 0.35); }
}

body.bz-embedded .form-select,
body.bz-embedded select {
  -webkit-appearance: menulist;
  appearance: menulist;
  pointer-events: auto;
}

.bz-history-section-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.05rem;
  color: #1a2b42;
}

.bz-history-section-title:first-child {
  margin-top: 0.25rem;
}

.bz-equip-hint {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.bz-optional {
  font-weight: 400;
  color: #64748b;
  font-size: 0.88em;
}

#bz-equipment-fields[hidden] {
  display: none !important;
}

.bz-id-check {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f0f7ff;
  border: 1px solid #c5ddf5;
  border-radius: 10px;
}

.bz-id-check[hidden] {
  display: none !important;
}

.bz-id-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
  cursor: pointer;
  margin: 0;
}

.bz-id-check-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.bz-id-check-hint {
  margin: 8px 0 0 28px;
  font-size: 12px;
  color: #5a6b7d;
  line-height: 1.45;
}

.bz-id-yes {
  color: #1a7f37;
  font-weight: 600;
}

.bz-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.bz-tab-badge[hidden] {
  display: none !important;
}

.bz-reservering-card,
.bz-bbq-card {
  flex-direction: column;
  align-items: stretch;
}

.bz-reservering-steps {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #5a6570;
}

.bz-reservering-steps li {
  margin-bottom: 0.35rem;
}

.bz-reservering-steps .bz-step-done {
  color: #1a1a1a;
  list-style-type: '✓ ';
}

.bz-reservering-steps .bz-step-current {
  color: #185fa5;
  font-weight: 600;
  list-style-type: '→ ';
}

.bz-reservering-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.bz-logeer-badge--status {
  margin-left: 0.35rem;
  background: #e8f0fa;
  color: #185fa5;
}

.bz-reservering-complete-form {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 12px;
}

.bz-reservering-complete-form .form-group {
  margin: 0;
}

.bz-reservering-complete-form .form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.bz-reservering-complete-form .bz-reservering-complete-btn {
  justify-self: start;
  margin-top: 4px;
}

.bz-reservering-complete-form .bz-reservering-complete-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bz-logeer-card--request {
  align-items: stretch;
}

.bz-logeer-card-hint {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  color: #5a6b7d !important;
  font-style: italic;
}

.bz-logeer-id-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  cursor: pointer;
}

.bz-logeer-id-check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bz-logeer-card--request .bz-logeer-approve-btn {
  align-self: center;
  white-space: nowrap;
}

.bz-logeer-details {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 4px 12px;
  margin: 12px 0 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
}

.bz-logeer-details dt {
  margin: 0;
  font-weight: 600;
  color: #475569;
}

.bz-logeer-details dd {
  margin: 0;
  color: #1e293b;
}

.bz-logeer-detail {
  font-size: 12px;
  color: #64748b;
}

.bz-logeer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.bz-logeer-card:last-child {
  margin-bottom: 0;
}

.bz-logeer-card h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
}

.bz-logeer-card p {
  margin: 0;
  font-size: 13px;
  color: #475569;
}

.bz-logeer-card-meta {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #64748b !important;
}

.bz-logeer-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f4ea;
  color: #1a7f37;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bz-logeer-linked {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #eef6ff;
  border: 1px solid #b9d4f5;
  border-radius: 10px;
}

.bz-logeer-linked strong {
  display: block;
  margin-bottom: 6px;
  color: #1e3a5f;
}

.bz-logeer-linked p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.bz-logeer-unlink {
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
}

.bz-melding-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.bz-melding-card--nieuw {
  border-color: #f5c6a5;
  background: #fffaf5;
}

.bz-melding-card h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
}

.bz-melding-card p {
  margin: 0;
  font-size: 13px;
  color: #475569;
}

.bz-melding-detail {
  margin-top: 6px !important;
}

.bz-melding-card-meta {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #64748b !important;
}

.bz-melding-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bz-melding-badge--nieuw {
  background: #fde8d8;
  color: #9a3412;
}

.bz-melding-badge--gezien {
  background: #e8eaee;
  color: #475569;
}

.bz-melding-hint {
  margin-top: 8px !important;
  font-size: 12px !important;
}

.bz-melding-hint--warn {
  color: #b45309 !important;
  font-weight: 600;
}

.bz-melding-seen-btn {
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 640px) {
  .bz-melding-card {
    flex-direction: column;
    align-items: stretch;
  }

  .bz-melding-seen-btn {
    width: 100%;
  }
}

#bz-visit-type,
#bz-filter-type {
  -webkit-appearance: menulist;
  appearance: menulist;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  min-height: 44px;
}

@media (max-width: 900px) {
  .bz-doc .bv-doc-article > .bz-departure-banner {
    margin: 1rem 1rem 0;
  }

  .bz-filter-btn {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .bz-logeer-card {
    flex-direction: column;
    align-items: stretch;
  }

  .bz-logeer-checkin-btn {
    width: 100%;
  }
}

.bz-section-title-form {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.bz-section-hint {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bz-mymm-embed .bz-form-embed-frame {
  min-height: 760px;
}

.bz-form-embed {
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.bz-form-embed-frame {
  display: block;
  width: 100%;
  height: min(88vh, 1200px);
  min-height: 680px;
  border: none;
  background: #fff;
}

body.bz-embedded .bz-form-embed-frame {
  min-height: 720px;
  height: min(92vh, 1300px);
}

.bz-privacy {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #f0f7ff;
  border: 1px solid #c5daf5;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1e3a5f;
}

.bz-warning {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #b45309;
  line-height: 1.4;
}

.bz-readonly {
  background: #f8fafc !important;
  color: #64748b;
  cursor: not-allowed;
}

.bz-form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.92rem;
}

.bz-form-error[hidden] {
  display: none;
}

.bz-submit-wrap {
  margin-top: 1.25rem;
}

.bz-submit-wrap .btn {
  width: 100%;
  max-width: 420px;
  padding: 14px 20px;
  font-size: 1.05rem;
}

.bz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.bz-table th,
.bz-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.bz-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

.bz-table tbody tr:hover {
  background: #fafbff;
}

.bz-table--meldingen {
  margin-top: 0.25rem;
}

.bz-melding-rubriek td {
  background: #eef2f7;
  color: #1a2b42;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid #d8dee8;
  padding-top: 1rem;
}

.bz-melding-rubriek:first-child td {
  padding-top: 0.65rem;
}

.bz-melding-rubriek--sub td {
  background: #f6f8fa;
  color: #4a5d73;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding-top: 0.55rem;
}

.bz-melding-row--nieuw,
.bz-melding-row--open {
  background: #fffaf5;
}

.bz-melding-row--nieuw:hover,
.bz-melding-row--open:hover {
  background: #fff5eb;
}

.bz-melding-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e8eaee;
  color: #475569;
}

.bz-melding-status--nieuw {
  background: #fde8d8;
  color: #9a3412;
}

.bz-melding-row--alert {
  background: #fef2f2;
}

.bz-melding-row--alert:hover {
  background: #fee2e2;
}

.bz-melding-status--alert {
  background: #fee2e2;
  color: #b91c1c;
}

/* RDW-indicatoren (verzekering/APK) bij kentekens in het Meldingoverzicht */
.bz-kt-rdw {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
}

.bz-kt-ind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #475569;
  white-space: nowrap;
}

.bz-kt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.bz-kt-dot--ok {
  background: #16a34a;
}

.bz-kt-dot--alert {
  background: #dc2626;
}

.bz-kt-dot--onbekend {
  background: #94a3b8;
}

.bz-kt-person-cell {
  min-width: 12rem;
}

.bz-kt-person {
  width: 100%;
  min-width: 10rem;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  color: #0f172a;
  background: #fff;
}

.bz-kt-person:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

.bz-kt-person--empty {
  border-style: dashed;
  background: #fffbeb;
}

.bz-kt-person:disabled {
  opacity: 0.7;
}

.bz-melding-status--open {
  background: #dbeafe;
  color: #1d4ed8;
}

.bz-melding-status--present {
  background: #dcfce7;
  color: #166534;
}

.bz-melding-row--empty td {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.88rem;
  background: #fafbfc;
}

.bz-melding-row--present {
  background: #f6fef8;
}

.bz-melding-row--present:hover {
  background: #ecfdf3;
}

.bz-melding-row--checked-out {
  background: #f8f9fb;
}

.bz-melding-row--checked-out:hover {
  background: #f1f3f6;
}

.bz-melding-status--checked-out {
  color: #5a6578;
  background: #eef1f5;
}

.bz-time-flag {
  color: #dc2626;
  font-weight: 800;
  margin-left: 0.15em;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0 0.1em;
  font: inherit;
  line-height: 1;
}

.bz-time-flag:hover,
.bz-time-flag:focus-visible {
  text-decoration: underline;
  outline: 2px solid #fca5a5;
  outline-offset: 2px;
}

.bz-time-popover {
  position: absolute;
  z-index: 1200;
  min-width: 12rem;
  max-width: 16rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  font-size: 0.88rem;
  line-height: 1.45;
}

.bz-time-popover-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #b91c1c;
}

.bz-time-popover p {
  margin: 0.2rem 0;
}

.bz-time-popover-muted {
  color: #64748b;
  font-size: 0.82rem;
}

.bz-time-popover-close {
  margin-top: 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.bz-row--updated {
  animation: bz-row-updated 3.2s ease;
}

.bz-deep-link-flash {
  animation: bz-row-updated 2.4s ease;
}

@keyframes bz-row-updated {
  0%,
  15% {
    background: #fef3c7;
    box-shadow: inset 0 0 0 2px #f59e0b;
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

.bz-table-link {
  border: none;
  background: none;
  padding: 0;
  color: #2d5a8e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bz-table-link:hover {
  color: #234a75;
}

.bz-table-link--muted {
  color: #64748b;
  font-weight: 500;
}

.bz-melding-card--focus {
  outline: 2px solid #2d5a8e;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(45, 90, 142, 0.12);
}

.bz-actions-cell {
  white-space: nowrap;
}

.bz-actions-cell .btn {
  margin: 0 4px 4px 0;
}

.bz-edit-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bz-edit-dialog[hidden] {
  display: none !important;
}

.bz-edit-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(4px);
}

.bz-edit-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.bz-edit-dialog-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: #1a2b42;
}

.bz-edit-dialog-lead {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bz-edit-dialog-actions {
  margin-top: 0.5rem;
  justify-content: flex-end;
  gap: 10px;
}

.bz-manual-register {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e8eaee;
}

@media (max-width: 640px) {
  .bz-actions-cell .btn {
    display: block;
    width: 100%;
    margin: 0 0 6px;
  }
}

.bz-checkout-btn {
  padding: 8px 14px !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
}

.bz-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 10px;
}

.bz-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
  align-items: end;
}

.bz-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 12px 20px;
  border-radius: 10px;
  background: #1e293b;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bz-toast--ok {
  background: #166534;
}

.bz-toast--err {
  background: #b91c1c;
}

.bz-toast[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .bz-table thead {
    display: none;
  }
  .bz-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
  }
  .bz-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: none;
    padding: 6px 8px;
  }
  .bz-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
  }
  .bz-kt-person-cell {
    min-width: 0;
    align-items: center;
  }
  .bz-kt-person {
    min-width: 0;
    flex: 1;
  }
}

/* Leenfietsregistratie */
.bz-lf-maand {
  color: #a03c3c;
}

.bz-lf-rek {
  display: flex;
  gap: 10px;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}

.bz-lf-slot {
  flex: 1;
  min-width: 150px;
  background: #fff;
  border: 1px solid #d7dde2;
  border-radius: 8px;
  padding: 10px 14px;
  border-left: 6px solid #2e7d4f;
}

.bz-lf-slot--uit {
  border-left-color: #b57a1e;
}

.bz-lf-slot-nr {
  font-weight: 700;
  font-size: 1rem;
}

.bz-lf-slot-status {
  font-size: 0.85rem;
  color: #5a6b7a;
  margin-top: 2px;
}

.bz-lf-slot-status--vrij {
  color: #2e7d4f;
  font-weight: 600;
}

.bz-lf-slot-status--uit {
  color: #b57a1e;
  font-weight: 600;
}

.bz-lf-paneel {
  background: #fff;
  border: 1px solid #d7dde2;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 1.5rem;
}

.bz-lf-paneel-titel {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a03c3c;
  margin: 0 0 14px;
  font-weight: 700;
}

.bz-lf-field--klein {
  flex: 0 0 120px;
  min-width: 120px;
}

.bz-lf-field--middel {
  flex: 0 0 200px;
  min-width: 180px;
}

.bz-lf-field--groot {
  flex: 1;
  min-width: 220px;
}

.bz-lf-checks-row {
  align-items: flex-end;
}

.bz-lf-vinkje {
  background: #f5f6f4;
  border: 1px solid #d7dde2;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 0;
  align-self: flex-end;
}

.bz-lf-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.bz-lf-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #1a2b42;
  color: #fff;
  white-space: nowrap;
}

.bz-lf-centreer {
  text-align: center;
}

.bz-lf-ja {
  color: #2e7d4f;
  font-weight: 700;
}

.bz-lf-nee {
  color: #5a6b7a;
}

.bz-lf-row--retour td {
  background: #e3f2e9;
}

.bz-lf-row--open td {
  background: #fbf1dd;
}

.bz-lf-leeg {
  padding: 24px;
  text-align: center;
  color: #5a6b7a;
}

.bz-lf-medewerker {
  width: 130px;
  padding: 4px 6px;
  font-size: 0.9rem;
}

.bz-lf-status-opmerking {
  min-width: 160px;
  width: 100%;
  max-width: 220px;
  padding: 4px 6px;
  font-size: 0.9rem;
}

.bz-lf-check {
  width: 18px;
  height: 18px;
  accent-color: #2e7d4f;
  cursor: pointer;
}

.bz-lf-acties {
  display: flex;
  gap: 10px;
  margin: 14px 0 24px;
  flex-wrap: wrap;
}

.bz-lf-regels {
  background: #fff;
  border: 1px solid #d7dde2;
  border-radius: 8px;
  border-left: 6px solid #a03c3c;
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.bz-lf-regels strong {
  color: #a03c3c;
}

.bz-lf-regels p + p {
  margin-top: 8px;
}

.bz-lf-panel .btn-primary {
  background: #a03c3c;
  border-color: #a03c3c;
}

.bz-lf-retour:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bz-lf-historie {
  margin: 28px 0 20px;
  padding-top: 8px;
  border-top: 1px solid #d7dde2;
}

.bz-lf-historie .bz-lf-paneel-titel {
  margin-bottom: 4px;
}

.bz-lf-table--historie .bz-lf-row--retour td {
  background: #f4f7f9;
}

.bz-lf-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.bz-lf-status--uit {
  background: #fbf1dd;
  color: #8a5a00;
}

.bz-lf-status--terug {
  background: #e3f2e9;
  color: #2e7d4f;
}

.bz-lf-aanvragen {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fff8e8;
  border: 1px solid #e8d4a8;
  border-radius: 8px;
}

.bz-lf-aanvragen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz-lf-aanvraag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e8d4a8;
  border-radius: 6px;
}

.bz-lf-aanvraag--focus {
  outline: 2px solid #a03c3c;
  outline-offset: 2px;
}

.bz-lf-aanvraag-meta {
  flex: 1 1 200px;
  font-size: 0.92rem;
}

.bz-lf-aanvraag-acties {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media print {
  body.bv-doc .bv-doc-header,
  body.bv-doc .bv-doc-sidebar,
  .bz-lf-paneel,
  .bz-lf-acties,
  .bz-lf-rek,
  .bz-lf-panel button {
    display: none !important;
  }

  body.bv-doc .bv-doc-main {
    padding: 0;
  }

  .bz-lf-table th {
    background: #eee !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .bz-lf-row--retour td,
  .bz-lf-row--open td {
    background: #fff !important;
  }

  .bz-lf-regels {
    border: none;
    border-top: 1px solid #000;
    border-radius: 0;
    padding: 12px 0;
  }
}

/* Statusbadges in Bezoekershistorie */
.bz-hist-status {
	display: inline-block;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
}

.bz-hist-status--done {
	background: #e8f5e9;
	color: #2e6b3a;
}

.bz-hist-status--rejected {
	background: #fdecea;
	color: #b3261e;
}

.bz-hist-status--open {
	background: #fff7df;
	color: #7a5a00;
}

/* Piketdienst-banner bovenaan bezoekersregistratie */
.bz-piket-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.65rem 1rem;
	margin: 0 0 1rem;
}

.bz-piket-mount {
	flex: 1 1 16rem;
	min-width: 0;
}

.bz-piket-mount .pk-current {
	margin-bottom: 0;
}

.bz-piket-link {
	flex: 0 0 auto;
	align-self: center;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bv-accent-deep, #9A1F1F);
	text-decoration: none;
	white-space: nowrap;
}

.bz-piket-link:hover,
.bz-piket-link:focus-visible {
	text-decoration: underline;
}
