* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e5e7eb;
  --surface: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: #f1f5f9;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

/* ===== Header ===== */

.site-header-stack {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Segmentstrook: helemaal boven, dunne rij (laag profiel) */
.jrc-segment-rail {
  flex-shrink: 0;
  background: rgba(3, 7, 14, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jrc-segment-rail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 1.1rem;
  padding: 0.12rem 0;
  min-height: 0;
  line-height: 1.2;
}

.jrc-segment {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  padding: 0;
  border: none;
  transition: color 0.15s ease;
}

.jrc-segment-title {
  color: inherit;
}

.jrc-segment--soon {
  cursor: default;
  opacity: 0.68;
  pointer-events: none;
}

.jrc-segment--active {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.jrc-segment--active:hover {
  color: #fff;
}

.site-header {
  overflow: visible;
  backdrop-filter: blur(18px);
  background: rgba(4, 8, 14, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(220px, 280px) auto auto;
  align-items: center;
  gap: 30px;
}

.header-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}
.header-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}
.header-menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.menu-open .header-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .header-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .header-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav-wrap {
  display: contents;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-wordmark {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  line-height: 1.12;
  text-decoration: none;
  color: #ffffff;
}

.logo-wordmark:focus-visible {
  outline: 2px solid rgba(248, 250, 252, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}

.logo-title {
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.5625rem;
  letter-spacing: -0.03em;
  color: #f1f5f9;
}

.logo-slogan {
  display: block;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.4;
  max-width: 20rem;
}

.logo-wordmark--footer .logo-title {
  font-size: 1.6875rem;
}

.logo-wordmark--footer .logo-slogan {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.75);
}

@media (max-width: 992px) {
  .logo-title {
    font-size: 1.3125rem;
  }

  .logo-slogan {
    font-size: 0.75rem;
    letter-spacing: 0.035em;
    max-width: 18rem;
  }

  .logo-wordmark--footer .logo-title {
    font-size: 1.375rem;
  }
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 5px;
  min-height: 42px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 12px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 400;
}

.header-search input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.header-search button {
  border: none;
  background: #111827;
  color: #ffffff;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.header-search button:hover {
  background: #1f2937;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.2s ease;
  white-space: nowrap;
}

.header-link-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header,
.header-inner,
.header-actions {
  overflow: visible;
}

.account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.account-toggle:hover {
  color: #ffffff;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  padding: 8px;
  z-index: 3000;
  display: none;
}

.account-dropdown.open .account-menu {
  display: block;
}

.account-menu a,
.account-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.account-menu a:hover,
.account-menu button:hover {
  background: #f8fafc;
}

.account-dropdown:not(.is-authenticated) .account-menu {
  display: none !important;
}

/* =========================
   Car detail page (car.html)
   ========================= */

.car-detail-page {
  padding: 48px 0 72px;
}

.car-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.car-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.car-detail-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.car-detail-subtitle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.car-detail-title {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.car-detail-landlord-rating {
  margin-top: 4px;
}

.car-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 12px;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e0edff;
  color: #1d4ed8;
}

.badge-icon-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.badge-label {
  color: #64748b;
}

.badge-value {
  font-weight: 600;
}

.car-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 14px;
}

.car-gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #020617;
}

.car-gallery-main-image {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.car-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.car-gallery-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 13px;
}

.car-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-gallery-thumb--placeholder {
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, #0f172a, #020617);
}

.car-detail-pricing-block {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #0f172a;
  color: #e5e7eb;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
}

.car-detail-price-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.car-detail-price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

.car-detail-price-current {
  font-size: 24px;
  font-weight: 700;
}

.car-detail-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: #cbd5f5;
}

.car-detail-options {
  font-size: 13px;
  color: #e5e7eb;
  opacity: 0.9;
}

/* Beschrijving onder prijsblok (autodetail) */
.car-detail-extra {
  margin-top: 22px;
  width: 100%;
  max-width: 720px;
}

.car-detail-extra-inner {
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.car-detail-section-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.car-detail-description-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.car-detail-description-empty {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #94a3b8;
  font-style: italic;
}

.car-detail-sidebar {
  position: sticky;
  top: 96px;
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.car-host-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.car-host-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 14px;
}

.car-host-avatar-initials {
  text-transform: uppercase;
}

.car-host-label {
  font-size: 12px;
  color: #64748b;
}

.car-host-name {
  font-size: 15px;
  font-weight: 600;
}

.car-host-link {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  font-size: 13px;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  color: #0f172a;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.car-host-link:hover {
  background: #f9fafb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.car-cta-button {
  width: 100%;
  border-radius: 999px;
  padding: 14px 18px;
  border: none;
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  color: #f9fafb;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.16);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

.car-cta-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
  box-shadow:
    0 20px 46px rgba(37, 99, 235, 0.6),
    0 0 0 1px rgba(15, 23, 42, 0.2);
}

.car-cta-helptext {
  font-size: 12px;
  color: #6b7280;
}

.car-reserve-inline {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.car-reserve-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.car-reserve-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.car-reserve-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.car-reserve-field label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.car-reserve-datetime-hint {
  margin: 4px 0 0;
  padding-left: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.car-reserve-price-estimate {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.car-reserve-price-estimate-inner {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: #9ca3af;
  letter-spacing: 0.01em;
}

.car-reserve-price-estimate-text {
  flex: 1;
  min-width: 0;
}

.car-reserve-info-wrap {
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.car-reserve-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fafafa;
  color: #a1a1aa;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: help;
  transition:
    color 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.car-reserve-info-icon:hover,
.car-reserve-info-icon:focus-visible {
  color: #64748b;
  border-color: #cbd5e1;
  background: #fff;
  outline: none;
}

.car-reserve-info-tooltip {
  pointer-events: none;
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: min(260px, 72vw);
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  font-family: inherit;
  line-height: 1.45;
  letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

.car-reserve-info-tooltip strong {
  font-weight: 600;
  color: #334155;
}

.car-reserve-info-wrap:hover .car-reserve-info-tooltip,
.car-reserve-info-wrap:focus-within .car-reserve-info-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (hover: none) {
  .car-reserve-info-tooltip {
    left: auto;
    right: 0;
    transform: none;
    bottom: calc(100% + 6px);
  }

  .car-reserve-info-wrap:active .car-reserve-info-tooltip {
    opacity: 1;
    visibility: visible;
  }
}

.car-reserve-field input[type="datetime-local"],
.car-reserve-field select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  font-size: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  appearance: none;
}

.car-reserve-field select {
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.car-reserve-field select:focus-visible,
.car-reserve-field select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow:
    0 0 0 1px #2563eb,
    0 4px 10px rgba(37, 99, 235, 0.18);
}

.car-reserve-select {
  position: relative;
  padding-right: 32px;
}

.car-reserve-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 6px;
}

.car-reserve-error {
  font-size: 12px;
  color: #b91c1c;
}

.car-calendar {
  margin-top: 6px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.car-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.car-calendar-title {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.car-calendar-legend {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}

.cal-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 4px;
}

.cal-legend-dot--available {
  background: #22c55e;
}

.cal-legend-dot--unavailable {
  background: #ef4444;
}

.car-calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.car-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  padding: 0 2px;
}
.car-calendar-nav-label {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-transform: capitalize;
  flex: 1;
  text-align: center;
  letter-spacing: -0.01em;
}
.car-calendar-nav-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.car-calendar-nav-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.car-calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.car-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.car-calendar-dow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-transform: uppercase;
}
.car-calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.car-calendar-cell {
  min-height: 30px;
  font-size: 11px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-calendar-cell--empty {
  background: transparent;
}

.car-calendar-cell--day {
  cursor: pointer;
}

.car-calendar-cell--available {
  background: #dcfce7;
  color: #166534;
}

.car-calendar-cell--unavailable {
  background: #fee2e2;
  color: #b91c1c;
  cursor: not-allowed;
}

.car-calendar-cell--disabled {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.car-calendar-cell--selected {
  outline: 2px solid #1d4ed8;
  outline-offset: -1px;
}

.car-calendar-cell--range,
.car-calendar-cell--range-start,
.car-calendar-cell--range-end {
  background: #16a34a;
  color: #ecfdf5;
}

.car-calendar-cell--range-start,
.car-calendar-cell--range-end {
  box-shadow: 0 0 0 1px #14532d;
}

.car-calendar-cell--range-preview {
  background: #bbf7d0;
  color: #15803d;
}

.car-reserve-submit-wrap {
  margin-top: 8px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
}

.car-reserve-submit-track {
  display: flex;
  width: 200%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-reserve-submit-wrap--confirm .car-reserve-submit-track {
  transform: translateX(-50%);
}

.car-reserve-submit,
.car-reserve-confirm {
  flex: 0 0 50%;
  min-width: 0;
  border-radius: 999px;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.car-reserve-submit {
  background: #111827;
  color: #f9fafb;
}

.car-reserve-submit:hover {
  background: #020617;
}

.car-reserve-confirm {
  background: radial-gradient(circle at 0 0, #22c55e 0, #0f766e 42%, #022c22 100%);
  color: #f0fdfa;
  box-shadow:
    0 10px 30px rgba(15, 118, 110, 0.6),
    0 0 0 1px rgba(15, 23, 42, 0.18);
}

.car-reserve-confirm:hover:not(:disabled) {
  background: radial-gradient(circle at 0 0, #4ade80 0, #0d9488 50%, #022c22 100%);
  transform: translateY(-1px);
  box-shadow:
    0 14px 36px rgba(13, 148, 136, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.2);
}

.car-reserve-confirm:disabled {
  opacity: 0.9;
  cursor: wait;
}

.car-back-link {
  display: inline-flex;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 960px) {
  .car-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .car-detail-pricing-block {
    width: 100%;
    align-self: stretch;
  }

  .car-detail-sidebar {
    position: static;
  }

  .car-detail-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .car-reserve-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Gerelateerde auto’s (autodetail) — premium strip + marquee */
.car-related-wrap {
  --jrc-related-accent: #2563eb;
  --jrc-related-accent-soft: rgba(37, 99, 235, 0.12);
  --jrc-related-ink: #0c1222;
  --jrc-related-muted: #64748b;
  position: relative;
  margin-top: 64px;
  padding: 44px 0 52px;
  border-top: none;
  isolation: isolate;
}

.car-related-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background:
    radial-gradient(ellipse 72% 95% at 12% -35%, rgba(37, 99, 235, 0.11), transparent 52%),
    radial-gradient(ellipse 55% 70% at 92% 20%, rgba(14, 165, 233, 0.09), transparent 48%),
    linear-gradient(178deg, #eef2ff 0%, #f8fafc 38%, #ffffff 100%);
  z-index: -1;
  pointer-events: none;
}

.car-related-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.08) 20%,
    rgba(15, 23, 42, 0.08) 80%,
    transparent
  );
  pointer-events: none;
}

.car-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.car-related-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.car-related-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: #ffffff;
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.car-related-nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.2);
}

.car-related-nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.car-related-head-copy {
  min-width: min(100%, 280px);
  max-width: 52rem;
}

.car-related-title {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  line-height: 1.15;
  background: linear-gradient(100deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.car-related-sub {
  margin: 0;
  font-size: 14px;
  color: var(--jrc-related-muted);
  line-height: 1.55;
  max-width: 40em;
}

.car-related-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 10px 16px 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--jrc-related-accent);
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.12),
    0 1px 2px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.car-related-all-link:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.car-related-all-chev {
  opacity: 0.9;
  margin-left: 2px;
}

.car-related-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px max(0px, env(safe-area-inset-right)) 20px max(0px, env(safe-area-inset-left));
  position: relative;
  isolation: isolate;
  /* Geen mask-image: gaf op brede schermen een witte “wash” vanaf ~midden (browserverschillen). */
}

/* Alleen heel klein aan de echte rand: hint dat je kunt scrollen, zonder kaarten te bedekken. */
.car-related-marquee::before,
.car-related-marquee::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 20px;
  width: clamp(20px, 4vw, 48px);
  z-index: 2;
  pointer-events: none;
}

.car-related-marquee::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 252, 0.35) 70%,
    transparent 100%
  );
}

.car-related-marquee::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 252, 0.35) 70%,
    transparent 100%
  );
}

.car-related-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  min-width: 0;
  will-change: auto;
  padding-inline: max(16px, env(safe-area-inset-left))
    max(16px, env(safe-area-inset-right));
}

.car-related-card {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: clamp(268px, 28vw, 320px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 4px 22px rgba(15, 23, 42, 0.07),
    0 24px 48px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.2s ease;
  scroll-snap-align: start;
}

.car-related-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow:
    0 12px 36px rgba(37, 99, 235, 0.14),
    0 28px 56px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.car-related-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
}

.car-related-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
}

.car-related-card-media-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(2, 6, 23, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.car-related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.car-related-card:hover .car-related-card-img {
  transform: scale(1.07);
}

.car-related-pill {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: calc(100% - 52px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-related-pill-ico {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.95;
}

.car-related-fav-glyph {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: rgba(248, 250, 252, 0.92);
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.car-related-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.car-related-card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--jrc-related-ink);
}

.car-related-card[data-brand="mercedes-benz"] .car-related-card-title,
.car-related-card[data-brand="mercedes"] .car-related-card-title {
  background: linear-gradient(95deg, #0f172a, #00adb5 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.car-related-card[data-brand="lamborghini"] .car-related-card-title {
  background: linear-gradient(95deg, #c2410c, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.car-related-card[data-brand="ferrari"] .car-related-card-title {
  background: linear-gradient(95deg, #b91c1c, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.car-related-card[data-brand^="bmw"] .car-related-card-title,
.car-related-card[data-brand="bmw"] .car-related-card-title {
  background: linear-gradient(95deg, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.car-related-card-tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--jrc-related-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-related-card-tagline--empty {
  opacity: 0.65;
  font-style: italic;
}

.car-related-card-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 6px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.car-related-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  min-width: 0;
}

.car-related-ico {
  width: 15px;
  height: 15px;
  color: var(--jrc-related-accent);
  opacity: 0.88;
}

.car-related-spec-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.2;
}

.car-related-spec-val {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  line-height: 1.2;
  word-break: break-word;
}

.car-related-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.car-related-card-price-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.car-related-card-price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.car-related-card-price-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.car-related-card-price-big {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--jrc-related-ink);
  line-height: 1;
}

.car-related-card-price-unit {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.car-related-card-cta {
  flex-shrink: 0;
}

.car-related-card-cta-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #0369a1 100%);
  box-shadow:
    0 6px 18px rgba(37, 99, 235, 0.38),
    0 1px 2px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.car-related-card:hover .car-related-card-cta-inner {
  transform: translateY(-1px);
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.45),
    0 2px 4px rgba(15, 23, 42, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .car-related-marquee {
    padding-bottom: 16px;
  }

  .car-related-track {
    flex-wrap: nowrap;
    width: max-content;
    gap: 20px;
    padding-inline: max(16px, env(safe-area-inset-left))
      max(16px, env(safe-area-inset-right));
  }

  .car-related-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 860px) {
  .car-related-head {
    align-items: center;
    gap: 12px;
  }
  .car-related-controls {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .car-related-marquee::before,
  .car-related-marquee::after {
    display: none;
  }
  .car-related-card {
    width: min(85vw, 320px);
  }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 600px;
  background-image: url("/images/hero1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 20;
  color: #ffffff;
  overflow: visible;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  max-width: 700px;
  font-weight: 750;
}

.hero-description {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  margin-bottom: 24px;
}

/* ===== Hero search ===== */

.hero-search {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  gap: 10px;
  align-items: stretch;
  background: #ffffff;
  padding: 8px;
  border-radius: 18px;
  max-width: 930px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  overflow: visible;
}

.search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.search-field label {
  display: none;
}

.search-field input[type="hidden"] {
  display: none !important;
}

.custom-select {
  position: relative;
  width: 100%;
  overflow: visible;
}

.custom-select-trigger {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.custom-select-trigger:focus {
  outline: none;
}

.custom-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.custom-select-clear {
  display: none;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

.custom-select-clear.is-visible {
  display: inline-flex;
}

.custom-select-clear:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.custom-select-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -2px;
  flex: 0 0 auto;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(225deg);
  margin-top: 3px;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 8px;
  display: none;
  z-index: 99999;
}

.custom-select.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}

.custom-select-option:hover {
  background: #f8fafc;
}

.search-button {
  min-width: 138px;
  height: 48px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
  align-self: stretch;
}

.search-button:hover {
  background: var(--primary-dark);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-panel-card {
  width: 100%;
  max-width: 390px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 24px;
  color: #ffffff;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.panel-label {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-panel-card h3 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-panel-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-panel-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60a5fa;
}

/* ===== Stats strip ===== */

.stats-strip {
  margin-top: -22px;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.stat-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 15px;
}

/* ===== Sections ===== */

.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-text {
  max-width: 520px;
  color: var(--muted);
}

/* ===== Cars ===== */

.cars-section {
  padding: 72px 0;
}

.container--wide {
  max-width: 1400px;
}

.aanbod-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 24px;
}

.aanbod-filters {
  flex-shrink: 0;
  width: 240px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 24px;
}

.aanbod-filters-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.aanbod-filters-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aanbod-sort-wrap {
  width: 100%;
  margin: 0 0 18px;
}

.aanbod-sort-wrap .filter-group {
  width: 100%;
}

/* ===== Sorter (klein rechts) ===== */
.aanbod-sort-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: -6px 0 18px;
}

.aanbod-sort-row .aanbod-sort-wrap {
  width: 220px;
  margin: 0;
}

.aanbod-sort-row .aanbod-sort-wrap label {
  font-size: 12px;
}

.aanbod-sort-row .aanbod-sort-wrap select {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .aanbod-sort-row {
    justify-content: flex-start;
    margin: 14px 0 18px;
  }
  .aanbod-sort-row .aanbod-sort-wrap {
    width: 100%;
  }
}

.filter-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.filter-group select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.filter-reset {
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.filter-reset:hover {
  background: #e2e8f0;
  color: #475569;
}

.aanbod-main {
  flex: 1;
  min-width: 0;
}

.aanbod-filters-toggle {
  display: none;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cars-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.loading-card,
.error-message,
.empty-message {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.empty-message a {
  text-decoration: underline;
}

.favorite-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: auto;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
  opacity: 0;
  z-index: 10000;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.favorite-toast[hidden] {
  display: none !important;
}

.favorite-toast.favorite-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.favorite-toast:not([hidden]) {
  display: block;
}

.favorite-toast {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.favorite-toast.favorite-toast--error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.favorite-toast-link {
  text-decoration: underline;
  color: inherit;
  font-weight: 600;
}

.favorite-toast-link:hover {
  text-decoration: underline;
}

.car-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.car-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #dbe4ee;
}

.car-content {
  padding: 20px;
}

.car-title {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 8px;
}

.car-meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
}

.car-price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.car-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.car-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 800;
}

.car-button:hover {
  background: var(--primary-dark);
}

/* ===== Footer ===== */

.site-footer {
  margin-top: 90px;
  background: #0c1322;
  color: #e5e7eb;
}

.footer-top-strip {
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 60px;
  padding: 64px 0 42px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.footer-description {
  color: rgba(229, 231, 235, 0.72);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.footer-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column a,
.footer-note {
  display: block;
  color: rgba(229, 231, 235, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

.footer-column a:hover,
.footer-brand-links a:hover,
.footer-legal a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom-inner p {
  color: rgba(229, 231, 235, 0.6);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(229, 231, 235, 0.68);
  font-size: 13px;
  font-weight: 500;
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0;
    min-height: 64px;
    padding: 12px 0;
  }

  .header-menu-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .header-nav-wrap {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.2s ease;
    gap: 0;
    border-radius: 16px;
  }

  .site-header.menu-open .header-nav-wrap {
    max-height: calc(100vh - 120px);
    min-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: visible;
    padding: 14px 14px 12px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
      180deg,
      rgba(12, 19, 34, 0.96) 0%,
      rgba(9, 14, 24, 0.94) 100%
    );
    box-shadow:
      0 18px 34px rgba(2, 6, 23, 0.34),
      0 1px 0 rgba(255, 255, 255, 0.05) inset;
  }

  .header-nav-wrap .header-search {
    order: 1;
    width: 100%;
    margin: 0 0 12px;
    min-height: 46px;
    padding: 6px;
  }

  .header-nav-wrap .main-nav {
    order: 2;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
  }

  .header-nav-wrap .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(248, 250, 252, 0.92);
  }
  .header-nav-wrap .main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
  }

  .header-nav-wrap .header-actions {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 2px;
  }

  .header-nav-wrap .account-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav-wrap .account-menu {
    position: static;
    top: auto;
    right: auto;
    min-width: 0;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    padding: 6px;
  }

  .header-nav-wrap .header-link-button {
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    font-weight: 600;
  }

  .header-nav-wrap .account-toggle {
    min-height: 48px;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    width: 100%;
    font-weight: 600;
  }

  .header-nav-wrap .header-search input {
    font-size: 16px;
  }

  .header-nav-wrap .header-search button {
    min-height: 34px;
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  .site-header.menu-open .header-nav-wrap {
    margin-top: 10px;
    padding: 12px 12px 10px;
    border-radius: 14px;
  }

  .header-nav-wrap .main-nav a {
    min-height: 42px;
    font-size: 15px;
    padding: 0 4px;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .header-nav-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .header-search {
    order: 2;
  }

  .main-nav {
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    order: 4;
    justify-content: center;
  }
}

@media (min-width: 1201px) {
  .header-nav-wrap {
    display: contents;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    padding: 48px 0 42px;
    min-height: 480px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .hero-search .search-field {
    min-width: 0;
    width: 100%;
  }

  .hero-search .search-button {
    width: 100%;
    min-height: 48px;
  }

  /* Op mobiel menu onder het veld tonen i.p.v. eroverheen. */
  .hero-search .custom-select-menu {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 8px;
    max-height: 240px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  }

  .hero-trust {
    margin-top: 20px;
    gap: 10px;
    justify-content: flex-start;
  }

  .hero-trust span {
    flex: 0 1 auto;
    min-height: 36px;
    padding: 0 14px;
  }

  .stats-grid,
  .cars-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-search {
    width: 100%;
  }

  .header-search input {
    font-size: 16px; /* voorkomt zoom op focus op iOS */
  }

  .hero {
    padding: 32px 0 36px;
    min-height: 420px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-content {
    min-width: 0;
  }

  .hero-search {
    padding: 12px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-search .search-field {
    min-width: 0;
    width: 100%;
  }

  .hero-search .search-button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .custom-select-trigger {
    min-height: 48px;
    min-width: 0;
    padding: 0 12px;
  }

  .hero-trust {
    margin-top: 24px;
    gap: 10px;
    row-gap: 10px;
  }

  .hero-trust span {
    white-space: normal;
  }

  .stats-strip {
    margin-top: -16px;
  }

  .stat-card {
    padding: 18px 20px;
  }

  .cars-section {
    padding: 48px 0;
  }

  .footer-main {
    padding: 48px 0 30px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .logo-title {
    font-size: 1.1875rem;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-panel-card,
  .stat-card,
  .car-content {
    padding: 18px;
  }
}

/* prijsfilter iets breder maken (alleen desktop) */
@media (min-width: 821px) {
  .hero-search {
    grid-template-columns: 1.15fr 1.15fr 1.35fr auto;
  }
}

/* gekozen tekst in trigger op 1 regel houden */
.custom-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* prijs dropdown opties ook op 1 regel houden */
#priceMenu .custom-select-option {
  white-space: nowrap;
}

/* prijs trigger mag iets meer ruimte krijgen (alleen desktop) */
@media (min-width: 821px) {
  #priceCustomSelect .custom-select-trigger {
    min-width: 170px;
  }
}

/* ===== Shared portal / account foundation ===== */

.account-page {
  padding: 72px 0 36px;
  min-height: calc(100vh - 220px);
}

/* Verhuurder topbalk direct onder header met klein wit ruimte */
.account-page:has(.business-topnav-wrap) {
  padding-top: 0;
}

.account-page .container {
  max-width: 1180px;
}

/* Verhuurder: geen 92%-breedte — volle viewport, geen witte/grijze randen aan de zijkanten */
body[data-business-page] .account-page > .container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body[data-business-page] .business-shell {
  width: 100%;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
}

.section-text {
  font-size: 15px;
  line-height: 1.75;
}

/* ===== Mijn boekingen – succesbanner & confetti ===== */

.mijn-boekingen-success-banner {
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.mijn-boekingen-success-banner.hidden {
  display: none;
}

.mijn-boekingen-success-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mijn-boekingen-success-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: #f0fdfa;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
}

.mijn-boekingen-success-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.mijn-boekingen-success-text {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.mijn-boekingen-confetti-particle {
  position: fixed;
  top: -12px;
  width: 10px;
  height: 10px;
  background: var(--c, #0f766e);
  border-radius: 2px;
  pointer-events: none;
  z-index: 9999;
  animation: mijn-boekingen-confetti-fall linear forwards;
}

@keyframes mijn-boekingen-confetti-fall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(var(--x, 0)) rotate(var(--r, 0deg));
    opacity: 0.3;
  }
}

/* Mijn boekingen – stats */
.mijn-boekingen-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mijn-boekingen-stat {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  min-width: 120px;
}

.mijn-boekingen-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.mijn-boekingen-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

/* Mijn boekingen – filters */
.mijn-boekingen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.mijn-boekingen-filter-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mijn-boekingen-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.mijn-boekingen-filter-btn[aria-pressed="true"] {
  background: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
}

/* Mijn boekingen – card */
.mijn-boekingen-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mijn-boekingen-card {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

/* Foto normaal 4:3; ruimte eronder = donker (geen witte balk), niet de foto uitrekken */
.mijn-boekingen-card-image {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: radial-gradient(circle at 30% 0%, #0f172a 0%, #020617 45%, #000 100%);
  overflow: hidden;
}

.mijn-boekingen-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.mijn-boekingen-card-body {
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(152px, 200px);
  grid-template-rows: auto auto auto auto;
  gap: 8px 14px;
  align-items: start;
}

.mijn-boekingen-card-meta {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.mijn-boekingen-card-body > .mijn-boekingen-card-title {
  grid-column: 1;
  grid-row: 2;
}

.mijn-boekingen-card-body > .mijn-boekingen-card-details {
  grid-column: 1;
  grid-row: 3;
}

.mijn-boekingen-card-id {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mijn-boekingen-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.mijn-boekingen-badge--pending {
  background: #f1f5f9;
  color: #475569;
}

.mijn-boekingen-badge--confirmed {
  background: #dbeafe;
  color: #1d4ed8;
}

.mijn-boekingen-badge--completed {
  background: #dcfce7;
  color: #166534;
}

.mijn-boekingen-badge--cancelled {
  background: #f1f5f9;
  color: #64748b;
}

.mijn-boekingen-badge--rejected {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.mijn-boekingen-badge--payment {
  background: #fef3c7;
  color: #b45309;
}

.mijn-boekingen-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.mijn-boekingen-card-details {
  display: grid;
  gap: 3px;
  margin: 0;
  font-size: 13px;
}

.mijn-boekingen-card-details div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.mijn-boekingen-card-details dt {
  margin: 0;
  font-weight: 600;
  color: #64748b;
  min-width: 72px;
  font-size: 12px;
}

.mijn-boekingen-card-details dd {
  margin: 0;
  color: #0f172a;
}

.mijn-boekingen-card-days {
  color: #64748b;
  font-size: 13px;
}

/* Knoppen rechtsboven, onder elkaar, zelfde breedte als kolom */
.mijn-boekingen-card-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: stretch;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

.mijn-boekingen-card-actions .mijn-boekingen-hub-toggle {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  padding: 7px 10px;
  font-size: 12px;
}

.mijn-boekingen-card-actions .mijn-boekingen-hub-lock-wrap {
  display: block;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.mijn-boekingen-card-actions .mijn-boekingen-hub-lock-wrap .mijn-boekingen-hub-toggle {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  padding: 7px 10px;
  font-size: 12px;
}

.mijn-boekingen-card-actions .mijn-boekingen-card-pay {
  margin-left: 0;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  white-space: normal;
  text-align: center;
  padding: 7px 10px;
  font-size: 12px;
}

.mijn-boekingen-card-pay {
  align-self: stretch;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.mijn-boekingen-card-pay:hover {
  background: #1e293b;
}

.mijn-boekingen-card-actions .mijn-boekingen-card-cancel {
  margin-left: 0;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  font-size: 12px;
}

.mijn-boekingen-card-body > .mijn-boekingen-card-policies {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.mijn-boekingen-policy-note {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
}

.mijn-boekingen-policy-note:last-child {
  margin-bottom: 0;
}

.mijn-boekingen-policy-note--muted {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.mijn-boekingen-policy-note--muted strong {
  color: #0f172a;
  font-weight: 700;
}

.mijn-boekingen-card-cancel {
  align-self: stretch;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.mijn-boekingen-card-cancel:hover {
  border-color: #cbd5e1;
  color: #b91c1c;
  background: #fef2f2;
}

/* Mijn boekingen – legal links */
.mijn-boekingen-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.mijn-boekingen-legal a {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.mijn-boekingen-legal a:hover {
  color: #0f172a;
}

.mijn-boekingen-card--live {
  box-shadow:
    0 0 0 2px #0d9488,
    0 12px 28px rgba(13, 148, 136, 0.12);
}

.mijn-boekingen-live-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0f766e;
  background: #ccfbf1;
  margin-right: 6px;
}

.mijn-boekingen-hub-toggle {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

a.mijn-boekingen-hub-toggle--link {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  color: inherit;
}

a.mijn-boekingen-hub-toggle--link:hover {
  color: inherit;
}

.mijn-boekingen-hub-toggle:hover {
  background: #fff;
  border-color: #cbd5e1;
}

.mijn-boekingen-hub-toggle[aria-expanded="true"] {
  background: #fff;
  border-color: #94a3b8;
}

.mijn-boekingen-hub-lock-wrap {
  display: block;
  margin-top: 12px;
  cursor: help;
}

.mijn-boekingen-hub-toggle--locked,
.mijn-boekingen-hub-toggle--locked:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8;
  border-style: dashed;
}

.mijn-boekingen-hub-panel {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fafafa;
  font-size: 13px;
  color: #334155;
}

.mijn-boekingen-hub-panel.hidden {
  display: none;
}

/* Aparte pagina: boeking beheren */
.mijn-boeking-beheren-back {
  margin: 0 0 8px;
}

.mijn-boeking-beheren-back-link {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mijn-boeking-beheren-back-link:hover {
  color: #0f172a;
}

.mijn-boeking-beheren-hub {
  margin-top: 20px;
}

/* Boeking beheren — bredere layout, compactere kop */
.mijn-boeking-beheren-page {
  --container: 1420px;
}

.mijn-boeking-beheren-page.account-page .container {
  max-width: 1420px;
}

.mijn-boeking-beheren-page .mijn-boeking-beheren-back {
  margin-bottom: 6px;
}

.mijn-boeking-beheren-page .mijn-boeking-beheren-hub {
  margin-top: 10px;
}

.jrc-manage-page-hero {
  margin-bottom: 14px !important;
}

.jrc-manage-page-hero .section-kicker {
  margin-bottom: 6px;
}

.jrc-manage-page-hero h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
}

.jrc-manage-page-hero__sub {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  max-width: 48rem;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.jrc-manage-outer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jrc-manage-booking-bar {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) minmax(280px, 1.4fr) minmax(200px, 1fr);
  gap: 16px 22px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(118deg, #ffffff 0%, #f8fafc 42%, #ecfeff 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.065);
}

@media (max-width: 960px) {
  .jrc-manage-booking-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

.jrc-manage-booking-bar__identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.jrc-manage-booking-bar__ref {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.jrc-manage-booking-bar__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.2;
}

.jrc-manage-booking-bar__plate {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: #0f172a;
  color: #fff;
}

.jrc-manage-booking-bar__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.jrc-manage-booking-bar__datecell {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.jrc-manage-booking-bar__dlabel {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.jrc-manage-booking-bar__dval {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jrc-manage-booking-bar__tval {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.jrc-manage-booking-bar__arrow {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.jrc-manage-booking-bar__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 960px) {
  .jrc-manage-booking-bar__aside {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
}

.jrc-manage-booking-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .jrc-manage-booking-bar__chips {
    justify-content: flex-start;
  }
}

.jrc-manage-chip {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.jrc-manage-chip--neutral {
  background: #f1f5f9;
  color: #475569;
}

.jrc-manage-chip--ok {
  background: #d1fae5;
  color: #065f46;
}

.jrc-manage-chip--wait {
  background: #fef3c7;
  color: #92400e;
}

.jrc-manage-chip--muted {
  background: #e2e8f0;
  color: #64748b;
}

.jrc-manage-booking-bar__landlord {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: #334155;
}

.jrc-manage-booking-bar__ll-hint {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
}

.jrc-manage-booking-bar__landlord strong {
  font-weight: 800;
  color: #0f172a;
}

.jrc-manage-booking-bar__ll-city {
  font-size: 12px;
  color: #64748b;
}

.mijn-boeking-beheren-page .jrc-manage-hub {
  max-width: none;
  width: 100%;
}

.mijn-boeking-beheren-page .jrc-manage-hub--sidebar {
  padding: 14px 16px;
  gap: 14px;
  border-radius: 20px;
}

@media (min-width: 840px) {
  .mijn-boeking-beheren-page .jrc-manage-hub--sidebar {
    gap: 16px;
  }

  .mijn-boeking-beheren-page .jrc-manage-sidenav {
    min-width: 176px;
    flex: 0 0 176px;
  }
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn {
  padding: 10px 12px;
  font-size: 12px;
}

.jrc-manage-chat-head--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: start;
  margin-bottom: 8px;
}

.jrc-manage-chat-head__left {
  min-width: 0;
}

.jrc-manage-chat-head__right {
  justify-self: end;
}

@media (max-width: 620px) {
  .jrc-manage-chat-head--split {
    grid-template-columns: 1fr;
  }

  .jrc-manage-chat-head__right {
    justify-self: start;
  }
}

.jrc-manage-chat-head--split .jrc-manage-platform-note {
  grid-column: 1 / -1;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.jrc-manage-platform-note--tight {
  font-size: 11px !important;
}

.jrc-manage-contact-extras--bar {
  margin-bottom: 0;
  gap: 8px 12px;
}

.jrc-manage-contact-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  justify-content: flex-end;
}

.jrc-manage-chat-head__right .jrc-manage-contact-inline {
  justify-content: flex-end;
}

@media (max-width: 620px) {
  .jrc-manage-chat-head__right .jrc-manage-contact-inline {
    justify-content: flex-start;
  }
}

.jrc-manage-contact-sep {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 13px;
  user-select: none;
}

.jrc-manage-contact-muted {
  font-size: 13px;
  font-weight: 500;
}

.mijn-boeking-beheren-page .jrc-manage-chat-wrap {
  padding: 16px 18px 14px;
  border-radius: 18px;
}

.mijn-boeking-beheren-page .jrc-manage-chat-title {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.mijn-boeking-beheren-page .jrc-manage-chat-meta {
  margin-bottom: 0;
  font-size: 13px;
}

.jrc-manage-chat-lead--tight {
  grid-column: 1 / -1;
  margin: 6px 0 0 !important;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.mijn-boeking-beheren-page .jrc-manage-panel-lead--compact {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.mijn-boeking-beheren-page .jrc-manage-pay-grid {
  gap: 12px;
}

.mijn-boeking-beheren-page .jrc-manage-pay-card {
  padding: 14px 14px 12px;
}

.mijn-boeking-beheren-page .jrc-manage-pay-card-body {
  min-height: 56px;
}

.mijn-boeking-beheren-page .jrc-manage-inset-card {
  padding: 16px 16px 14px;
}

.mijn-boeking-beheren-page .jrc-manage-panel-inner {
  padding: 2px 0 6px;
}

.mijn-boeking-beheren-page .jrc-contract-renter {
  max-width: 920px;
}

.mijn-boeking-beheren-page .jrc-chat--hero .jrc-chat-messages {
  min-height: min(40vh, 400px);
  max-height: min(50vh, 520px);
}

/* Boeking beheren — kaartenkolom */
.jrc-manage-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.jrc-manage-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.jrc-manage-card-head {
  margin-bottom: 14px;
}

.jrc-manage-card-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.jrc-manage-card-sub {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.jrc-manage-card-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.jrc-manage-card-body {
  font-size: 13px;
  color: #334155;
}

.jrc-manage-card-body .mijn-boekingen-hub-inspection {
  margin-bottom: 16px;
}

.jrc-manage-card-body .mijn-boekingen-hub-inspection:last-child {
  margin-bottom: 0;
}

.jrc-manage-card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.jrc-manage-card-footer--note {
  border-top: none;
  margin-top: 14px;
  padding-top: 0;
}

.jrc-manage-contact-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 8px;
}

.jrc-manage-contact-link {
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.35);
}

.jrc-manage-contact-link:hover {
  color: #0d9488;
  border-bottom-color: #0d9488;
}

.jrc-manage-platform-note {
  margin: 0 !important;
  font-size: 12px !important;
}

.jrc-manage-cat {
  color: #64748b;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

.jrc-manage-money {
  font-weight: 700;
  color: #0f172a;
}

.jrc-manage-line-desc {
  margin-top: 4px !important;
}

.jrc-manage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.jrc-manage-btn--primary {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.jrc-manage-btn--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.jrc-manage-btn--ghost {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

.jrc-manage-btn--ghost:hover:not(:disabled) {
  background: #fff;
  border-color: #cbd5e1;
}

.jrc-manage-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Boeking beheren — hub met sidebar */
.jrc-manage-hub {
  max-width: 1120px;
  margin: 0 auto;
}

.jrc-manage-hub--sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ecfdf8 0%, #f0fdfa 35%, #f8fafc 100%);
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

@media (min-width: 840px) {
  .jrc-manage-hub--sidebar {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
  }
}

.jrc-manage-sidenav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

@media (min-width: 840px) {
  .jrc-manage-sidenav {
    flex-direction: column;
    flex-wrap: nowrap;
    min-width: 200px;
    flex: 0 0 200px;
  }
}

.jrc-manage-snav-btn {
  flex: 1 1 auto;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.jrc-manage-snav-btn:hover {
  color: #0f766e;
  background: rgba(240, 253, 250, 0.9);
  border-color: rgba(45, 212, 191, 0.35);
}

.jrc-manage-snav-btn--active {
  color: #0f172a;
  background: #fff;
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.12);
  font-weight: 700;
}

/* Boeking beheren — professionele sidebar met iconen */
.mijn-boeking-beheren-page .jrc-manage-sidenav {
  gap: 4px;
  padding: 14px 12px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid rgba(51, 65, 85, 0.12);
  border-radius: 18px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}

.mijn-boeking-beheren-page .jrc-manage-sidenav__label {
  margin: 0 8px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn__text {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.25;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--with-icon::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  opacity: 0.88;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn[data-jrc-nav="chat"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.5L9 21v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn[data-jrc-nav="inspections"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M9 2h6v2H9V2zM7 4V2h2v2H7zm8-2h2v2h-2V2zM7 6h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v12h10V8H7z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn[data-jrc-nav="damage"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M12 2 2 22h20L12 2zm0 3.2 5.6 12.8H6.4L12 5.2zM11 11v3h2v-3h-2zm0 5v2h2v-2h-2z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn[data-jrc-nav="payments"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6zm2 0v3h12V6H6zm12 5H6v7h12v-7z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn[data-jrc-nav="contracts"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 2.5L18.5 9H14V4.5zM8 11h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn:hover {
  color: #0f766e;
  background: rgba(240, 253, 250, 0.95);
  border-color: rgba(45, 212, 191, 0.25);
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn:hover::before {
  opacity: 1;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active {
  color: #0c4a6e;
  background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 45%, #ffffff 100%);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active::before {
  opacity: 1;
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active[data-jrc-nav="chat"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230284c7' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.5L9 21v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active[data-jrc-nav="inspections"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230284c7' d='M9 2h6v2H9V2zM7 4V2h2v2H7zm8-2h2v2h-2V2zM7 6h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v12h10V8H7z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active[data-jrc-nav="damage"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230284c7' d='M12 2 2 22h20L12 2zm0 3.2 5.6 12.8H6.4L12 5.2zM11 11v3h2v-3h-2zm0 5v2h2v-2h-2z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active[data-jrc-nav="payments"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230284c7' d='M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6zm2 0v3h12V6H6zm12 5H6v7h12v-7z'/%3E%3C/svg%3E");
}

.mijn-boeking-beheren-page .jrc-manage-snav-btn--active[data-jrc-nav="contracts"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230284c7' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 2.5L18.5 9H14V4.5zM8 11h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E");
}

.jrc-manage-main {
  flex: 1;
  min-width: 0;
}

/* Legacy topbar (indien nog ergens gebruikt) */
.jrc-manage-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jrc-manage-tab {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.jrc-manage-tab--active {
  color: #0f172a;
  background: #fff;
  border-color: #e2e8f0;
}

.jrc-manage-panel[hidden] {
  display: none !important;
}

.jrc-manage-panel {
  animation: jrc-manage-fade 0.22s ease;
}

@keyframes jrc-manage-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.jrc-manage-chat-wrap {
  background: linear-gradient(168deg, #ffffff 0%, #f0fdfa 40%, #ecfeff 100%);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 44px rgba(15, 118, 110, 0.1);
}

.jrc-manage-chat-head {
  margin-bottom: 16px;
}

.jrc-manage-chat-title {
  margin: 0 0 6px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #134e4a;
}

.jrc-manage-chat-meta {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.jrc-manage-chat-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.jrc-manage-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.jrc-manage-inset-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.jrc-manage-inset-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #134e4a;
}

.jrc-manage-inset-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.jrc-manage-panel-inner {
  padding: 4px 0 8px;
}

.jrc-manage-panel-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
}

.jrc-manage-panel-lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.jrc-manage-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.jrc-pay-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.jrc-pay-summary-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.jrc-pay-summary-item__label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.jrc-manage-pay-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.jrc-manage-pay-card-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.jrc-manage-pay-card-hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.jrc-manage-pay-card-body {
  flex: 1;
  font-size: 13px;
  color: #334155;
  min-height: 72px;
}

.jrc-manage-fin-line__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.jrc-manage-fin-line__meta {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

.jrc-manage-pay-card-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.jrc-manage-pay-footnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.jrc-manage-borg-date {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

/* Verhuurder: factuur/borg naar huurder */
.jrc-ll-fin-send {
  margin-top: 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.jrc-ll-fin-collapsible {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.jrc-ll-fin-collapsible > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.jrc-ll-fin-collapsible > summary::-webkit-details-marker {
  display: none;
}

.jrc-ll-fin-collapsible[open] > summary {
  border-bottom: 1px solid #f1f5f9;
}

.jrc-ll-fin-collapsible .jrc-ll-fin-send {
  margin-top: 0;
  border: 0;
  border-radius: 0 0 12px 12px;
}

@media (min-width: 1100px) {
  .jrc-manage-pay-card-body {
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
  }
}

.jrc-ll-fin-send--borg {
  border-color: #a5b4fc;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 100%);
}

.jrc-ll-fin-send__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.jrc-ll-fin-send__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.jrc-ll-fin-input,
.jrc-ll-fin-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}

.jrc-ll-fin-textarea {
  min-height: 64px;
  resize: vertical;
}

.jrc-ll-fin-file-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: #475569;
}

.jrc-ll-fin-file-label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.jrc-ll-fin-file {
  font-size: 12px;
  max-width: 100%;
}

.jrc-ll-fin-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}

.jrc-ll-fin-check input {
  margin-top: 2px;
}

.jrc-ll-fin-msg {
  margin: 10px 0 0;
  font-size: 13px;
}

.jrc-manage-placeholder {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
}

.jrc-manage-placeholder-icon {
  width: 52px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.jrc-manage-placeholder-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.jrc-manage-placeholder-text {
  margin: 0 auto;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

/* Boeking-chat */
.jrc-booking-chat-mount {
  margin-top: 4px;
}

.jrc-booking-chat-mount--hero {
  margin-top: 8px;
}

.jrc-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jrc-chat--hero .jrc-chat-messages {
  min-height: min(52vh, 520px);
  max-height: min(62vh, 640px);
}

.jrc-chat-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jrc-chat-tool-btn {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jrc-chat-tool-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.jrc-chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jrc-chat-quick-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jrc-chat-quick-btn:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdfa;
}

.jrc-chat-hint {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.jrc-chat-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  font-family: inherit;
  background: #f8fafc;
  color: #64748b;
}

.jrc-chat-messages {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.jrc-chat-empty {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  padding: 12px 8px;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.jrc-chat-bubble {
  max-width: 85%;
  width: fit-content;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.jrc-chat-bubble--theirs {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.jrc-chat-bubble--mine {
  align-self: flex-end;
  background: #0f172a;
  color: #f8fafc;
  border-bottom-right-radius: 4px;
}

.jrc-chat-bubble-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
}

.jrc-chat-bubble--mine .jrc-chat-bubble-meta {
  color: #cbd5e1;
}

.jrc-chat-bubble--theirs .jrc-chat-bubble-meta {
  color: #64748b;
}

.jrc-chat-bubble-body {
  white-space: pre-wrap;
  word-break: break-word;
}

.jrc-chat-landlord-pay {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: #f8fafc;
}

.jrc-chat-landlord-pay--compact {
  padding: 8px 10px;
}

.jrc-chat-landlord-pay__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.jrc-chat-landlord-pay__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0f766e;
}

.jrc-chat-landlord-pay__hint {
  margin: 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.jrc-chat-landlord-pay__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jrc-chat-pay-chip {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #0d9488;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.jrc-chat-pay-chip--compact {
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 7px;
}

.jrc-chat-pay-chip:hover:not(:disabled) {
  background: #0d9488;
  color: #fff;
  border-color: #0f766e;
}

.jrc-chat-pay-chip:disabled {
  opacity: 0.55;
  cursor: wait;
}

.jrc-chat-payment-wrap {
  align-self: stretch;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.jrc-chat-payment-card {
  margin: 2px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.jrc-chat-payment-card--compact {
  padding: 8px 10px;
  border-radius: 9px;
}

.jrc-chat-payment-card--paid {
  border-color: #6ee7b7;
  background: #f0fdf4;
}

.jrc-chat-payment-card__headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.jrc-chat-payment-card__title--compact {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jrc-chat-pay-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.jrc-chat-pay-badge--compact {
  font-size: 9px;
  padding: 2px 6px;
  letter-spacing: 0.02em;
}

.jrc-chat-pay-badge--ok {
  background: #d1fae5;
  color: #065f46;
}

.jrc-chat-pay-badge--open {
  background: #fef3c7;
  color: #92400e;
}

.jrc-chat-pay-badge--wait {
  background: #e2e8f0;
  color: #475569;
}

.jrc-chat-pay-badge--err {
  background: #fee2e2;
  color: #991b1b;
}

.jrc-chat-pay-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.jrc-chat-payment-card__sub--compact {
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

.jrc-chat-payment-card__amount--compact {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jrc-chat-payment-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.jrc-chat-payment-card__meta--compact {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.3;
}

.jrc-chat-pay-cta--compact {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: #0d9488;
  transition: background 0.12s ease, opacity 0.12s ease;
}

.jrc-chat-pay-cta--compact:hover:not(:disabled) {
  background: #0f766e;
}

.jrc-chat-pay-cta--compact:disabled {
  opacity: 0.65;
  cursor: wait;
}

.jrc-chat-pay-foot--compact {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
}

.jrc-chat-pay-foot--ok {
  color: #047857;
  font-weight: 600;
}

.jrc-chat-error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
  font-weight: 600;
}

.jrc-chat-form {
  margin: 0;
}

.jrc-chat-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jrc-chat-compose {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}

.jrc-chat-compose-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.jrc-chat-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.jrc-chat-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  color: #0f766e;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.15);
}

.jrc-chat-icon-btn:hover:not(:disabled) {
  border-color: #0d9488;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.22);
}

.jrc-chat-icon-btn:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.jrc-chat-icon-btn--send {
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
  border-color: #0f766e;
}

.jrc-chat-icon-btn--send:hover:not(:disabled) {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%);
  color: #fff;
}

.jrc-chat-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: none;
  min-height: 46px;
  max-height: 200px;
  overflow-y: auto;
  field-sizing: content;
}

.jrc-chat-input:focus {
  outline: none;
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
}

.jrc-chat-send {
  display: none;
}

body.jrc-modal-open {
  overflow: hidden;
}

.jrc-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.jrc-modal[hidden] {
  display: none !important;
}

.jrc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.jrc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.jrc-modal__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #134e4a;
}

.jrc-modal__lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.jrc-modal__label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.jrc-modal__textarea,
.jrc-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font: inherit;
  font-size: 14px;
}

.jrc-modal__textarea {
  min-height: 100px;
  resize: vertical;
}

.jrc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.jrc-modal__msg {
  margin-top: 10px !important;
}

.jrc-manage-contract-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 16px;
  padding: 16px 18px;
}

.jrc-manage-contract-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.jrc-manage-contract-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.jrc-manage-file-label {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  cursor: pointer;
}

.jrc-manage-file-label input[type="file"] {
  font-size: 13px;
  max-width: 100%;
}

/* Huurder — tab Contracten (Boeking beheren) */
.jrc-contract-renter {
  max-width: 820px;
}

.jrc-contract-page-head {
  margin-bottom: 22px;
}

.jrc-contract-page-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.jrc-contract-page-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.jrc-contract-page-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

/* PostNL-achtige voortgang: rail + balletjes groen / grijs / oranje actief */
.jrc-contract-progress {
  --jrc-contract-fill: 0%;
  margin: 0 0 24px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 40%, #eff6ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.07);
}

.jrc-contract-progress__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.jrc-contract-progress__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.jrc-contract-progress__badge {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.jrc-contract-progress--complete .jrc-contract-progress__badge {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.35);
}

.jrc-contract-progress__track {
  position: relative;
  padding-top: 8px;
}

.jrc-contract-progress__rail {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 22px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.jrc-contract-progress__rail-fill {
  display: block;
  height: 100%;
  width: var(--jrc-contract-fill, 0%);
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669 0%, #10b981 40%, #34d399 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.jrc-contract-progress__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.jrc-contract-progress__nodes > li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
  padding: 0 4px;
}

.jrc-contract-node__dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 3px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.jrc-contract-node--done .jrc-contract-node__dot {
  background: linear-gradient(145deg, #059669 0%, #10b981 100%);
  border-color: #ecfdf5;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35), 0 4px 12px rgba(5, 150, 105, 0.35);
}

.jrc-contract-node--done .jrc-contract-node__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/62% no-repeat;
  pointer-events: none;
}

.jrc-contract-node--current .jrc-contract-node__dot {
  background: linear-gradient(145deg, #fb923c 0%, #f97316 100%);
  border-color: #fff7ed;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.4), 0 4px 14px rgba(234, 88, 12, 0.35);
  transform: scale(1.08);
  animation: jrc-contract-pulse 1.8s ease-in-out infinite;
}

@keyframes jrc-contract-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.35), 0 4px 14px rgba(234, 88, 12, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.15), 0 4px 18px rgba(234, 88, 12, 0.45);
  }
}

.jrc-contract-node--todo .jrc-contract-node__dot {
  background: #e2e8f0;
  border-color: #f8fafc;
}

.jrc-contract-node__lbl {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #64748b;
  max-width: 7.5rem;
}

.jrc-contract-node--done .jrc-contract-node__lbl {
  color: #047857;
}

.jrc-contract-node--current .jrc-contract-node__lbl {
  color: #c2410c;
}

@media (max-width: 640px) {
  .jrc-contract-progress__rail {
    left: 8%;
    right: 8%;
    top: 20px;
    height: 6px;
  }

  .jrc-contract-node__dot {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .jrc-contract-node__lbl {
    font-size: 10px;
    max-width: 4.5rem;
  }
}

/* Confetti bij afgerond contract (tab Contracten) */
.mijn-boeking-beheren-page #jrc-panel-contracts {
  position: relative;
}

.jrc-contract-confetti-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 30;
  border-radius: inherit;
}

.jrc-contract-confetti-piece {
  position: absolute;
  left: var(--lx, 50%);
  top: -12px;
  width: var(--w, 7px);
  height: var(--h, 10px);
  border-radius: 2px;
  background: var(--c, #10b981);
  opacity: 0.95;
  animation: jrc-confetti-fall var(--dur, 1.4s) ease-out var(--delay, 0s) forwards;
  transform: rotate(0deg);
}

@keyframes jrc-confetti-fall {
  to {
    transform: translate3d(var(--dx, 0px), 120%, 0) rotate(var(--rot, 360deg));
    opacity: 0.3;
  }
}

.jrc-contract-hero {
  border-radius: 18px;
  padding: 22px 22px 24px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.jrc-contract-hero-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}

.jrc-contract-hero-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.jrc-contract-hero-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.jrc-contract-hero--wait {
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 35%, #f8fafc 100%);
  border-color: rgba(100, 116, 139, 0.25);
}

.jrc-contract-hero--action {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 40%, #fffbeb 100%);
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: 0 8px 28px rgba(251, 146, 60, 0.12);
}

.jrc-contract-hero--pending {
  background: linear-gradient(145deg, #dbeafe 0%, #e0f2fe 45%, #eff6ff 100%);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.1);
}

.jrc-contract-hero--success {
  background: linear-gradient(145deg, #a7f3d0 0%, #6ee7b7 22%, #d1fae5 55%, #ecfdf5 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 36px rgba(16, 185, 129, 0.18);
}

.jrc-contract-hero--success .jrc-contract-hero-kicker {
  color: #047857;
}

.jrc-contract-hero--success .jrc-contract-hero-title {
  color: #064e3b;
}

.jrc-contract-action-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .jrc-contract-action-grid {
    grid-template-columns: 1fr;
  }
}

.jrc-contract-action-card {
  position: relative;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.jrc-contract-action-card--accent {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.jrc-contract-action-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  background: #0f172a;
  color: #fff;
  margin-bottom: 10px;
}

.jrc-contract-action-card--accent .jrc-contract-action-num {
  background: #0ea5e9;
}

.jrc-contract-action-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.jrc-contract-action-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.jrc-contract-drop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.jrc-contract-file-line {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  word-break: break-word;
}

.jrc-contract-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jrc-contract-btn:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

.jrc-contract-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Vlak, opvallend groen — geen schaduw */
.jrc-contract-btn--primary {
  color: #fff;
  background: #059669;
  border-color: #047857;
}

.jrc-contract-btn--primary:hover:not(:disabled) {
  background: #047857;
  border-color: #065f46;
}

.jrc-contract-btn--primary:active:not(:disabled) {
  background: #065f46;
}

.jrc-contract-btn--secondary {
  background: #fff;
  border-color: #94a3b8;
  color: #0f172a;
}

.jrc-contract-btn--secondary:hover:not(:disabled) {
  border-color: #059669;
  background: #ecfdf5;
  color: #065f46;
}

.jrc-contract-btn--ghost {
  background: #fff;
  color: #334155;
  border-color: #cbd5e1;
}

.jrc-contract-btn--ghost:hover:not(:disabled) {
  background: #f0fdf4;
  border-color: #6ee7b7;
  color: #065f46;
}

a.jrc-contract-btn {
  text-decoration: none;
  box-sizing: border-box;
}

.jrc-contract-dl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.jrc-contract-inline-msg {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.jrc-contract-inline-msg--ok {
  color: #047857;
}

.jrc-contract-inline-msg--err {
  color: #b91c1c;
}

/* Verhuurder — Contracten (kaarten) */
.jrc-ldc-page-lead {
  margin: 0 0 20px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.jrc-ldc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 20px;
  margin-top: 8px;
}

/* Inspecties / Contracten: één kolom, volle breedte — kaart als horizontale strook (tablet+) */
.jrc-ldc-grid.jrc-ldc-grid--inspection-strip,
.jrc-ldc-grid.jrc-ldc-grid--contract-strip {
  grid-template-columns: 1fr;
  gap: 12px;
}

.jrc-ldc-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.jrc-ldc-card-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.jrc-ldc-card-ref {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.jrc-ldc-card-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.jrc-ldc-card-meta {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.jrc-ldc-card-renter {
  margin: 8px 0 0;
  font-size: 13px;
  color: #334155;
}

.jrc-ldc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.jrc-ldc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.jrc-ldc-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.jrc-ldc-badge--ok {
  background: #d1fae5;
  color: #065f46;
}

.jrc-ldc-badge--wait {
  background: #fef3c7;
  color: #92400e;
}

.jrc-ldc-badge--live {
  background: #dbeafe;
  color: #1e40af;
}

.jrc-ldc-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jrc-ldc-alert {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid transparent;
}

.jrc-ldc-alert--renter {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border-color: rgba(37, 99, 235, 0.2);
}

.jrc-ldc-alert--renter strong {
  display: block;
  font-size: 14px;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.jrc-ldc-alert--renter p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #1e40af;
}

.jrc-ldc-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.jrc-ldc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.jrc-inspection-card-actions,
.jrc-contract-card-actions {
  flex-direction: column;
  align-items: stretch;
}

.jrc-inspection-card-actions .jrc-contract-btn,
.jrc-contract-card-actions .jrc-contract-btn {
  text-align: center;
  justify-content: center;
}

.jrc-contract-btn.jrc-contract-btn--disabled {
  opacity: 0.58;
  pointer-events: none;
  cursor: default;
}

@media (min-width: 640px) {
  .jrc-inspection-ldc-card,
  .jrc-contract-ldc-card {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.055);
  }

  .jrc-inspection-ldc-card .jrc-ldc-card-head,
  .jrc-contract-ldc-card .jrc-ldc-card-head {
    display: flex;
    flex-direction: column;
    flex: 0 1 240px;
    min-width: 180px;
    max-width: 300px;
    border-bottom: none;
    border-right: 1px solid #f1f5f9;
    padding: 12px 18px;
    justify-content: center;
  }

  .jrc-inspection-ldc-card .jrc-ldc-card-title,
  .jrc-contract-ldc-card .jrc-ldc-card-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .jrc-inspection-ldc-card .jrc-ldc-card-meta,
  .jrc-inspection-ldc-card .jrc-ldc-card-renter,
  .jrc-contract-ldc-card .jrc-ldc-card-meta,
  .jrc-contract-ldc-card .jrc-ldc-card-renter {
    font-size: 12px;
  }

  .jrc-inspection-ldc-card .jrc-ldc-card-renter,
  .jrc-contract-ldc-card .jrc-ldc-card-renter {
    margin-top: 6px;
  }

  .jrc-inspection-ldc-card .jrc-ldc-badges,
  .jrc-contract-ldc-card .jrc-ldc-badges {
    flex: 0 1 auto;
    min-width: 0;
    border-bottom: none;
    border-right: 1px solid #f1f5f9;
    align-content: center;
    padding: 10px 16px;
  }

  .jrc-inspection-ldc-card .jrc-ldc-card-body,
  .jrc-contract-ldc-card .jrc-ldc-card-body {
    flex: 1 1 200px;
    min-width: 0;
    padding: 10px 18px 12px;
    justify-content: center;
    gap: 10px;
  }

  .jrc-inspection-ldc-card .jrc-inspection-card-actions,
  .jrc-contract-ldc-card .jrc-contract-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }

  .jrc-inspection-ldc-card .jrc-inspection-card-actions > .jrc-ldc-note {
    flex: 1 0 100%;
    order: 10;
    margin-top: 4px;
    font-size: 12px;
    text-align: right;
  }

  /* Contracten-strook: zelfde rij als inspecties, compacter rechterblok */
  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-card-body {
    gap: 8px;
    padding: 8px 14px 10px;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-note {
    font-size: 12px;
    line-height: 1.45;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-upload {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-alert {
    padding: 10px 12px;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-alert--renter strong {
    font-size: 13px;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-confirm {
    padding: 10px 12px;
  }

  .jrc-ldc-grid--contract-strip .jrc-contract-ldc-card .jrc-ldc-confirm p {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.jrc-inspection-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jrc-inspection-stack .jrc-inspection-card {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.jrc-inspection-stack .jrc-inspection-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.jrc-inspection-report-actions {
  margin-top: 12px;
}

.jrc-inspection-photo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jrc-inspection-party-photos {
  margin: 14px 0 18px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.jrc-inspection-party-photos--landlord {
  border-color: #e2e8f0;
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 70%);
}

.jrc-inspection-renter-photos-block {
  margin: 14px 0 18px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid #ccfbf1;
  background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 55%);
}

.jrc-inspection-renter-photos-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.jrc-inspection-renter-photos-count {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.jrc-inspection-renter-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.jrc-inspection-photo-tile {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.jrc-inspection-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jrc-inspection-renter-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.jrc-inspection-renter-photo-remove:hover {
  background: rgba(220, 38, 38, 0.95);
}

.jrc-hub-renter-photos {
  margin-bottom: 12px;
}

.jrc-hub-renter-photos__strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.jrc-hub-renter-ph-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  scroll-snap-align: start;
}

.jrc-hub-renter-ph-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jrc-inspection-download-strip {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.jrc-inspection-download-strip__lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.jrc-inspection-download-strip__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jrc-inspection-download-strip__btns .jrc-inspection-dl-stub {
  flex: 1 1 200px;
  min-width: min(100%, 200px);
  justify-content: center;
}

.jrc-inspection-details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.jrc-inspection-details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  border-bottom: 1px solid transparent;
}

.jrc-inspection-details__summary::-webkit-details-marker {
  display: none;
}

.jrc-inspection-details[open] > .jrc-inspection-details__summary {
  border-bottom-color: #e2e8f0;
  background: #f1f5f9;
}

.jrc-inspection-details__summary-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.jrc-inspection-details__type {
  font-weight: 700;
}

.jrc-inspection-details__when {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.jrc-inspection-details__hint {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d9488;
}

.jrc-inspection-details[open] .jrc-inspection-details__hint {
  color: #64748b;
}

.jrc-inspection-details__body {
  padding: 12px 14px 14px;
}

.jrc-inspection-stack .jrc-inspection-details.jrc-inspection-card {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.jrc-inspection-stack .jrc-inspection-details.jrc-inspection-card:last-child {
  margin-bottom: 0;
}

.jrc-inspection-form-meta {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}

.jrc-inspection-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jrc-inspection-form-label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.jrc-inspection-form-label--sub {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.jrc-inspection-late-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 4px;
}

.jrc-inspection-late-field {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 220px;
}

.jrc-inspection-form-hint {
  margin: 0 0 6px;
  font-size: 12px;
  color: #64748b;
}

.jrc-inspection-form-input,
.jrc-inspection-form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}

.jrc-inspection-form-textarea {
  resize: vertical;
  min-height: 72px;
}

.jrc-inspection-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.jrc-inspection-signature-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.jrc-inspection-signature-section .jrc-inspection-form-section-title {
  margin-top: 0;
}

.jrc-inspection-signature-pair {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .jrc-inspection-signature-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.jrc-inspection-signature-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jrc-inspection-signature-block .jrc-inspection-form-label {
  margin-top: 0;
}

.jrc-signature-pad-wrap {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  touch-action: none;
}

.jrc-signature-pad {
  display: block;
  width: 100%;
  max-width: 560px;
  cursor: crosshair;
  vertical-align: top;
}

button.jrc-signature-reset {
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 13px;
}

.jrc-inspection-form-section-title {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f766e;
}

.jrc-inspection-form-section-title:first-child {
  margin-top: 0;
}

.jrc-inspection-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 6px 0 4px;
  font-size: 14px;
}

.jrc-inspection-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.jrc-inspection-form-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.jrc-inspection-km-calc {
  margin: 10px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

.jrc-inspection-km-calc-inner p {
  margin: 0 0 8px;
}

.jrc-inspection-km-calc-inner p:last-child {
  margin-bottom: 0;
}

.jrc-inspection-km-calc-muted {
  color: #64748b;
  font-size: 12px;
}

.jrc-inspection-km-calc-ok {
  color: #166534;
  font-weight: 600;
}

.jrc-inspection-km-calc-bill {
  color: #9a3412;
  font-weight: 600;
}

.jrc-inspection-km-calc-warn {
  color: #b45309;
  font-weight: 700;
}

.jrc-inspection-km-readout {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}

.jrc-inspection-indicative-lead {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #115e59;
}

.jrc-inspection-indicative-lead a {
  color: #0d9488;
  font-weight: 600;
}

.jrc-inspection-extra-km-wrap--inactive {
  opacity: 0.55;
}

.jrc-inspection-extra-km-wrap--inactive .jrc-inspection-form-label,
.jrc-inspection-extra-km-wrap--inactive .jrc-inspection-form-hint {
  color: #94a3b8;
}

.jrc-inspection-extra-km-wrap--inactive .jrc-inspection-form-input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.jrc-inspection-indicative {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.jrc-inspection-indicative-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f766e;
}

.jrc-inspection-indicative-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #134e4a;
}

.jrc-inspection-indicative-empty {
  margin: 0 0 12px;
}

.jrc-inspection-indicative-lines {
  margin: 0 0 14px;
  padding-left: 1.15rem;
}

.jrc-inspection-indicative-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.jrc-inspection-indicative-total-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 10px;
}

.jrc-inspection-indicative-total-row--highlight {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.08);
}

.jrc-inspection-indicative-total-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f766e;
}

.jrc-inspection-indicative-total-value {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.jrc-inspection-settlement-heading {
  margin-top: 12px !important;
}

.jrc-inspection-settlement-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 10px;
}

.jrc-inspection-settlement-total-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.jrc-inspection-settlement-total-card--highlight {
  background: #f0fdfa;
  border-color: #99f6e4;
}

.jrc-inspection-settlement-total-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.jrc-inspection-settlement-total-card--highlight .jrc-inspection-settlement-total-label {
  color: #0f766e;
}

.jrc-inspection-settlement-total-value {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.jrc-inspection-settlement-note {
  margin-top: 10px;
}

.jrc-inspection-settlement {
  margin-top: 14px;
}

.jrc-inspection-settlement-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}

.jrc-inspection-settlement-table th,
.jrc-inspection-settlement-table td {
  border: 1px solid #e2e8f0;
  padding: 6px 8px;
  text-align: left;
}

.jrc-inspection-settlement-table th {
  background: #f8fafc;
}

.jrc-inspection-v2-checklist {
  margin-top: 10px;
}

.jrc-inspection-v2-block-title {
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.dash-inspection-widget-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.dash-inspection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-inspection-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
}

.dash-inspection-item strong {
  color: #0f172a;
}

.dash-inspection-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  border: 1px solid #047857;
  background: #059669;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dash-inspection-item a:hover {
  background: #047857;
  border-color: #065f46;
}

.dash-inspection-item a:active {
  background: #065f46;
}

.jrc-ldc-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  width: 100%;
  box-sizing: border-box;
}

.jrc-ldc-file-line {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  word-break: break-word;
}

.jrc-ldc-msg {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.jrc-ldc-msg--ok {
  color: #047857;
}

.jrc-ldc-msg--err {
  color: #b91c1c;
}

.jrc-ldc-confirm {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.jrc-ldc-confirm p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #78350f;
}

.jrc-ldc-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jrc-landlord-contract-toolbar {
  margin: 16px 0;
}

.jrc-landlord-contract-upload {
  margin: 12px 0 20px;
}

.jrc-landlord-contract-detail {
  margin-top: 16px;
}

.jrc-landlord-contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Verhuurder chat-pagina */
.jrc-landlord-chat-back {
  margin: 0 0 6px;
}

.jrc-landlord-chat-lead {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
}

.jrc-landlord-chat-card {
  max-width: 640px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.mijn-boekingen-hub-loading {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.mijn-boekingen-hub-section {
  margin-bottom: 20px;
}

.mijn-boekingen-hub-section:last-child {
  margin-bottom: 0;
}

.mijn-boekingen-hub-section h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mijn-boekingen-hub-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mijn-boekingen-hub-contact-actions a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f766e;
}

.mijn-boekingen-hub-contact-actions a:hover {
  border-color: #0d9488;
  background: #f0fdfa;
}

.mijn-boekingen-hub-muted {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.mijn-boekingen-hub-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.mijn-boekingen-hub-list li {
  margin-bottom: 6px;
}

.mijn-boekingen-hub-finance-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}

.mijn-boekingen-hub-finance-item strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.mijn-boekingen-hub-inspection {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.mijn-boekingen-hub-inspection h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.mijn-boekingen-hub-dl {
  margin: 0;
  display: grid;
  gap: 6px;
}

.mijn-boekingen-hub-dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  font-size: 12px;
}

@media (max-width: 520px) {
  .mijn-boekingen-hub-dl div {
    grid-template-columns: 1fr;
  }
}

.mijn-boekingen-hub-dl dt {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

.mijn-boekingen-hub-dl dd {
  margin: 0;
  color: #1e293b;
}

.mijn-boekingen-hub-sigs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.mijn-boekingen-hub-sig {
  flex: 1;
  min-width: 140px;
}

.mijn-boekingen-hub-sig p {
  margin: 0 0 6px;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mijn-boekingen-hub-sig img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
}

.mijn-boekingen-hub-checklist {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: #475569;
}

@media (max-width: 720px) {
  .mijn-boekingen-card {
    grid-template-columns: 1fr;
  }

  .mijn-boekingen-card-image img {
    aspect-ratio: 16 / 10;
  }

  .mijn-boekingen-card-body {
    grid-template-columns: 1fr;
  }

  .mijn-boekingen-card-meta,
  .mijn-boekingen-card-body > .mijn-boekingen-card-title,
  .mijn-boekingen-card-body > .mijn-boekingen-card-details {
    grid-column: 1;
    grid-row: auto;
  }

  .mijn-boekingen-card-actions {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .mijn-boekingen-card-body > .mijn-boekingen-card-policies {
    grid-column: 1;
    grid-row: auto;
  }

  .mijn-boekingen-hub-panel {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ===== Status / message cards ===== */

.account-status-card,
.auth-card,
.loading-card,
.error-message,
.empty-message,
.success-message {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.account-status-card {
  padding: 24px 26px;
  margin-bottom: 28px;
  color: var(--text);
}

.loading-card,
.error-message,
.empty-message,
.success-message {
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.7;
}

.error-message {
  color: #991b1b;
  background: linear-gradient(180deg, #fffefe 0%, #fff7f7 100%);
  border-color: #fecaca;
}

.success-message {
  color: #166534;
  background: linear-gradient(180deg, #f8fffb 0%, #f0fdf4 100%);
  border-color: #bbf7d0;
}

/* ===== Auth / form cards ===== */

.auth-card {
  max-width: 760px;
  padding: 34px 34px 30px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-group textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: #ffffff;
}

.auth-submit,
.auth-form .search-button,
.auth-card .search-button {
  min-height: 52px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  padding: 0 20px;
}

.auth-message {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.65;
}

.auth-message.error {
  color: #b91c1c;
}

.auth-message.success {
  color: #15803d;
}

.appeal-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.appeal-lock-icon-wrap {
  text-align: center;
  color: #0f172a;
  font-weight: 700;
}

.appeal-lock-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d9488, #0ea5e9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  animation: appeal-lock-pulse 1.8s ease-in-out infinite;
}

@keyframes appeal-lock-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

#mijnBoetesAppealStepForm {
  position: relative;
  min-height: 320px;
  transition: min-height 0.28s ease, max-height 0.28s ease;
}

#mijnBoetesAppealStepForm textarea,
#mijnBoetesAppealStepForm input[type="file"] {
  transition: filter 0.28s ease, opacity 0.28s ease;
}

#mijnBoetesAppealStepForm.is-locked textarea,
#mijnBoetesAppealStepForm.is-locked input[type="file"] {
  filter: blur(1.4px);
  opacity: 0.76;
}

#mijnBoetesAppealStepForm.is-locked {
  min-height: 320px;
  max-height: 320px;
  overflow: hidden;
}

/* Houd de rechterkolom compact tot na betaling. */
#mijnBoetesAppealStepForm.is-locked > :not(.appeal-form-head):not(.appeal-lock-overlay) {
  display: none !important;
}

.appeal-pay-bar {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.appeal-intro-card,
.appeal-form-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
  margin-top: 8px;
}

.appeal-intro-card h3,
.appeal-form-head h3 {
  margin: 0 0 8px 0;
  color: #0f172a;
  font-size: 18px;
}

.appeal-intro-card {
  background:
    radial-gradient(120% 90% at 10% 10%, rgba(45, 212, 191, 0.08), transparent 58%),
    linear-gradient(148deg, #f8fbff 0%, #eef5ff 100%);
  border-color: #d4e3f6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

.appeal-intro-kicker {
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d9488;
}

.appeal-intro-lead {
  margin: 0 0 8px 0;
  color: #1e293b;
  line-height: 1.5;
  font-weight: 500;
}

.appeal-intro-list {
  margin: 0 0 10px 0;
  padding-left: 18px;
  color: #334155;
}

.appeal-intro-list li {
  margin-bottom: 4px;
  line-height: 1.45;
}

.appeal-intro-note {
  margin-top: 6px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  border-radius: 12px;
  padding: 10px 12px;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.45;
}

.appeal-intro-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  display: grid;
  gap: 8px;
  align-items: start;
}

.appeal-intro-cta p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

#mijnBoetesFreeReviewBtn {
  justify-self: start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(132deg, #0d9488 0%, #0891b2 45%, #2563eb 100%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 14px 24px rgba(37, 99, 235, 0.22),
    0 5px 12px rgba(13, 148, 136, 0.2);
  min-width: 196px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

#mijnBoetesFreeReviewBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.25) 42%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

#mijnBoetesFreeReviewBtn:hover {
  filter: saturate(1.06) brightness(1.03);
  transform: translateY(-1px);
  box-shadow:
    0 18px 28px rgba(37, 99, 235, 0.24),
    0 8px 18px rgba(13, 148, 136, 0.22);
}

#mijnBoetesFreeReviewBtn:hover::after {
  transform: translateX(120%);
}

#mijnBoetesFreeReviewBtn:disabled {
  transform: none;
  box-shadow: none;
}

.appeal-review-confirm {
  margin-top: 10px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  border-radius: 12px;
  color: #1e3a8a;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  padding: 0 12px;
  pointer-events: none;
  transition:
    max-height 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease,
    transform 0.32s ease,
    padding 0.24s ease;
}

.appeal-review-confirm.is-open {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  padding: 10px 12px 12px;
  pointer-events: auto;
}

.appeal-review-confirm__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.appeal-review-confirm__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #10b981, #0ea5e9);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.28);
}

.appeal-review-confirm__text {
  margin: 8px 0 0;
  line-height: 1.45;
  color: #1e40af;
}

.appeal-review-confirm__submit {
  margin-top: 10px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.26);
}

.appeal-review-confirm__submit:hover {
  filter: brightness(1.05);
}

.appeal-intro-cta {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  transition: opacity 0.26s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
  transform-origin: top;
  max-height: 160px;
  overflow: hidden;
}

.appeal-intro-cta.is-faded {
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.appeal-intro-cta p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.appeal-form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

#appealStatusHint {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

.appeal-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.appeal-form-card .fleet-input[type="file"] {
  min-height: 42px;
}

.appeal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin-bottom: 6px;
}

.appeal-field {
  min-width: 0;
}

.appeal-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  color: #334155;
  font-size: 13px;
}

.appeal-form-card .fleet-filter-label {
  margin-bottom: 4px;
}

.appeal-form-card .fleet-input,
.appeal-form-card .fleet-select {
  min-height: 40px;
}

.appeal-form-card .appeal-fixed-field:disabled {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #334155;
  border-color: #cbd5e1;
  cursor: not-allowed;
}

.appeal-form-card textarea.fleet-input {
  min-height: 72px;
}

.appeal-modal-dialog {
  width: min(980px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.appeal-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.appeal-pay-bar {
  margin-top: 8px;
}

.appeal-pay-bar.is-locked {
  opacity: 0.88;
}

.appeal-pay-bar.is-locked #mijnBoetesAppealContinueBtn {
  cursor: not-allowed;
  filter: grayscale(0.08);
}

.admin-fines-review-tabs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-fines-review-tab {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-fines-review-tab:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.admin-fines-review-tab.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.24);
}

.admin-fines-review-panel {
  margin-top: 10px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border-radius: 12px;
  padding: 10px;
}

.admin-fines-review-hint {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.admin-fines-review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 920px) {
  .appeal-modal-dialog {
    overflow: auto;
  }
  .appeal-modal-grid {
    grid-template-columns: 1fr;
  }
  .appeal-form-grid {
    grid-template-columns: 1fr;
  }
}

.auth-forgot-link {
  margin-top: 8px;
  font-size: 14px;
}

.auth-forgot-link a,
.auth-card .auth-forgot-link a {
  color: #b91c1c !important;
  text-decoration: underline;
}

.auth-forgot-link a:hover,
.auth-card .auth-forgot-link a:hover {
  color: #991b1b !important;
}

/* ===== Dashboard cards ===== */

.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.account-card {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  min-height: 170px;
}

.account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
  border-color: #cbd5e1;
}

.account-card h3 {
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.account-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Huurder dashboard ===== */
.huurder-verify-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.huurder-verify-card--verified {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
  box-shadow: 0 8px 28px rgba(22, 101, 52, 0.08);
}
.huurder-verify-card--verified .huurder-verify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(22, 101, 52, 0.12);
  font-size: 0;
  line-height: 0;
}
.huurder-verify-card--verified .huurder-verify-icon .huurder-verify-badge {
  width: 40px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(21, 128, 61, 0.2));
}
.huurder-verify-card--verified .huurder-verify-content h3 {
  color: #14532d;
  margin-bottom: 6px;
}
.huurder-verify-card--verified .huurder-verify-lead {
  font-size: 15px;
  font-weight: 700;
  color: #166534;
  line-height: 1.55;
  margin: 0 0 8px;
}
.huurder-verify-card--verified .huurder-verify-muted {
  font-size: 14px;
  color: #15803d;
  line-height: 1.55;
  margin: 0;
  opacity: 0.92;
}
.huurder-verify-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.huurder-verify-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.huurder-verify-content p {
  font-size: 15px;
  color: #1e40af;
  line-height: 1.6;
  margin: 0 0 16px;
}
.huurder-verify-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #2563eb;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.huurder-verify-btn:hover {
  background: #1d4ed8;
}

.huurder-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.huurder-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-align: left;
  cursor: pointer;
  min-height: 150px;
}
.huurder-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}
.huurder-action-card--logout {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #e2e8f0;
}
.huurder-action-card--logout:hover {
  border-color: #cbd5e1;
}
.huurder-action-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}
.huurder-action-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.huurder-action-card p {
  font-size: 14px;
  color: var(--muted, #64748b);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .huurder-dashboard-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .huurder-dashboard-actions {
    grid-template-columns: 1fr;
  }
  .huurder-verify-card {
    flex-direction: column;
    padding: 20px;
  }
}

/* ===== Mijn gegevens (instellingen) ===== */
.gegevens-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.huurder-dashboard .gegevens-wrap--compact {
  max-width: 900px;
}
.huurder-dashboard .account-page {
  padding: 20px 0 20px;
  min-height: auto;
}
.huurder-dashboard .account-page + .site-footer,
.huurder-dashboard main + .site-footer {
  margin-top: 24px;
}
.huurder-dashboard .section-heading--compact {
  margin-bottom: 16px;
}
.huurder-dashboard .section-heading--compact h1 {
  font-size: 26px;
}
.huurder-dashboard .section-heading--compact .section-text {
  font-size: 14px;
}
.huurder-dashboard .section-heading--compact .section-kicker {
  margin-bottom: 4px;
}
.gegevens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
@media (max-width: 700px) {
  .gegevens-grid {
    grid-template-columns: 1fr;
  }
}
.gegevens-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.huurder-dashboard .gegevens-card {
  padding: 16px 20px;
}
.gegevens-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.gegevens-card-desc {
  font-size: 13px;
  color: var(--muted, #64748b);
  line-height: 1.4;
  margin: 0 0 12px;
}
.gegevens-field-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.gegevens-display {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 15px;
  color: #0f172a;
  user-select: none;
  pointer-events: none;
}
.gegevens-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.gegevens-input--readonly {
  background: #f8fafc;
  color: #475569;
}
.gegevens-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.gegevens-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.gegevens-btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.gegevens-btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.gegevens-btn--ghost {
  background: transparent;
}
.gegevens-btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.gegevens-btn--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
.gegevens-edit-form {
  margin-top: 10px;
}
.gegevens-edit-form .gegevens-input {
  margin-bottom: 8px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.gegevens-form-row {
  margin-bottom: 8px;
}
.gegevens-identity-block {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.gegevens-identity-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}
.gegevens-identity-col {
  flex: 1;
  min-width: 0;
}
.gegevens-identity-col--end {
  flex: 0 1 min(220px, 46%);
  text-align: right;
}
.gegevens-identity-col--end .gegevens-label {
  text-align: right;
}
.gegevens-identity-col--end .gegevens-identity-value--below {
  text-align: right;
}
.gegevens-identity-stack {
  margin-bottom: 8px;
}
.gegevens-identity-stack--tight {
  margin-bottom: 0;
}
.gegevens-identity-stack .gegevens-label {
  margin-bottom: 4px;
}
.gegevens-identity-value--below {
  display: block;
  text-align: left;
  padding: 2px 0 0;
  font-size: 15px;
  font-weight: 400;
  color: #0f172a;
  line-height: 1.35;
  user-select: none;
}
.gegevens-contact-card .gegevens-email-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
/* Zelfde verticale ruimte label → waarde als Voornaam (identity-stack) */
.gegevens-contact-card .gegevens-email-section > .gegevens-label,
.gegevens-contact-card .gegevens-phone-section > .gegevens-label {
  margin-bottom: 4px;
}
.gegevens-contact-card .gegevens-field-row--view .gegevens-display {
  padding: 2px 0;
}
.gegevens-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}
.gegevens-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.gegevens-phone-country {
  width: 100px;
  flex-shrink: 0;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
}
.gegevens-phone-input {
  flex: 1;
  min-width: 0;
}
.gegevens-phone-status {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 6px 0;
}
.gegevens-phone-status--unverified {
  color: #991b1b;
}
.gegevens-phone-status--verified {
  color: #166534;
}
.gegevens-phone-view-status {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
}
.gegevens-phone-verify-btn {
  margin-bottom: 8px;
}
.gegevens-phone-code-block {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.gegevens-phone-code-block .gegevens-input {
  width: 100px;
  margin-bottom: 0;
}

.gegevens-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #334155;
}
.gegevens-form-row .gegevens-input {
  width: 100%;
  box-sizing: border-box;
}
.gegevens-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.gegevens-card--danger {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}
.gegevens-card--danger .gegevens-card-desc {
  color: #991b1b;
}
.gegevens-delete-confirm {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #fecaca;
}
.gegevens-delete-confirm p {
  font-size: 14px;
  margin: 0 0 10px;
  color: #991b1b;
}
.gegevens-delete-confirm .gegevens-input {
  margin-bottom: 12px;
}
.gegevens-delete-blocked {
  margin-bottom: 12px;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}
.gegevens-delete-blocked-text {
  margin: 0;
  font-size: 14px;
  color: #991b1b;
  line-height: 1.5;
}
.gegevens-btn--disabled,
.gegevens-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Accountverificatie statuskaart */
.gegevens-verificatie-card--verified {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}
.gegevens-verificatie-card--verified .gegevens-verificatie-text {
  color: #166534;
  font-weight: 700;
}
.gegevens-verificatie-card--verified .gegevens-verificatie-desc {
  color: #15803d;
}
.gegevens-verificatie-card--unverified {
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}
.gegevens-verificatie-card--unverified .gegevens-verificatie-text {
  color: #991b1b;
  font-weight: 700;
}
.gegevens-verificatie-desc {
  font-size: 13px;
  color: #991b1b;
  margin: 4px 0 10px;
  line-height: 1.5;
}
.gegevens-verificatie-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #dc2626;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.gegevens-verificatie-btn:hover {
  background: #b91c1c;
}
.gegevens-verificatie-sync {
  margin: 8px 0 0;
}
.gegevens-verificatie-btn--secondary {
  color: #1e293b;
  background: #fff;
  border: 1px solid #cbd5e1;
}
.gegevens-verificatie-btn--secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* ===== Mijn auto's / cards refinement ===== */

#carsMessage {
  margin-bottom: 20px;
}

.car-card {
  border-radius: 24px;
}

.car-card-image,
.car-image-wrap {
  background: #e2e8f0;
}

.car-card-image img,
.car-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.car-card-content,
.car-content {
  padding: 22px;
}

.car-card-content h3,
.car-title {
  font-size: 23px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.car-card-content p,
.car-meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
}

.car-card-content strong,
.car-price {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.car-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.car-card-actions .search-button,
.car-card-actions .car-button,
.car-card-actions button,
.car-card-actions a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

/* ===== Aanbod-pagina kaarten (concurrent-stijl) ===== */

.car-card--aanbod {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ecf1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Compacte kaarten op aanbod met filter */
.cars-grid--compact .car-card--aanbod {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.cars-grid--compact .car-card-image-wrap {
  aspect-ratio: 16 / 9;
}

.cars-grid--compact .car-card-location {
  top: 10px;
  left: 10px;
  padding: 6px 11px;
  font-size: 12px;
}

.cars-grid--compact .car-card-favorite {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
}

.cars-grid--compact .car-card-favorite-icon {
  font-size: 18px;
}

.cars-grid--compact .car-card-body {
  padding: 14px;
}

.cars-grid--compact .car-card-title {
  font-size: 16px;
  font-weight: 700;
}

.cars-grid--compact .car-card-options {
  font-size: 12px;
  margin-top: 2px;
}

.cars-grid--compact .car-card-divider {
  margin: 10px 0;
}

.cars-grid--compact .car-card-specs {
  gap: 10px 14px;
  font-size: 12px;
}

.cars-grid--compact .car-card-spec--km::before,
.cars-grid--compact .car-card-spec--borg::before,
.cars-grid--compact .car-card-spec--age::before {
  width: 12px;
  height: 12px;
}

.cars-grid--compact .car-card-footer {
  padding-top: 10px;
}

.cars-grid--compact .car-card-price {
  font-size: 18px;
}

.cars-grid--compact .car-card-price-unit {
  font-size: 12px;
}

.cars-grid--compact .car-card-price-old {
  font-size: 12px;
}

.cars-grid--compact .car-card-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

@media (max-width: 992px) {
  .aanbod-sort-row .aanbod-sort-wrap {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  }
  .aanbod-sort-row .aanbod-sort-wrap .filter-group label {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
  }
  .aanbod-sort-row .aanbod-sort-wrap select {
    min-height: 44px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0 12px;
    font-weight: 600;
    color: #0f172a;
  }
  .aanbod-sort-row .aanbod-sort-wrap select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
  }
  .aanbod-layout {
    flex-direction: column;
    gap: 16px;
  }
  .aanbod-filters {
    width: 100%;
    position: static;
    padding: 16px;
    border-radius: 14px;
  }
  .aanbod-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0 14px 0 16px;
    border: 1px solid #cfe0ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
    color: #0b1220;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    cursor: pointer;
  }
  .aanbod-filters-toggle::before {
    content: "Filters";
    font-weight: 700;
    opacity: 0.78;
    margin-right: 8px;
  }
  .aanbod-filters-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid #1d4ed8;
    border-bottom: 2px solid #1d4ed8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 10px;
    flex: 0 0 auto;
  }
  .aanbod-filters-toggle[aria-expanded="true"] {
    border-color: #bfd4ff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
  }
  .aanbod-filters-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
    margin-top: 4px;
  }
  .aanbod-filters-title {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .aanbod-sort-row {
    margin: 4px 0 14px;
  }
  .cars-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .aanbod-page .section-heading {
    margin-bottom: 16px;
    gap: 10px;
  }
  .aanbod-page .section-heading h1 {
    font-size: clamp(28px, 8vw, 34px);
  }
  .aanbod-sort-row .aanbod-sort-wrap label {
    margin-bottom: 6px;
  }
  .aanbod-sort-row .aanbod-sort-wrap {
    padding: 10px;
    border-radius: 12px;
  }
  .aanbod-sort-row .aanbod-sort-wrap select,
  .aanbod-filters .filter-group select {
    min-height: 44px;
    font-size: 16px; /* voorkomt iOS zoom op focus */
  }
  .aanbod-filters-toggle {
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
  }
  .aanbod-filters {
    padding: 14px;
  }
  .aanbod-filters-form {
    gap: 12px;
  }
  .filter-reset {
    min-height: 44px;
  }
  .cars-grid--compact {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cars-grid--compact .car-card-body {
    padding: 12px;
  }
  .cars-grid--compact .car-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cars-grid--compact .car-card-footer-sep {
    display: none;
  }
  .cars-grid--compact .car-card-btn {
    width: 100%;
    justify-content: center;
  }
}

.car-card--aanbod:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.car-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}

.car-card-image-wrap .car-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-card-location {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.car-card-location::before {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.car-card-favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.2s;
}

.car-card-favorite:hover {
  background: #fff;
  transform: scale(1.05);
}

.car-card-favorite-icon {
  font-size: 22px;
  color: #94a3b8;
  transition: color 0.2s;
}

.car-card-favorite-icon.is-favorite {
  color: #dc2626;
}

.car-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.car-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.car-card-rating-wrap {
  margin-top: 8px;
}

.car-card-options {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0;
  line-height: 1.4;
}

.car-card-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 14px 0;
  flex-shrink: 0;
}

.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  font-size: 13px;
  color: #64748b;
}

.car-card-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.car-card-spec--km::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.car-card-spec--borg::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.car-card-spec--age::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  flex-wrap: wrap;
}

.car-card-footer-sep {
  width: 1px;
  min-width: 1px;
  align-self: stretch;
  background: #e2e8f0;
}

.car-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.car-card-price-old {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.car-card-price {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.car-card-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.car-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.car-card-btn:hover {
  background: #1e293b;
  color: #fff;
}

/* ===== Utility spacing for portal pages ===== */

.account-page .cars-grid {
  margin-top: 6px;
}

.account-page .auth-card + .auth-card,
.account-page .account-status-card + .auth-card {
  margin-top: 22px;
}

/* ===== Better footer spacing under portal pages ===== */

.account-page + .site-footer,
main + .site-footer {
  margin-top: 70px;
}

/* ===== Responsive portal ===== */

@media (max-width: 1100px) {
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-card {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .account-page {
    padding: 46px 0 20px;
  }

  .auth-card,
  .account-status-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .account-card {
    min-height: auto;
  }

  .car-card-content,
  .car-content {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .account-grid,
  .cars-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h1 {
    font-size: 30px;
  }

  .auth-card {
    padding: 20px 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 50px;
    font-size: 14px;
  }

  .car-card-image img,
  .car-image {
    height: 210px;
  }
}

/* ===== Listing builder / auto toevoegen ===== */

.listing-builder-page .container {
  max-width: 1480px;
  width: 100%;
  box-sizing: border-box;
}

.listing-builder-form {
  display: grid;
  gap: 26px;
}

/* ===== Listing wizard (auto toevoegen) ===== */

.listing-builder-form--wizard {
  display: block;
  gap: 0;
}

.listing-wizard-layout {
  display: grid;
  grid-template-columns: minmax(168px, 200px) minmax(0, 1fr) minmax(236px, 292px);
  gap: 22px 28px;
  align-items: start;
}

/* Dunne lichte strook: alleen stappen */
.listing-wizard-nav {
  position: relative;
  padding: 16px 12px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  align-self: stretch;
}

.listing-wizard-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.listing-wizard-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.listing-wizard-step-li {
  position: relative;
  margin: 0;
  padding: 0 0 0 2px;
}

.listing-wizard-step-li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 44px;
  bottom: 2px;
  width: 1px;
  background: #e2e8f0;
  border-radius: 1px;
}

.listing-wizard-step-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 8px 12px 6px;
  margin: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.listing-wizard-step-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.listing-wizard-step-btn.is-active {
  background: #eff6ff;
  color: #1e3a5f;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.listing-wizard-step-btn.is-active .listing-wizard-step-num {
  background: var(--primary);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.listing-wizard-step-btn.is-done:not(.is-active) .listing-wizard-step-num {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.listing-wizard-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.listing-wizard-step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
  min-width: 0;
}

.listing-wizard-step-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.listing-wizard-step-hint {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
}

.listing-wizard-step-btn.is-active .listing-wizard-step-hint {
  color: #475569;
}

.listing-wizard-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.listing-step-panel {
  display: none;
  animation: listing-step-in 0.38s ease both;
}

.listing-step-panel.is-visible {
  display: block;
}

@keyframes listing-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing-wizard-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 0;
}

.listing-wizard-btn-back {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.listing-wizard-btn-back:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.listing-wizard-btn-back:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.listing-wizard-btn-next {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.listing-wizard-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.listing-wizard-preview-col {
  position: relative;
}

.listing-preview-sticky {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
  border: 1px solid #e8edf4;
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.listing-preview-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

.car-card--preview {
  margin: 0;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.car-card--preview.is-updated {
  animation: listing-preview-pulse 0.55s ease;
}

@keyframes listing-preview-pulse {
  0% {
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  }
  45% {
    box-shadow:
      0 16px 40px rgba(37, 99, 235, 0.12),
      0 0 0 1px rgba(37, 99, 235, 0.2);
  }
  100% {
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  }
}

.car-card--preview .car-card-btn {
  pointer-events: none;
  cursor: default;
  opacity: 0.85;
}

.car-card--preview .car-card-image--preview-empty {
  background: linear-gradient(145deg, #e8edf3 0%, #d8dee8 48%, #e2e8f0 100%);
}

.car-card--preview .car-card-title--preview-empty {
  min-height: 1.2em;
}

@media (max-width: 1100px) {
  .listing-wizard-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .listing-wizard-nav {
    width: 100%;
    max-width: none;
    align-self: auto;
  }

  .listing-wizard-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .listing-wizard-step-li {
    flex: 0 0 auto;
  }

  .listing-wizard-step-li:not(:last-child)::before {
    display: none;
  }

  .listing-wizard-step-btn {
    min-width: 132px;
    padding: 12px 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .listing-wizard-step-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: 11px;
  }

  .listing-wizard-step-title {
    font-size: 13px;
    line-height: 1.3;
  }

  .listing-wizard-step-text {
    align-items: center;
  }

  .listing-wizard-step-hint {
    display: none;
  }

  .listing-preview-sticky {
    position: relative;
    top: auto;
  }

  .listing-wizard-preview-col {
    max-width: 400px;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .listing-wizard-nav {
    padding: 14px 12px;
  }

  .listing-wizard-step-btn {
    min-width: 118px;
    padding: 11px 10px;
  }

  .listing-wizard-step-title {
    font-size: 12px;
  }

  .listing-preview-sticky {
    padding: 14px 12px 16px;
  }
}

@media (max-width: 900px) {
  /* Voorkom horizontale scroll / “verschuiving” door 100vw + content */
  body[data-business-page="add-car"] {
    overflow-x: hidden;
  }

  .listing-builder-page .container {
    width: 100%;
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left, 0));
    padding-right: max(12px, env(safe-area-inset-right, 0));
  }

  .listing-wizard-layout {
    gap: 14px;
  }

  .listing-wizard-nav {
    position: sticky;
    top: 58px;
    z-index: 30;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  }

  .listing-wizard-steps {
    gap: 6px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .listing-wizard-step-li {
    scroll-snap-align: start;
  }

  .listing-wizard-step-btn {
    min-width: 102px;
    padding: 9px 9px 10px;
    border-radius: 10px;
  }

  .listing-wizard-step-num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .listing-wizard-step-title {
    font-size: 11px;
  }

  /* Op mobiel focus op invullen: live preview kolom uit beeld. */
  .listing-wizard-preview-col {
    display: none;
  }

  .listing-section {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .listing-section-head {
    margin-bottom: 14px;
  }

  .listing-section-head h2 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .listing-section-head p {
    font-size: 14px;
    line-height: 1.5;
  }

  .listing-info-grid,
  .listing-info-grid-clean {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group label {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .fleet-input {
    min-height: 44px;
    font-size: 16px;
  }

  .input-with-prefix input {
    font-size: 16px;
  }

  .photo-uploader-layout {
    gap: 12px;
  }

  .photo-uploader-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .photo-slot {
    border-radius: 14px;
  }

  .photo-slot-main {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .photo-slot-tools {
    gap: 6px;
    right: 8px;
    top: 8px;
  }

  .listing-weekly-bulk {
    padding: 10px;
    border-radius: 12px;
  }

  .listing-weekly-bulk .fleet-input {
    min-width: 0;
    width: calc(50% - 16px);
  }

  .listing-weekly-row {
    grid-template-columns: 40px 52px 1fr 1fr;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
  }

  .listing-weekly-row .fleet-input {
    font-size: 16px;
  }

  .listing-submit-row--multi {
    position: sticky;
    bottom: 8px;
    z-index: 35;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;
  }

  .listing-submit-row--multi .search-button,
  .listing-btn-concept {
    width: 100%;
    min-height: 46px;
    min-width: 0;
  }

  .listing-wizard-footer-nav {
    padding-top: 0;
  }
}

/* Auto toevoegen: kleine telefoons — compacte wizard, geen “ingezoomd” gevoel */
@media (max-width: 540px) {
  body[data-business-page="add-car"] {
    overflow-x: hidden;
  }

  .listing-builder-page .business-workspace-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .listing-builder-page .business-workspace-title h1 {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .listing-builder-page .business-workspace-actions .header-link-button {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .listing-wizard-nav {
    top: 56px;
    padding: 8px;
    border-radius: 12px;
  }

  /* 6 stappen als 2 rijen × 3 (geen brede horizontale scroll) */
  .listing-wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .listing-wizard-step-li {
    scroll-snap-align: unset;
    min-width: 0;
  }

  .listing-wizard-step-btn {
    min-width: 0 !important;
    width: 100%;
    padding: 8px 6px 10px !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
  }

  .listing-wizard-step-num {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    border-radius: 9px;
  }

  .listing-wizard-step-title {
    font-size: 10px !important;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .listing-section {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .listing-section-head h2 {
    font-size: 18px;
    letter-spacing: -0.02em;
  }

  .listing-section-head p {
    font-size: 13px;
    line-height: 1.5;
  }

  .photo-uploader-note {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .photo-uploader-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .photo-uploader-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-slot {
    border-radius: 12px;
    min-height: 0;
  }

  .photo-slot-main {
    min-height: 0;
    max-height: none;
  }

  .photo-add-button {
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
  }

  .photo-add-button .photo-plus {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .photo-slot-tools {
    right: 6px;
    top: 6px;
  }

  .photo-crop-button,
  .photo-remove-button {
    width: 34px;
    height: 34px;
  }

  .toggle-check-box {
    min-height: 48px;
    padding: 10px 12px;
  }

  .toggle-check-text strong {
    font-size: 13px;
  }

  .toggle-check-text small {
    font-size: 11px;
  }

  .listing-wizard-content .car-options-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .listing-wizard-content .car-options-category {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .listing-wizard-content .car-options-category-title {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .listing-wizard-content .car-options-list {
    grid-template-columns: 1fr;
  }

  .listing-wizard-content .car-option-item {
    padding: 8px 10px;
  }

  .listing-wizard-content .car-option-item span {
    font-size: 13px;
  }

  .listing-weekly-bulk {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }

  .listing-weekly-bulk .fleet-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .listing-weekly-bulk-sep {
    display: none;
  }

  .listing-weekly-bulk .listing-weekly-sync {
    width: 100%;
    margin-top: 4px;
    text-align: center;
    justify-content: center;
  }

  .listing-weekly-desc {
    font-size: 12px;
  }

  .listing-weekly-title {
    font-size: 14px;
  }

  .listing-weekly-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .listing-weekly-col-day {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px;
  }

  .listing-weekly-col-open {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .listing-weekly-row .fleet-input.weekly-from {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    width: 100%;
  }

  .listing-weekly-row .fleet-input.weekly-to {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    width: 100%;
  }

  .listing-wizard-footer-nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .listing-wizard-btn-back,
  .listing-wizard-btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 15px;
    min-height: 48px;
  }

  .listing-submit-row--multi {
    flex-direction: column;
    gap: 8px;
  }

  #description {
    font-size: 16px;
    min-height: 140px;
    line-height: 1.45;
  }

  .textarea-meta {
    font-size: 12px;
  }

  .listing-submit-row .search-button,
  .listing-btn-concept {
    min-width: 0;
    width: 100%;
  }

  .crop-modal-dialog {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    max-height: none;
  }

  .crop-modal-header {
    padding: 14px 14px 12px;
  }

  .crop-modal-header h3 {
    font-size: 17px;
  }

  .crop-modal-header p {
    font-size: 12px;
  }

  .crop-modal-body {
    padding: 12px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .crop-frame-wrap {
    flex: 1;
    min-height: 200px;
  }

  .crop-frame {
    width: 100%;
    max-width: none;
  }

  .crop-modal-footer {
    flex-direction: column-reverse;
    gap: 10px;
    padding: 12px 14px max(14px, env(safe-area-inset-bottom, 0));
  }

  .crop-modal-footer .search-button,
  .crop-secondary-btn {
    width: 100%;
    min-height: 48px;
  }
}

.listing-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.listing-section-head {
  margin-bottom: 22px;
}

.listing-section-head h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.listing-section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Weekrooster verhuur (auto toevoegen) */
.listing-weekly-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8edf4;
}

.listing-weekly-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.listing-weekly-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.listing-weekly-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  max-width: 52rem;
}

.listing-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  cursor: pointer;
}
.listing-checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.listing-field-hint {
  font-size: 13px;
  color: #64748b;
  margin: 6px 0 0;
  line-height: 1.55;
}

.listing-weekly-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.listing-weekly-bulk-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  width: 100%;
}

@media (min-width: 640px) {
  .listing-weekly-bulk-label {
    width: auto;
  }
}

.listing-weekly-bulk .fleet-input {
  width: auto;
  min-width: 7rem;
}

.listing-weekly-bulk-sep {
  color: #94a3b8;
  font-weight: 600;
}

.listing-weekly-bulk .listing-weekly-sync {
  margin-top: 0;
}

.listing-weekly-sync {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.listing-weekly-sync:hover {
  background: #f8fafc;
  border-color: #c7d2e3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.listing-weekly-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
}

.listing-weekly-row {
  display: grid;
  grid-template-columns: 44px 52px 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.listing-weekly-row--head {
  background: transparent;
  border: none;
  padding: 0 12px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.listing-weekly-row--closed {
  opacity: 0.72;
  background: #f1f5f9;
}

.listing-weekly-row--closed .weekly-from,
.listing-weekly-row--closed .weekly-to {
  opacity: 0.45;
  pointer-events: none;
}

.listing-weekly-col-day {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.listing-weekly-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.listing-weekly-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.listing-weekly-switch-ui {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background 0.2s ease;
}

.listing-weekly-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.listing-weekly-switch input:checked + .listing-weekly-switch-ui {
  background: linear-gradient(135deg, #2563eb, #22c55e);
}

.listing-weekly-switch input:checked + .listing-weekly-switch-ui::after {
  transform: translateX(14px);
}

.listing-weekly-row .fleet-input {
  min-width: 0;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .listing-weekly-table {
    max-width: none;
  }

  .listing-weekly-row--head {
    display: none;
  }
}

/* 541–640px: compacte 4-koloms rij; ≤540px gebruikt add-car layout (2×2 grid) */
@media (max-width: 640px) and (min-width: 541px) {
  .listing-weekly-row {
    grid-template-columns: 36px 48px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
  }
}

/* foto layout */
.photo-uploader-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.photo-uploader-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 3 / 2;
  border: 2px dashed #d6deea;
  background: #f8fafc;
  border-radius: 22px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.photo-slot-main {
  aspect-ratio: 3 / 2;
}

.photo-slot:hover {
  border-color: #b9c7db;
}

.photo-slot.dragging {
  opacity: 0.5;
}

.photo-slot.drag-over {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.photo-slot.filled {
  border-style: solid;
  border-color: #e2e8f0;
  background: #ffffff;
}

.photo-add-button {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #475569;
  font-weight: 700;
  cursor: pointer;
}

.photo-plus {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.photo-slot-main .photo-plus {
  width: 66px;
  height: 66px;
  font-size: 38px;
}

.photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.photo-slot.filled .photo-preview {
  display: block;
}

.photo-slot.filled .photo-add-button {
  display: none;
}

/* info grid */
.listing-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.listing-info-column {
  display: grid;
  gap: 18px;
}

/* textarea */
.textarea-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* opties */
.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.option-pill:hover {
  border-color: #bfd0e6;
  transform: translateY(-1px);
}

.option-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-pill span {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.option-pill input:checked + span {
  color: var(--primary);
}

.option-pill:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.06);
}

/* related placeholder */
.related-placeholder {
  min-height: 120px;
  border: 1px dashed #d8e1ec;
  border-radius: 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.listing-submit-row {
  display: flex;
  justify-content: flex-start;
}

.listing-submit-row .search-button {
  min-width: 220px;
  min-height: 54px;
  border-radius: 14px;
}

.listing-submit-row--multi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.listing-btn-concept {
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.listing-btn-concept:hover {
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
}

.listing-btn-concept:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

/* responsive */
@media (max-width: 1100px) {
  .photo-uploader-layout,
  .listing-info-grid {
    grid-template-columns: 1fr;
  }

  .photo-slot-main {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .listing-section {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .photo-uploader-side {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .photo-slot {
    min-height: 140px;
    border-radius: 18px;
  }

  .photo-slot-main {
    min-height: 240px;
  }

  .listing-section-head h2 {
    font-size: 24px;
  }
}

/* ===== Business app shell ===== */

.business-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

body[data-business-page] #site-header {
  display: none !important;
  height: 0;
  overflow: hidden;
}

body[data-admin-page] #site-header {
  display: none !important;
  height: 0;
  overflow: hidden;
}

/* Horizontal topnav (sidebar tegen de plafond) – klein wit ruimte onder header */
.business-topnav-wrap {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
  box-sizing: border-box;
}

/* Voorkom horizontale “verschuiving” op verhuurderpagina’s (100vw + scrollbar) */
html:has(body[data-business-page]) {
  scrollbar-gutter: stable;
}

body[data-business-page] {
  overflow-x: hidden;
}

.business-topnav {
  position: relative;
  z-index: 250;
  width: 100%;
}

.business-topnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
}

.business-topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.business-topnav-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.business-topnav-brand-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.business-topnav-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.business-topnav-utility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.business-topnav-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.business-topnav-icon-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.business-topnav-icon-link.active {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.85);
}

.business-topnav-icon-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Eenduidige hoogte en uitlijning voor alle koppen (geen zigzag) */
.business-topnav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.business-topnav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.business-topnav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-bottom-color: #3b82f6;
}

.business-topnav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.business-topnav-item .business-topnav-link {
  padding-right: 28px;
}

/* Chevron netjes gecentreerd, geen verschuiving tekst */
.business-topnav-item .business-topnav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
  margin-top: 0;
}

.business-topnav-item:hover .business-topnav-link::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Dropdown naar beneden onder de topbalk (niet eroverheen) – full width */
.business-topnav-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topnav-dropdown-top, 130px);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border-top: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99;
  pointer-events: none;
}

.business-topnav-dropdown--right {
  position: absolute;
  left: auto;
  right: 0;
  top: calc(100% - 2px);
  min-width: 220px;
  width: max-content;
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

/* Zorg dat het dropdown-blok en de trigger één doorlopend hover-gebied vormen */
.business-topnav-item:hover .business-topnav-dropdown,
.business-topnav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.business-topnav-item.business-topnav-item--open .business-topnav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.business-topnav-dropdown-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.business-topnav-utility .business-topnav-item {
  position: relative;
}

.business-topnav-utility .business-topnav-item .business-topnav-link::after {
  display: none;
}

.business-topnav-dropdown--right .business-topnav-dropdown-inner {
  max-width: none;
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.business-topnav-dropdown--right .business-topnav-sublink {
  display: block;
  white-space: nowrap;
}

.business-topnav-dropdown--right button.business-topnav-sublink {
  width: auto;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  padding: 10px 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.business-topnav-identity-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 2px;
}

.business-topnav-identity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.business-topnav-identity-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.business-topnav-identity-value {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
}

.business-topnav-identity-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.business-topnav-pin-eye {
  width: 24px;
  height: 24px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #64748b;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.business-topnav-pin-eye svg {
  width: 14px;
  height: 14px;
  display: block;
}

.business-topnav-sublink {
  display: inline-block;
  padding: 10px 14px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.business-topnav-sublink:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.business-topnav-sublink.active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

/* Verhuurder topnav: hamburger (mobiel)
   Streepjes absoluut in vaste knopbox → geen flex-reflow; logo blijft stil bij open/dicht. */
.business-topnav-menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.business-topnav-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.business-topnav-menu-btn-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  margin-top: -1px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}

.business-topnav-menu-btn-bar:nth-child(1) {
  transform: translateY(-7px);
}

.business-topnav-menu-btn-bar:nth-child(2) {
  transform: translateY(0);
}

.business-topnav-menu-btn-bar:nth-child(3) {
  transform: translateY(7px);
}

.business-mobile-nav-open .business-topnav-menu-btn-bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.business-mobile-nav-open .business-topnav-menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.business-mobile-nav-open .business-topnav-menu-btn-bar:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Mobiel drawer + backdrop (≤960px)
   Let op: .business-topnav heeft z-index 250. Drawer/backdrop moeten BOVEN de balk
   liggen als het menu open is, anders bedekt het logo/hoofdbalk het kruisje en de inhoud. */
.business-mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.business-mobile-nav-open .business-mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.business-mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 290;
  width: min(100% - 44px, 400px);
  max-width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: -16px 0 48px rgba(15, 23, 42, 0.18);
  transform: translateX(105%);
  transition:
    transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0.3s ease;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.business-mobile-nav-open .business-mobile-nav-drawer {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.business-mobile-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.business-mobile-nav-drawer-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.business-mobile-nav-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.business-mobile-nav-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.business-mobile-nav-drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.business-mobile-nav-drawer-body {
  padding: 10px 12px 8px;
}

.business-mobile-nav-drawer-footer {
  padding: 8px 12px 20px;
  border-top: 1px solid #e2e8f0;
  margin-top: 4px;
}

.business-mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  margin: 4px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.business-mobile-nav-link:hover,
.business-mobile-nav-link:focus-visible {
  background: #f1f5f9;
  color: #0f172a;
  outline: none;
}

.business-mobile-nav-link.active {
  background: #eff6ff;
  color: #1d4ed8;
}

.business-mobile-nav-details {
  margin: 4px 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}

.business-mobile-nav-details-summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.business-mobile-nav-details-summary::-webkit-details-marker {
  display: none;
}

.business-mobile-nav-details-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.business-mobile-nav-details[open] .business-mobile-nav-details-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.business-mobile-nav-details-panel {
  padding: 4px 8px 10px 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.business-mobile-nav-sublink {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.business-mobile-nav-sublink:hover,
.business-mobile-nav-sublink:focus-visible {
  background: #f8fafc;
  color: #0f172a;
  outline: none;
}

.business-mobile-nav-sublink.active {
  background: #eff6ff;
  color: #1d4ed8;
}

.business-mobile-nav-sublink--btn {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #b91c1c;
  font-weight: 700;
}

.business-mobile-nav-sublink--btn:hover {
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 960px) {
  .business-topnav-menu-btn {
    display: inline-flex;
  }

  .business-topnav-main,
  .business-topnav-utility {
    display: none !important;
  }

  .business-topnav-inner {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    width: 100%;
  }

  .business-topnav-brand {
    margin-right: 0;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
  }

  .business-topnav-brand-text {
    font-size: 14px;
  }

  /* Geen hover-dropdowns op mobiel: alles via drawer */
  .business-topnav-item:hover .business-topnav-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Geen extra z-index op wrap: drawer (290) moet binnen context boven .business-topnav (250) uitkomen */

  /* Compacte werkruimte */
  .business-workspace-card {
    padding: 18px 16px;
  }

  /* Geen container-zijpadding: scherm vol; ademruimte alleen in werkzone */
  body[data-business-page] .account-page > .container {
    padding-left: 0;
    padding-right: 0;
  }

  body[data-business-page] .business-workspace {
    padding-left: 14px;
    padding-right: 14px;
  }

  body[data-business-page] .business-topnav-inner {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: visible;
  }
}

@media (min-width: 961px) {
  .business-mobile-nav-backdrop,
  .business-mobile-nav-drawer {
    display: none !important;
  }
}

/* Spacer so workspace doesn't sit under topnav */
#businessSidebar + .business-workspace {
  margin-top: 0;
}

.business-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.business-sidebar-brand {
  padding: 4px 8px 16px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 16px;
}

.business-sidebar-brand p {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 700;
}

.business-sidebar-brand h3 {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.business-sidebar-nav {
  display: grid;
  gap: 6px;
}

.business-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  border: 1px solid transparent;
}

.business-nav-link:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

.business-nav-link.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.business-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  flex: 0 0 auto;
}

.business-nav-link.active .business-nav-dot {
  background: #2563eb;
}

/* Sidebar groups with sub-items */
.business-nav-group {
  display: grid;
  gap: 2px;
}

.business-nav-group .business-nav-link {
  margin-bottom: 2px;
}

.business-nav-sublinks {
  display: grid;
  gap: 2px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid #e2e8f0;
  margin-bottom: 8px;
}

.business-nav-sublink {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.business-nav-sublink:hover {
  background: #f8fafc;
  color: #0f172a;
}

.business-nav-sublink.active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.business-sidebar-footer {
  margin-top: 18px;
  padding: 16px 10px 2px;
  border-top: 1px solid #eef2f7;
}

.business-sidebar-footer p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.business-workspace {
  min-width: 0;
}

.business-workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.business-workspace-title p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.business-workspace-title h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0;
}

/* Verhuurder-portaal: kleine regel boven de titel (bijv. "Verhuurder Dashboard") weglaten — de H1 is voldoende */
body[data-business-page] .business-workspace-title > p {
  display: none;
}

.business-workspace-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.business-workspace-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  padding: 26px;
}

/* Instellingen → Account — Boekingsinstellingen */
.jrc-instellingen-account-card .jrc-instellingen-account-lead {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
  max-width: 52rem;
}


.jrc-instellingen-section-divider {
  height: 1px;
  margin: 28px 0 26px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #cbd5e1 12%,
    #94a3b8 50%,
    #cbd5e1 88%,
    transparent 100%
  );
  border: 0;
}

.jrc-boeking-instellingen-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.jrc-boeking-instellingen-intro {
  margin: 0 0 22px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  max-width: 48rem;
}

.jrc-instelling-field {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.jrc-instelling-field--spaced {
  margin-top: 16px;
}

.jrc-instelling-label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  margin-bottom: 6px;
}

.jrc-instelling-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.jrc-instelling-hint strong {
  color: #475569;
  font-weight: 600;
}

.jrc-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.jrc-preset-chip {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.jrc-preset-chip:hover {
  background: #d1fae5;
  border-color: #5eead4;
  color: #115e59;
}

.jrc-instelling-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.jrc-instelling-number {
  width: 7rem;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
}

.jrc-instelling-number:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.jrc-instelling-suffix {
  font-size: 14px;
  color: #64748b;
}

.jrc-instellingen-actions {
  margin-top: 22px;
}

.jrc-instellingen-save-btn {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.28);
  transition: transform 0.12s, box-shadow 0.12s;
}

.jrc-instellingen-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.35);
}

.jrc-instellingen-message {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.jrc-instellingen-message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.jrc-instellingen-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.jrc-instellingen-message--info {
  background: #f0f9ff;
  color: #1e40af;
  border: 1px solid #bae6fd;
}

/* Instellingen -> Abonnementen */
.jrc-subscriptions-card {
  display: grid;
  gap: 24px;
}

.jrc-subscriptions-intro {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
  max-width: 56rem;
}

.jrc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jrc-pricing-plan {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.jrc-pricing-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
}

.jrc-pricing-plan--basis {
  border-top: 5px solid #2563eb;
}

.jrc-pricing-plan--middel {
  border-top: 5px solid #0d9488;
}

.jrc-pricing-plan--premium {
  border-top: 5px solid #9333ea;
}

.jrc-pricing-plan--marketplace_only {
  border-top: 5px solid #0ea5e9;
}

.jrc-pricing-plan--featured {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(13, 148, 136, 0.18);
}

.jrc-pricing-plan--featured:hover {
  transform: translateY(-6px);
}

.jrc-pricing-plan--active {
  border-width: 2px;
}

.jrc-pricing-plan--basis.jrc-pricing-plan--active {
  border-color: #2563eb;
}

.jrc-pricing-plan--middel.jrc-pricing-plan--active {
  border-color: #0d9488;
}

.jrc-pricing-plan--premium.jrc-pricing-plan--active {
  border-color: #9333ea;
}

.jrc-pricing-plan--marketplace_only.jrc-pricing-plan--active {
  border-color: #0ea5e9;
}

.jrc-pricing-plan-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.jrc-pricing-plan-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.jrc-pricing-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.jrc-pricing-price strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.jrc-pricing-price span {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.jrc-pricing-cap {
  margin: -6px 0 0;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

.jrc-pricing-feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #1e293b;
  font-size: 14px;
}

.jrc-pricing-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 999px;
  color: #065f46;
  background: #dcfce7;
  border: 1px solid #86efac;
  font-weight: 800;
  font-size: 12px;
}

.jrc-pricing-addon-note {
  margin: -2px 0 0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
}

.jrc-pricing-cta {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.12s, box-shadow 0.12s;
}

.jrc-pricing-plan--basis .jrc-pricing-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32);
}

.jrc-pricing-plan--middel .jrc-pricing-cta {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.32);
}

.jrc-pricing-plan--premium .jrc-pricing-cta {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.32);
}

.jrc-pricing-plan--marketplace_only .jrc-pricing-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.jrc-pricing-cta:hover {
  transform: translateY(-1px);
}

.jrc-pricing-cta--active {
  opacity: 0.75;
}

.jrc-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f766e;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.32);
}

.jrc-pricing-compare-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.jrc-pricing-compare-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.jrc-pricing-compare-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.jrc-pricing-compare-head p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #64748b;
}

.jrc-pricing-compare-table-wrap {
  overflow-x: auto;
}

.jrc-pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.jrc-pricing-compare-table thead th {
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jrc-pricing-compare-table th,
.jrc-pricing-compare-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: center;
}

.jrc-pricing-compare-table tbody tr:nth-child(even):not(.jrc-compare-section-row) {
  background: #fcfdff;
}

.jrc-pricing-compare-table tbody th {
  text-align: left;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.jrc-compare-section-row th {
  text-align: left;
  padding: 10px 14px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jrc-yes,
.jrc-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.jrc-yes {
  color: #065f46;
  background: #dcfce7;
}

.jrc-no {
  color: #991b1b;
  background: #fee2e2;
}

.jrc-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e40af;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.jrc-addon-guide {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.jrc-addon-guide h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.jrc-addon-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jrc-addon-guide-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.jrc-addon-guide-card--core {
  border-top: 4px solid #2563eb;
}

.jrc-addon-guide-card--plus {
  border-top: 4px solid #0d9488;
}

.jrc-addon-guide-card--pro {
  border-top: 4px solid #9333ea;
}

.jrc-addon-guide-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.jrc-addon-guide-card p {
  margin: 6px 0 8px;
  color: #64748b;
  font-size: 13px;
}

.jrc-addon-guide-card ul {
  margin: 0;
  padding-left: 18px;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.5;
}

/* Instellingen -> Modules */
.jrc-modules-card {
  display: grid;
  gap: 20px;
}

.jrc-modules-intro-row {
  display: grid;
  gap: 10px;
}

.jrc-modules-intro {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.jrc-modules-upgrade-hint {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.jrc-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  grid-auto-rows: 1fr;
}

.jrc-modules-marketplace-only-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed #93c5fd;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 14px;
  line-height: 1.5;
}

.jrc-modules-marketplace-only-note a {
  color: #0369a1;
  font-weight: 700;
}

.jrc-module-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px;
  border-top: 4px solid var(--accent, #0d9488);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 218px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.jrc-module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.jrc-module-card--active {
  border-color: color-mix(in srgb, var(--accent, #14b8a6) 45%, #d1fae5);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.16);
}

.jrc-module-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #0d9488);
  background: color-mix(in srgb, var(--accent, #0d9488) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, #0d9488) 26%, #e2e8f0);
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jrc-module-card:hover .jrc-module-icon {
  transform: translateY(-1px) rotate(-4deg) scale(1.04);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, #0d9488) 28%, transparent);
}

.jrc-module-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jrc-module-title-wrap {
  flex: 1;
  min-width: 0;
}

.jrc-module-card-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.jrc-module-description {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.jrc-module-price {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jrc-module-price span {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.jrc-module-status {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.jrc-module-status--active {
  color: #065f46;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.jrc-module-status--inactive {
  color: #334155;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

.jrc-module-cta {
  border: 1px solid #0d9488;
  background: #0f766e;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.jrc-module-cta:hover {
  background: #115e59;
  border-color: #115e59;
}

.jrc-module-cta:disabled {
  cursor: not-allowed;
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #475569;
  opacity: 0.9;
}

.jrc-module-card--active .jrc-module-cta {
  background: color-mix(in srgb, var(--accent, #14b8a6) 16%, #ecfdf5);
  color: #0f766e;
  border-color: color-mix(in srgb, var(--accent, #14b8a6) 50%, #6ee7b7);
}

/* Modules -> activatie popup */
.jrc-module-activate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 23, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.jrc-module-activate-overlay.is-open {
  display: flex;
}

.jrc-module-activate-modal {
  width: min(760px, 100%);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  border-top: 5px solid var(--accent, #0d9488);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.18s ease;
  overflow: hidden;
}

.jrc-module-activate-overlay.is-open .jrc-module-activate-modal {
  transform: translateY(0) scale(1);
}

.jrc-module-activate-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.jrc-module-activate-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.jrc-module-activate-modal {
  position: relative;
  padding: 18px 18px 16px;
}

.jrc-module-activate-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-right: 44px;
  margin-bottom: 12px;
}

.jrc-module-activate-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent, #0d9488) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, #0d9488) 25%, #e2e8f0);
  color: var(--accent, #0d9488);
}

.jrc-module-activate-icon-inner {
  color: inherit;
}

.jrc-module-activate-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.jrc-module-activate-sub {
  margin: 4px 0 0;
  font-weight: 700;
  color: #64748b;
}

.jrc-module-activate-body {
  border-top: 1px solid #eef2f7;
  padding-top: 12px;
}

.jrc-module-activate-lead {
  margin: 0 0 10px;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jrc-module-activate-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #0f172a;
  font-size: 14px;
}

.jrc-module-activate-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.jrc-module-activate-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.jrc-module-activate-pay-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #0d9488) 0%, color-mix(in srgb, var(--accent, #0d9488) 60%, #0f766e) 100%);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent, #0d9488) 28%, transparent);
}

.jrc-module-activate-pay-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.jrc-module-activate-secondary-btn {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.jrc-module-activate-secondary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* Lock / restrictions UI */
.jrc-lock-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-radius: 6px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.jrc-locked-link {
  opacity: 0.62;
  filter: grayscale(0.15);
  cursor: not-allowed;
}

.jrc-lock-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(2, 6, 23, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.jrc-lock-page-card {
  width: min(780px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border-top: 6px solid #0d9488;
  position: relative;
}

.jrc-lock-page-card-inner {
  padding: 18px;
}

.jrc-lock-page-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.jrc-lock-page-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.jrc-lock-page-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jrc-lock-page-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.jrc-lock-page-desc {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.jrc-lock-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.jrc-lock-page-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  background: #0f766e;
  color: #fff;
  text-decoration: none;
}

.jrc-lock-page-primary:hover {
  background: #115e59;
}

.jrc-lock-page-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: #334155;
  text-decoration: none;
}

.jrc-lock-page-secondary:hover {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1200px) {
  .jrc-pricing-grid {
    grid-template-columns: 1fr;
  }

  .jrc-pricing-plan--featured {
    transform: none;
  }

  .jrc-pricing-plan--featured:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .jrc-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jrc-pricing-price strong {
    font-size: 30px;
  }

  .jrc-addon-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .jrc-module-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Dashboard cockpit ===== */

.dashboard-greeting {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.quick-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #047857;
  border-radius: 10px;
  text-decoration: none;
  background: #10b981;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.quick-action-btn:hover {
  background: #059669;
  border-color: #065f46;
}

.quick-action-btn:active {
  background: #047857;
}

.quick-action-btn:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 380px;
  gap: 20px;
  align-items: start;
}

.dashboard-widget {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  min-height: 120px;
}

.dashboard-widget--wide {
  grid-column: span 2;
}

.dashboard-widget--alert .dashboard-widget-body {
  border-left: 4px solid #f59e0b;
}

.dashboard-widget--dragging {
  opacity: 0.6;
}

.dashboard-widget--drag-over {
  outline: 2px dashed #3b82f6;
  outline-offset: 2px;
}

.dashboard-widget-header {
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}

.dashboard-widget-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-widget-header--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-widget-header-link {
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-widget-header-link:hover {
  text-decoration: underline;
}

.dash-attention-lead {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.dash-attention-foot {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
}

.dash-attention-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-attention-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: start;
  gap: 8px 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.dash-attention-item:last-child {
  border-bottom: none;
}

.dash-attention-mark {
  font-size: 14px;
  line-height: 1.4;
  color: #94a3b8;
  text-align: center;
}

.dash-attention-item--clear .dash-attention-mark {
  color: #10b981;
}

.dash-attention-body {
  min-width: 0;
}

.dash-attention-link {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
}

.dash-attention-link:hover {
  text-decoration: underline;
}

.dash-attention-item--clear .dash-attention-link {
  color: #64748b;
  font-weight: 500;
}

.dash-attention-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
}

.dash-attention-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.dash-attention-item--clear .dash-attention-num {
  color: #94a3b8;
  font-weight: 600;
}

.dash-attention-item--open .dash-attention-num {
  color: #0369a1;
}

.dash-attention-item--warn .dash-attention-num {
  color: #c2410c;
}

.dash-attention-item--urgent .dash-attention-num {
  color: #b91c1c;
}

.dash-attention-item--urgent .dash-attention-link {
  color: #991b1b;
}

.dash-open-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: -4px 0;
}

.dash-open-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dash-open-table th,
.dash-open-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.dash-open-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
}

.dash-open-table--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.widget-alert-item--live {
  color: #9a3412 !important;
  font-weight: 600;
}

.dash-donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.dash-donut-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.dash-donut-hole {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.dash-donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #475569;
}

.dash-donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dash-donut-legend strong {
  color: #0f172a;
}

.dash-donut-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-donut-dot--open {
  background: #0d9488;
}

.dash-donut-dot--month {
  background: #f59e0b;
}

.dash-finance-list {
  margin-top: 4px;
}

.dash-activity-head {
  margin-bottom: 4px;
}

.dash-activity-head .dash-donut-wrap {
  margin-bottom: 0;
}

.dash-activity-head .dash-donut-ring {
  width: 88px;
  height: 88px;
}

.activity-feed__pending {
  border-left: 3px solid #eab308;
  padding-left: 10px !important;
}

.activity-feed__unpaid {
  border-left: 3px solid #ea580c;
  padding-left: 10px !important;
}

.activity-feed__fine {
  border-left: 3px solid #be185d;
  padding-left: 10px !important;
  background: linear-gradient(90deg, rgba(190, 24, 93, 0.06), transparent);
}

.activity-feed__rejected {
  border-left: 3px solid #b91c1c;
  padding-left: 10px !important;
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.07), transparent);
}

.activity-feed__cancelled {
  border-left: 3px solid #94a3b8;
  padding-left: 10px !important;
}

.dash-activity-fines-hint a {
  color: #1d4ed8;
  text-decoration: none;
}

.dash-activity-fines-hint a:hover {
  text-decoration: underline;
}

.dashboard-widget-body {
  padding: 18px;
}

.widget-loading,
.widget-empty,
.widget-empty-state {
  color: #64748b;
  font-size: 14px;
}

.widget-empty-state {
  margin: 0;
  padding: 8px 0;
}

.widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-value {
  font-weight: 700;
  color: #1d4ed8;
  min-width: 1.5em;
}

.widget-list--alert .widget-alert-item {
  padding: 8px 0;
  color: #92400e;
  font-weight: 500;
}

.widget-list--alert a {
  color: #1d4ed8;
  text-decoration: none;
}

.widget-list--alert a:hover {
  text-decoration: underline;
}

.widget-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-stats--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.widget-stats--grid li {
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 13px;
  color: #64748b;
}

.widget-big {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.widget-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #64748b;
}

.activity-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
}

.activity-feed li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #334155;
}

.activity-time {
  display: inline-block;
  min-width: 44px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.dashboard-side-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  grid-column: 3;
  align-self: start;
}

.dashboard-update-section {
  margin-bottom: 16px;
}

.dashboard-update-section h4 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.dashboard-update-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dashboard-update-list li {
  padding: 6px 0;
  font-size: 13px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-update-list time {
  font-size: 11px;
  color: #94a3b8;
}

.dashboard-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-feedback-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.dashboard-feedback-form .search-button {
  width: fit-content;
  min-width: 150px;
}

.dashboard-feedback-msg {
  margin: 10px 0 0;
  font-size: 13px;
}

.dashboard-feedback-msg--success {
  color: #15803d;
}

.dashboard-feedback-msg--error {
  color: #b91c1c;
}

@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-widget--wide {
    grid-column: span 2;
  }

  .dashboard-side-col {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-widget--wide {
    grid-column: span 1;
  }

  .dashboard-side-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .dashboard-quick-actions {
    flex-direction: column;
  }

  .quick-action-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== Dashboard blocks ===== */

.business-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.business-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.business-summary-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.business-summary-card strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.business-content-stack {
  display: grid;
  gap: 22px;
}

/* ===== Cars business table ===== */

.cars-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.cars-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
}

.cars-table thead th {
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  padding: 0 16px 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.cars-table tbody tr {
  background: #ffffff;
}

.cars-table tbody td {
  padding: 18px 16px;
  border-top: 1px solid #eef2f7;
  vertical-align: middle;
  font-size: 14px;
  color: #0f172a;
}

.cars-table tbody tr:first-child td {
  border-top: 1px solid #e5e7eb;
}

.cars-table-photo {
  width: 88px;
}

.cars-table-photo img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #e2e8f0;
}

.cars-table-title {
  display: grid;
  gap: 4px;
}

.cars-table-title strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.cars-table-title span {
  font-size: 13px;
  color: #64748b;
}

.cars-table-price {
  vertical-align: middle;
}

/* Prijs + duur (tabel & kaarten); duurregel bewust géén hoofdletters. */
.cars-price-stack,
.cars-card-meta-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cars-price-amount {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.cars-price-duration {
  font-weight: 500;
  font-size: 13px;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

.cars-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.14);
  white-space: nowrap;
}

.cars-status-badge--concept {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

.cars-status-badge--inactive {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.cars-toolbar {
  margin-bottom: 16px;
}

.cars-search-wrap {
  max-width: 320px;
}

.cars-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
}

.cars-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.cars-bulk-bar.hidden {
  display: none;
}

.cars-bulk-count {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.cars-bulk-actions {
  display: flex;
  gap: 8px;
}

.cars-bulk-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #dbe3ee;
  background: #fff;
  cursor: pointer;
}

.cars-bulk-btn--danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.cars-bulk-status-wrap {
  position: relative;
}

.cars-bulk-status-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 140px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  z-index: 20;
}

.cars-bulk-status-dropdown.hidden {
  display: none;
}

.cars-bulk-status-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background: none;
  border: none;
  cursor: pointer;
}

.cars-bulk-status-option:hover {
  background: #f1f5f9;
}

.cars-table-th-check,
.cars-table-td-check {
  width: 44px;
  text-align: center;
  vertical-align: middle;
}

.cars-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cars-table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cars-action-btn,
.cars-table-actions a,
.cars-table-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.cars-action-btn:hover,
.cars-table-actions a:hover,
.cars-table-actions button:hover {
  border-color: #bfd0e6;
  background: #f8fafc;
}

.cars-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cars-modal.hidden {
  display: none;
}

.cars-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.cars-modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

.cars-modal-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.cars-modal-text {
  margin: 0 0 24px;
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}

.cars-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cars-modal-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.cars-modal-btn--secondary {
  color: #475569;
}

.cars-modal-btn--primary {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.cars-modal-btn--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.cars-modal-btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.cars-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  z-index: 3000;
}

.cars-toast.hidden {
  display: none;
}

.cars-toast--success {
  background: #15803d;
  color: #fff;
}

.cars-toast--error {
  background: #b91c1c;
  color: #fff;
}

.cars-toast--info {
  background: #0f172a;
  color: #fff;
}

.cars-table-loading {
  text-align: center;
  color: #64748b;
  padding: 26px 16px;
}

.cars-card-list {
  display: none;
}

.cars-card-list-message {
  text-align: center;
  padding: 28px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
}

.cars-card-list-message--muted {
  color: #94a3b8;
  border-style: solid;
  border-color: #e2e8f0;
  background: #fff;
}

/* Mijn auto's: mobiel = compacte kaarten i.p.v. brede tabel */
@media (max-width: 960px) {
  .cars-table-wrap {
    display: none !important;
  }

  .cars-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cars-card {
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }

  .cars-card-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
  }

  .cars-card-check {
    flex: 0 0 auto;
    padding-top: 4px;
  }

  .cars-card-photo {
    flex: 0 0 auto;
  }

  .cars-card-photo img {
    width: 80px;
    height: 60px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: #e2e8f0;
  }

  .cars-card-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cars-card-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
  }

  .cars-card-id {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
  }

  .cars-card-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
    max-width: 100%;
  }

  .cars-card-meta-city {
    font-weight: 600;
    color: #475569;
  }

  .cars-card-meta-dot {
    color: #cbd5e1;
    user-select: none;
  }

  .cars-card-meta-line .cars-card-meta-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
  }

  .cars-card-meta-line .cars-price-amount {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
  }

  .cars-card-meta-line .cars-price-duration {
    font-size: 11px;
  }

  .cars-card .cars-status-badge {
    margin-top: 2px;
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }

  .cars-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
  }

  .cars-card-actions .cars-action-btn {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    border-radius: 10px;
  }

  body[data-business-page="cars"] .cars-search-wrap {
    max-width: none;
  }

  body[data-business-page="cars"] .cars-search-input {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  body[data-business-page="cars"] .cars-toolbar {
    margin-bottom: 12px;
  }

  body[data-business-page="cars"] .business-workspace-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body[data-business-page="cars"] .business-workspace-actions {
    width: 100%;
  }

  body[data-business-page="cars"] .business-workspace-actions .header-link-button {
    display: flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
    align-items: center;
    box-sizing: border-box;
  }

  .cars-bulk-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .cars-bulk-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .cars-bulk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(50% - 4px);
    min-height: 42px;
  }

  .cars-bulk-status-wrap {
    flex: 1 1 100%;
  }

  .cars-bulk-status-dropdown {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  .cars-modal {
    align-items: flex-end;
    padding: 0;
  }

  .cars-modal-box {
    max-width: none;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 22px 18px 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
  }

  .cars-modal-title {
    font-size: 18px;
  }

  .cars-modal-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .cars-modal-actions .cars-modal-btn {
    width: 100%;
    min-height: 46px;
  }

  .cars-toast {
    left: 12px;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0));
    transform: none;
    max-width: none;
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .cars-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cars-card-actions .cars-action-btn:last-child {
    grid-column: 1 / -1;
  }
}

.cars-table-empty td {
  text-align: center;
  color: #64748b;
  padding: 26px 16px;
}

/* ===== Responsive business shell ===== */

@media (max-width: 1100px) {
  .business-shell {
    grid-template-columns: 1fr;
  }

  .business-sidebar {
    position: static;
  }

  .business-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .business-topnav-inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 12px;
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  /* Mobiel verhuurdermenu (≤960): geen horizontale scroll op lege balk */
  body[data-business-page] .business-topnav-inner {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: visible;
  }

  .business-topnav-brand {
    order: 1;
    margin-right: auto;
  }

  /* Logo links, hamburger rechts (knop had order:0 en kwam vóór logo) */
  .business-topnav-menu-btn {
    order: 4;
    margin-left: auto;
  }

  .business-topnav-main {
    order: 2;
    width: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
  }

  .business-topnav-utility {
    order: 3;
    margin-left: auto;
    padding-left: 8px;
    gap: 8px;
  }

  .business-topnav-link {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
    border-bottom-width: 2px;
    border-radius: 9px;
    scroll-snap-align: start;
  }

  .business-topnav-item .business-topnav-link {
    padding-right: 14px;
  }

  .business-topnav-item .business-topnav-link::after {
    display: none;
  }

  .business-topnav-dropdown {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-widget--wide {
    grid-column: span 1;
  }

  .dashboard-side-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .quick-action-btn {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
    padding: 10px 14px;
    text-align: center;
  }

  .dashboard-widget {
    border-radius: 16px;
  }

  .dashboard-widget-header {
    padding: 12px 14px;
  }

  .dashboard-widget-body {
    padding: 14px;
  }

  .dashboard-widget-header-link {
    white-space: normal;
  }

  .dash-open-table {
    min-width: 620px;
    font-size: 12px;
  }

  .dash-open-table th,
  .dash-open-table td {
    padding: 7px 8px;
  }

  .dashboard-feedback-form .search-button {
    width: 100%;
    min-width: 0;
  }

  .activity-feed {
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .business-workspace-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 10px;
  }

  .business-workspace-title p {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .business-workspace-title h1 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.1;
  }

  .business-sidebar,
  .business-workspace-card {
    border-radius: 22px;
  }

  .dashboard-quick-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-widget-header--row {
    align-items: flex-start;
    gap: 6px;
  }

  .dashboard-widget-header h3 {
    font-size: 14px;
  }

  .dashboard-widget-header-link {
    font-size: 12px;
  }

  .dashboard-widget-body {
    padding: 12px;
  }

  .widget-stats--grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dash-donut-wrap {
    gap: 12px;
  }

  .dash-donut-ring {
    width: 94px;
    height: 94px;
  }

  .dash-donut-hole {
    inset: 25%;
  }

  .activity-feed li {
    font-size: 13px;
  }
}

/* ===== Crop modal ===== */

.crop-modal.hidden {
  display: none;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.crop-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.crop-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  margin: 6vh auto 0;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.crop-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #eef2f7;
}

.crop-modal-header h3 {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.crop-modal-header p {
  color: var(--muted);
  font-size: 14px;
}

.crop-close-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.crop-modal-body {
  padding: 24px;
}

.crop-frame-wrap {
  display: flex;
  justify-content: center;
}

.crop-frame {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 3 / 2;
  background: #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.crop-frame:active {
  cursor: grabbing;
}

.crop-frame img {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.crop-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid #eef2f7;
}

.crop-secondary-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.crop-controls {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.crop-controls label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.crop-controls input[type="range"] {
  width: 100%;
  accent-color: #2563eb;
  cursor: pointer;
}

.photo-slot-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.photo-slot.filled .photo-slot-tools {
  display: flex;
}

.photo-crop-button,
.photo-remove-button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.photo-crop-button:hover,
.photo-remove-button:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
}

.photo-crop-button:active,
.photo-remove-button:active {
  transform: translateY(0);
}

.photo-crop-button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.photo-remove-button {
  font-size: 18px;
  line-height: 1;
}

.photo-crop-button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.photo-uploader-note {
  margin: -6px 0 14px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

/* ===== Auto toevoegen extra UX ===== */

.conditional-field.hidden {
  display: none;
}

.toggle-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.toggle-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
  flex: 0 0 auto;
}

.toggle-check span {
  line-height: 1.4;
}

.photo-uploader-note {
  margin: -6px 0 14px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

/* ===== Listing builder cleanup ===== */

.listing-info-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
  align-items: start;
}

.listing-info-grid-clean .form-group {
  margin: 0;
}

.form-group-toggle {
  display: flex;
  align-items: end;
}

.listing-info-grid--pricing .form-group-toggle--pricing {
  grid-column: 2;
}

.toggle-check-box {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.toggle-check-box:hover {
  border-color: #cbd5e1;
}

.toggle-check-box:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.toggle-check-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  flex: 0 0 auto;
  cursor: pointer;
}

.toggle-check-box span {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.toggle-check-box--switch {
  min-height: 56px;
  justify-content: flex-start;
  gap: 10px;
}

.toggle-check-box--switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-check-switch-ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.toggle-check-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.toggle-check-box--switch input[type="checkbox"]:checked + .toggle-check-switch-ui {
  background: linear-gradient(135deg, #2563eb, #22c55e);
}

.toggle-check-box--switch input[type="checkbox"]:checked + .toggle-check-switch-ui::after {
  transform: translateX(20px);
}

.toggle-check-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.toggle-check-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.toggle-check-text small {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.input-with-prefix {
  position: relative;
}

.input-with-prefix .input-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  pointer-events: none;
}

.input-with-prefix input {
  padding-left: 38px !important;
}

.conditional-field.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .listing-info-grid-clean {
    grid-template-columns: 1fr;
  }

  .form-group-toggle {
    align-items: stretch;
  }

  .listing-info-grid--pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-info-grid--pricing .form-group-toggle--pricing {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .listing-info-grid--pricing {
    grid-template-columns: 1fr;
  }

  .listing-info-grid--pricing .form-group-toggle--pricing {
    grid-column: 1;
  }
}

/* ===== Car options section ===== */

.listing-section-options {
  margin-top: 8px;
}

.listing-section-options .listing-section-head {
  margin-bottom: 20px;
}

/* In de wizard: middenkolom breder — opties als 2–3 duidelijke kaarten i.p.v. 4 smalle kolommen */
.listing-wizard-content .car-options-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

@media (min-width: 1260px) {
  .listing-wizard-content .car-options-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .listing-wizard-content .car-options-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkbox-regels per categorie in een rustig raster (niet één lange stapel) */
.listing-wizard-content .car-options-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px 12px;
  align-items: start;
}

.listing-wizard-content .car-option-item {
  padding: 9px 10px;
}

.listing-wizard-content .car-options-category {
  padding: 22px 22px 20px;
}

.listing-wizard-content .car-options-category-title {
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.listing-wizard-content .car-options-select-all-wrap {
  margin-top: 12px;
  padding-top: 12px;
}

.car-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.car-options-category {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  min-height: 100%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.car-options-category:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.car-options-category-title {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  color: #0f172a;
  border-bottom: 2px solid #f1f5f9;
}

.car-options-list {
  display: grid;
  gap: 2px;
}

.car-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.car-option-item:hover {
  background: #f8fafc;
}

.car-option-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
  flex: 0 0 auto;
}

.car-option-item span {
  font-size: 14px;
  line-height: 1.4;
  color: #334155;
  font-weight: 500;
}

.car-options-select-all-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.car-options-select-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0;
  cursor: pointer;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.car-options-select-all:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.car-options-select-all-input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
  flex: 0 0 auto;
}

.car-options-select-all-text {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.car-options-loading {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 24px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.car-options-error {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.car-options-error code {
  font-size: 13px;
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 1200px) {
  .car-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .car-options-grid {
    grid-template-columns: 1fr;
  }

  .car-options-category {
    padding: 16px;
    border-radius: 18px;
  }
}

/* ===== Landlord onboarding ===== */

.landlord-onboarding-page .container {
  max-width: 1240px;
}

.landlord-onboarding-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.landlord-onboarding-copy {
  padding-top: 8px;
}

.landlord-onboarding-copy h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.landlord-benefits {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.landlord-benefit {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.landlord-benefit strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 6px;
}

.landlord-benefit span {
  display: block;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.landlord-onboarding-card {
  max-width: 100%;
  padding: 28px;
}

.landlord-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.landlord-auth-tabs.hidden {
  display: none;
}

.landlord-auth-tab {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.landlord-auth-tab:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.landlord-auth-tab.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.landlord-auth-panel.hidden,
.landlord-company-section.hidden {
  display: none;
}

.landlord-company-section {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.landlord-company-head {
  margin-bottom: 18px;
}

.landlord-company-head h2 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.landlord-company-head p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.landlord-primary-action {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .landlord-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .landlord-onboarding-copy {
    padding-top: 0;
  }
}

/* ===== Quick fix landlord onboarding separation ===== */

.hidden {
  display: none !important;
}

/* Sumsub Web SDK overlay (account.html) */
.jrc-sumsub-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.jrc-sumsub-modal.hidden {
  display: none !important;
}
.jrc-sumsub-modal-inner {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  padding: 12px 12px 16px;
}
.jrc-sumsub-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
.jrc-sumsub-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
#sumsub-websdk-container {
  min-height: 420px;
}

/* Popup na geslaagde KYC (zelfde overlay-stijl als Sumsub-modal) */
.jrc-kyc-success-inner {
  width: min(100%, 440px);
  max-height: min(88vh, 720px);
  padding-top: 44px;
}
.jrc-kyc-success-body {
  padding: 4px 8px 8px;
}
.jrc-kyc-success-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.jrc-kyc-success-names {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #0f172a;
}
.jrc-kyc-name-old {
  color: #64748b;
  text-decoration: line-through;
  text-decoration-color: #94a3b8;
}
.jrc-kyc-name-arrow {
  color: #94a3b8;
  margin: 0 4px;
}
.jrc-kyc-name-new {
  font-weight: 700;
  color: #15803d;
}
.jrc-kyc-success-hint {
  margin: 0 0 18px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.jrc-kyc-success-meta {
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.jrc-kyc-success-meta li {
  margin: 0 0 10px;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.4;
}
.jrc-kyc-success-meta li:last-child {
  margin-bottom: 0;
}
.jrc-kyc-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}

.landlord-onboarding-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.landlord-auth-panel,
.landlord-company-section {
  width: 100%;
}

.landlord-auth-panel {
  margin-top: 0;
}

.landlord-company-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.landlord-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.landlord-auth-tab {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.landlord-auth-tab.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.landlord-company-head {
  margin-bottom: 18px;
}

.landlord-company-head h2 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.landlord-company-head p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.toggle-check-inline {
  margin-top: 10px;
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.toggle-check-inline:hover {
  border: none;
  background: transparent;
  box-shadow: none;
}

.toggle-check-inline span {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.auth-switch-card {
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.auth-switch-card p {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

.auth-switch-card p + p {
  margin-top: 4px;
}

.auth-switch-card a {
  color: #2563eb;
  font-weight: 700;
}

/* ===== Verhuurder aanmelden: gecentreerd + compact ===== */
.verhuurder-aanmelden .account-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.verhuurder-aanmelden .verhuurder-aanmelden-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.verhuurder-aanmelden .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.verhuurder-aanmelden .section-heading .section-kicker {
  margin-bottom: 8px;
}

.verhuurder-aanmelden .section-heading-title {
  margin: 0 0 12px;
  white-space: nowrap;
  font-size: clamp(26px, 4vw, 42px);
}

.verhuurder-aanmelden .section-text {
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 560px) {
  .verhuurder-aanmelden .section-heading-title {
    white-space: normal;
  }
}

.verhuurder-aanmelden .auth-switch-card {
  margin-bottom: 16px;
  padding: 14px 18px;
}

.verhuurder-aanmelden .auth-card {
  padding: 28px 30px 26px;
  max-width: 100%;
}

.verhuurder-aanmelden .auth-form--compact {
  gap: 14px;
}

.phone-input-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.phone-input-wrap .phone-country-select {
  width: auto;
  min-width: 110px;
  flex-shrink: 0;
}
.phone-input-wrap input {
  flex: 1;
  min-width: 0;
}
.form-hint {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.verhuurder-aanmelden .auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.verhuurder-aanmelden .auth-form-row .form-group {
  min-width: 0;
}
.verhuurder-aanmelden .auth-form-row .form-group input,
.verhuurder-aanmelden .auth-form-row .form-group .phone-input-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.verhuurder-aanmelden .auth-form--compact .form-group--full {
  grid-column: 1 / -1;
}

.verhuurder-aanmelden .auth-form--compact .auth-submit {
  margin-top: 4px;
}

@media (max-width: 600px) {
  .verhuurder-aanmelden .auth-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Huurder aanmelden / inloggen:zelfde layout als verhuurder ===== */
.account-auth-layout .account-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.account-auth-layout .account-auth-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}
.account-auth-layout .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}
.account-auth-layout .section-heading .section-kicker {
  margin-bottom: 8px;
}
.account-auth-layout .section-heading-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  white-space: nowrap;
}
.account-auth-layout .section-text {
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #64748b);
}
.account-auth-layout .auth-switch-card {
  margin-bottom: 16px;
  padding: 14px 18px;
}
.account-auth-layout .auth-card {
  padding: 28px 30px 26px;
  max-width: 100%;
}
.account-auth-layout .auth-form--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.account-auth-layout .auth-form--compact .form-group--full {
  grid-column: 1 / -1;
}
.account-auth-layout .auth-form--compact .form-group--half {
  grid-column: span 1;
}
.account-auth-layout .auth-form--compact .auth-submit {
  margin-top: 4px;
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .account-auth-layout .section-heading-title {
    white-space: normal;
  }
  .account-auth-layout .auth-form--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Fleet: Onderhoud, Inspectie, Schade ===== */
.fleet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 20px;
}
.fleet-filter-wrap { display: flex; flex-direction: column; gap: 4px; }
.fleet-filter-label { font-size: 12px; font-weight: 600; color: #64748b; }
.fleet-select, .fleet-input {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  min-width: 180px;
}
.fleet-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.fleet-card-title { font-size: 18px; font-weight: 800; margin: 0 0 16px; color: #0f172a; }
.fleet-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fleet-card-head .fleet-card-title { margin: 0; }
.fleet-vehicle-grid, .fleet-km-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.fleet-vehicle-item, .fleet-km-item { display: flex; flex-direction: column; gap: 4px; }
.fleet-vehicle-label, .fleet-km-label { font-size: 12px; color: #64748b; font-weight: 600; }
.fleet-vehicle-value, .fleet-km-value { font-size: 15px; font-weight: 700; color: #0f172a; }
.fleet-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.fleet-status-badge--active { background: #dcfce7; color: #166534; }
.fleet-status-badge--inactive { background: #fef3c7; color: #b45309; }
.fleet-status-badge--concept { background: #f1f5f9; color: #64748b; }
.fleet-apk-status {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.fleet-apk--green { background: #dcfce7; color: #166534; }
.fleet-apk--orange { background: #ffedd5; color: #c2410c; }
.fleet-apk--red { background: #fee2e2; color: #b91c1c; }
.fleet-apk--unknown { background: #f1f5f9; color: #64748b; }
.fleet-apk-label { font-weight: 800; font-size: 16px; display: block; }
.fleet-apk-days { font-size: 14px; opacity: 0.9; }
.fleet-apk-expiry, .fleet-apk-cta { margin: 8px 0 0; font-size: 14px; }

/* Onderhoud & APK — vlootkaarten */
.jrc-maint-lead {
  margin: 0 0 20px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.jrc-maint-toolbar__grow { flex: 1; min-width: 200px; }
.jrc-maint-toolbar .fleet-input { width: 100%; max-width: 420px; }
.jrc-maint-detail-intro { margin: 28px 0 8px; }
.jrc-maint-detail-panel { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.jrc-maint-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.jrc-maint-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  text-align: left;
}
.jrc-maint-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.jrc-maint-card:focus {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}
.jrc-maint-card--selected {
  border-color: #0d9488;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25), 0 8px 28px rgba(15, 23, 42, 0.1);
}
.jrc-maint-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}
.jrc-maint-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jrc-maint-card__media--empty {
  min-height: 120px;
  background: repeating-linear-gradient(
    -12deg,
    #f1f5f9,
    #f1f5f9 8px,
    #e8eef5 8px,
    #e8eef5 16px
  );
}
.jrc-maint-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.jrc-maint-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.jrc-maint-card__plate { margin: 0; font-size: 13px; font-weight: 700; color: #64748b; letter-spacing: 0.04em; }
.jrc-maint-card__apk {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}
.jrc-maint-card.fleet-apk--green .jrc-maint-card__apk { background: #ecfdf5; color: #065f46; }
.jrc-maint-card.fleet-apk--orange .jrc-maint-card__apk { background: #fff7ed; color: #c2410c; }
.jrc-maint-card.fleet-apk--red .jrc-maint-card__apk { background: #fef2f2; color: #b91c1c; }
.jrc-maint-card.fleet-apk--unknown .jrc-maint-card__apk { background: #f8fafc; color: #64748b; }
.jrc-maint-card__apk-label { font-weight: 800; }
.jrc-maint-card__apk-days { font-weight: 600; opacity: 0.9; }
.jrc-maint-card__meta {
  margin: 0;
  display: grid;
  gap: 6px 12px;
  font-size: 12px;
}
.jrc-maint-card__meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: baseline; }
.jrc-maint-card__meta dt { margin: 0; color: #94a3b8; font-weight: 600; }
.jrc-maint-card__meta dd { margin: 0; color: #334155; font-weight: 600; }
.jrc-maint-card__badges-row { min-height: 22px; }
.jrc-maint-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
}
.jrc-maint-card__badge--planned { background: #dbeafe; color: #1d4ed8; }
.jrc-maint-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.jrc-maint-card__actions .fleet-btn { flex: 1; min-width: 0; justify-content: center; }

/* Onderhoud & APK — mobiel (zelfde shell als dashboard: geen horizontale push, toolbar stapel) */
@media (max-width: 960px) {
  body[data-business-page="onderhoud"] .jrc-maint-toolbar.fleet-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body[data-business-page="onderhoud"] .jrc-maint-toolbar__grow {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  body[data-business-page="onderhoud"] .jrc-maint-toolbar .fleet-input {
    max-width: none;
  }

  body[data-business-page="onderhoud"] .business-workspace-actions {
    width: 100%;
  }

  body[data-business-page="onderhoud"] .business-workspace-actions .fleet-btn {
    width: 100%;
    justify-content: center;
  }

  body[data-business-page="onderhoud"] .jrc-maint-fleet-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  body[data-business-page="onderhoud"] .jrc-maint-card__meta > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 10px;
  }

  body[data-business-page="onderhoud"] .jrc-maint-card__meta dt {
    font-size: 11px;
  }
}

.fleet-btn {
  padding: 9px 16px;
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.fleet-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.fleet-btn--primary {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.fleet-btn--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}
.fleet-btn--secondary {
  color: #0f172a;
  border-color: #94a3b8;
  font-weight: 800;
  background: #ffffff;
}
.fleet-btn--ghost {
  border-color: #cbd5e1;
  background: #fff;
}
.fleet-btn:focus-visible {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.fleet-btn--sm { padding: 4px 10px; font-size: 12px; }
.fleet-empty { color: #64748b; font-size: 14px; margin: 0; }
.fleet-list, .fleet-timeline { list-style: none; padding: 0; margin: 0; }
.fleet-list-item, .fleet-timeline-item {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  display: grid;
  gap: 8px;
}
.fleet-timeline-item { grid-template-columns: 1fr auto; }
.fleet-timeline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fleet-timeline-type { font-weight: 700; color: #0f172a; }
.fleet-timeline-date { font-size: 13px; color: #64748b; }
.fleet-timeline-detail { font-size: 13px; color: #475569; display: flex; flex-wrap: wrap; gap: 12px; }
.fleet-timeline-actions { display: flex; gap: 8px; align-items: center; }
.fleet-badge { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.fleet-badge--completed { background: #f1f5f9; color: #475569; }
.fleet-badge--planned { background: #dbeafe; color: #1d4ed8; }
.fleet-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fleet-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.4); }
.fleet-modal-box {
  position: relative; background: #fff; border-radius: 16px; padding: 24px; max-width: 420px; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.fleet-modal-box--wide { max-width: 560px; }
.fleet-modal-title { margin: 0 0 20px; font-size: 18px; font-weight: 800; }
.fleet-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.fleet-form .form-group { margin-bottom: 14px; }
.fleet-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fleet-inspectie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.fleet-inspectie-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fleet-inspectie-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.fleet-inspectie-type { font-weight: 700; color: #0f172a; }
.fleet-inspectie-card-body p { margin: 4px 0; font-size: 13px; color: #475569; }
.fleet-inspectie-date { font-weight: 600; color: #0f172a !important; }
.fleet-badge--ok { background: #dcfce7; color: #166534; }
.fleet-badge--damage { background: #fee2e2; color: #b91c1c; }
.fleet-badge--status-new { background: #dbeafe; color: #1d4ed8; }
.fleet-badge--status-in-beoordeling { background: #fef3c7; color: #b45309; }
.fleet-badge--status-bevestigd { background: #e0e7ff; color: #3730a3; }
.fleet-badge--status-hersteld { background: #dcfce7; color: #166534; }
.fleet-badge--status-afgehandeld { background: #f1f5f9; color: #475569; }
.fleet-detail-grid { display: grid; gap: 12px; }
.fleet-detail-grid p { margin: 0; font-size: 14px; }

.fleet-damage-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.fleet-damage-stat { background: #f8fafc; border-radius: 12px; padding: 16px; min-width: 140px; }
.fleet-damage-stat-value { font-size: 24px; font-weight: 800; color: #0f172a; }
.fleet-damage-stat-label { font-size: 12px; color: #64748b; font-weight: 600; }

@media (max-width: 600px) {
  .fleet-form-grid { grid-template-columns: 1fr; }
  .fleet-toolbar { flex-direction: column; align-items: stretch; }
}

/* ===== Boekingen overzicht ===== */
.booking-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.booking-stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.booking-stat-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.booking-stat-card[aria-pressed="true"] {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}
.booking-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.booking-stat-card[aria-pressed="true"] .booking-stat-value { color: #1d4ed8; }
.booking-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}
.booking-stat-card[aria-pressed="true"] .booking-stat-label { color: #3b82f6; }
.booking-table-wrap { overflow: hidden; margin: 0 -4px; }
.booking-table-scroll { overflow-x: auto; }
.booking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.booking-table th,
.booking-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}
.booking-table th {
  font-weight: 700;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.booking-table td { color: #0f172a; }
.booking-ref { font-weight: 700; color: #475569; }
.booking-num-cell {
  vertical-align: top;
  white-space: nowrap;
}
.booking-num-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  line-height: 1.2;
}
.booking-num-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  margin-top: 2px;
}
.booking-verify-cell {
  vertical-align: top;
  min-width: 132px;
}
.booking-verify {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.booking-verify-row {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.booking-verify-row--ok {
  color: #166534;
}
.booking-verify-row--no {
  color: #b45309;
}
.booking-verify-k {
  display: inline-block;
  min-width: 28px;
  color: #64748b;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.booking-pay-cell,
.booking-total-cell {
  vertical-align: top;
  min-width: 140px;
}
.booking-pay-stack,
.booking-total-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.booking-pay-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.booking-pay-key {
  font-weight: 700;
  color: #64748b;
  min-width: 38px;
}
.booking-pay-borg {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: #fef3c7;
  color: #b45309;
}
.booking-total-rent {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  max-width: 220px;
}
.booking-total-borg {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.booking-placeholder { color: #94a3b8; font-size: 13px; }
.booking-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.booking-status--pending { background: #fef3c7; color: #b45309; }
.booking-status--confirmed { background: #dbeafe; color: #1d4ed8; }
.booking-status--completed { background: #dcfce7; color: #166534; }
.booking-status--cancelled { background: #f1f5f9; color: #64748b; }
.booking-status--rejected { background: #fee2e2; color: #991b1b; font-weight: 700; }
.booking-payment-status { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.booking-payment-status--none { color: #94a3b8; }
.booking-payment-status--pending { background: #fef3c7; color: #b45309; }
.booking-payment-status--paid { background: #dcfce7; color: #166534; }
.booking-payment-status--failed { background: #fee2e2; color: #b91c1c; }
.booking-payment-status--cancelled { background: #f1f5f9; color: #64748b; }
.booking-payment-status--expired { background: #f1f5f9; color: #64748b; }
.booking-table .fleet-btn,
.booking-table a.fleet-btn {
  margin-right: 6px;
  margin-bottom: 4px;
}
.booking-table .fleet-btn:last-child,
.booking-table a.fleet-btn:last-child {
  margin-right: 0;
}

a.fleet-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.25;
}

.booking-actions-cell {
  white-space: normal;
  max-width: 240px;
  vertical-align: top;
}

.booking-user-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 13px;
}

.booking-user-email {
  font-size: 12px;
  color: #64748b;
}

/* ===== Admin backoffice ===== */
.admin-page .container { max-width: 1240px; }
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
}
.admin-sidebar {
  align-self: flex-start;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.5);
}
.admin-sidebar-title {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
}
.admin-nav-link:hover {
  background: rgba(148,163,184,0.2);
}
.admin-nav-link.active {
  background: #e5e7eb;
  color: #0f172a;
}
.admin-nav-group {
  position: relative;
}
.admin-nav-link--group {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  width: auto;
  text-align: left;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.admin-nav-link--group::after {
  content: "▾";
  margin-left: 8px;
  font-size: 11px;
  opacity: 0.8;
}
.admin-nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 170px;
  background: #0b1324;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.45);
  z-index: 50;
}
/* Brug tussen groepsknop en menu: zonder dit verliest de muis :hover in de ruimte ertussen (admin topbar). */
.admin-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
  background: transparent;
}
.admin-nav-dropdown .admin-nav-link {
  display: block;
  min-height: auto;
  padding: 8px 10px;
  font-size: 13px;
}
.admin-nav-group .admin-nav-dropdown {
  display: none;
}
.admin-nav-group:hover .admin-nav-dropdown,
.admin-nav-group:focus-within .admin-nav-dropdown {
  display: block;
}

body[data-admin-page] {
  overflow-x: hidden;
}

body[data-admin-page] .account-page {
  padding-top: 0;
}

body[data-admin-page] .admin-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

body[data-admin-page] .admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 120;
  border-radius: 0;
  padding: 10px 18px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  background: #0f172a;
  box-shadow: 0 6px 24px rgba(15,23,42,0.35);
}

body[data-admin-page] .admin-sidebar-title {
  display: block;
  margin: 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: #e5e7eb;
  font-weight: 800;
}

body[data-admin-page] .admin-sidebar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

body[data-admin-page] .admin-nav {
  flex: 1;
}

body[data-admin-page] .admin-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

body[data-admin-page] .admin-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 13px;
  white-space: nowrap;
}

/* Admin mobiel: topbalk + hamburger (JS: initAdminMobileNav in layout.js) */
body[data-admin-page] .admin-sidebar-sticky-bar {
  display: contents;
}

body[data-admin-page] .admin-sidebar-mobile-row {
  display: contents;
}

body[data-admin-page] .admin-sidebar-menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-sizing: border-box;
}

body[data-admin-page] .admin-sidebar-menu-btn-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  margin-top: -1px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}

body[data-admin-page] .admin-sidebar-menu-btn-bar:nth-child(1) {
  transform: translateY(-7px);
}

body[data-admin-page] .admin-sidebar-menu-btn-bar:nth-child(2) {
  transform: translateY(0);
}

body[data-admin-page] .admin-sidebar-menu-btn-bar:nth-child(3) {
  transform: translateY(7px);
}

body[data-admin-page].admin-mobile-nav-open .admin-sidebar-menu-btn-bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

body[data-admin-page].admin-mobile-nav-open .admin-sidebar-menu-btn-bar:nth-child(2) {
  opacity: 0;
}

body[data-admin-page].admin-mobile-nav-open .admin-sidebar-menu-btn-bar:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.admin-mobile-nav-backdrop {
  display: none;
}

@media (max-width: 960px) {
  body[data-admin-page] .admin-page > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body[data-admin-page] .admin-sidebar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px 12px;
  }

  body[data-admin-page] .admin-sidebar-sticky-bar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 230;
    margin: -10px -14px 0;
    padding: 10px 14px 10px;
    background: #0f172a;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
  }

  body[data-admin-page] .admin-sidebar-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  body[data-admin-page] .admin-sidebar-title {
    min-width: 0;
    flex: 1;
  }

  body[data-admin-page] .admin-sidebar-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body[data-admin-page] .admin-sidebar .admin-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--admin-mobile-nav-top, 56px);
    z-index: 220;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0));
    margin: 0;
    background: #0b1324;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 -12px 40px rgba(2, 6, 23, 0.45);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(calc(-100% - 20px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  body[data-admin-page].admin-mobile-nav-open .admin-sidebar .admin-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body[data-admin-page] .admin-nav-link {
    white-space: normal;
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
  }

  body[data-admin-page] .admin-nav-group {
    width: 100%;
  }

  body[data-admin-page] .admin-nav-link--group {
    width: 100%;
    box-sizing: border-box;
  }

  body[data-admin-page] .admin-nav-group .admin-nav-dropdown {
    display: block !important;
    position: static;
    margin: 4px 0 10px;
    padding: 4px 0 4px 10px;
    border-left: 2px solid rgba(148, 163, 184, 0.35);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-admin-page] .admin-nav-dropdown::before {
    display: none;
  }

  body[data-admin-page] .admin-workspace {
    padding: 16px 14px 18px;
    border-radius: 16px;
  }

  body[data-admin-page] .admin-workspace-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  body[data-admin-page] .admin-workspace-top h1 {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  }

  body[data-admin-page] .admin-top-meta {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body[data-admin-page] .admin-dashboard-widgets {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-admin-page] .fleet-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body[data-admin-page] .fleet-toolbar .fleet-btn {
    width: 100%;
    justify-content: center;
  }

  body[data-admin-page] .booking-table-scroll {
    -webkit-overflow-scrolling: touch;
  }

  .admin-mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body[data-admin-page].admin-mobile-nav-open .admin-mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (min-width: 961px) {
  body[data-admin-page] .admin-mobile-nav-backdrop {
    display: none !important;
  }
}

.admin-workspace {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.admin-workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.admin-workspace-top h1 {
  margin: 0;
  font-size: 22px;
}
.admin-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-user-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
  color: #0f172a;
}
.admin-dashboard-stats {
  margin-bottom: 24px;
}
.admin-dashboard-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.admin-widget {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 16px 16px 14px;
  background: #f8fafc;
}
.admin-widget h2 {
  margin: 0 0 8px;
  font-size: 15px;
}
.admin-widget-body {
  font-size: 13px;
  color: #475569;
}

.fleet-btn--danger {
  border-color: #fecaca;
  background: #fee2e2;
  color: #b91c1c;
}

.fleet-btn--danger:hover {
  background: #fecaca;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.admin-modal.hidden {
  display: none;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.admin-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(900px, 94vw);
  max-height: 88vh;
  overflow: auto;
  margin: 4vh auto 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.admin-modal-dialog--wide {
  width: min(1120px, 96vw);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-user-desk-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-user-desk-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #f8fafc;
  display: grid;
  gap: 10px;
}

.admin-user-desk-card h3 {
  margin: 0;
  font-size: 15px;
}

.admin-user-desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-user-desk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Boekingen kalender ===== */
.booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  font-size: 12px;
  color: #475569;
}
.booking-calendar-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.booking-calendar-legend__sw {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}
.booking-calendar-legend__sw--free {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.booking-calendar-legend__sw--closed {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.booking-calendar-stats {
  margin: -8px 0 16px;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}
.booking-calendar-range-wrap {
  flex: 1 1 100%;
  min-width: min(100%, 420px);
}
.booking-calendar-range-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}
.booking-calendar-range-fields > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.booking-calendar-range-apply {
  margin-top: 1.35rem;
  white-space: nowrap;
}
.booking-calendar-range-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  max-width: 520px;
}
.booking-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.booking-calendar-nav { display: flex; align-items: center; gap: 4px; }
.booking-calendar-period-label {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
  margin: 0 0 0 auto;
  align-self: center;
}
.booking-calendar-grid-wrap {
  overflow-x: auto;
  min-height: 200px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}
.booking-calendar-grid {
  min-width: min(100%, 1100px);
}
.booking-calendar-head,
.booking-calendar-row {
  display: grid;
  gap: 0;
  align-items: stretch;
}
.booking-calendar--day .booking-calendar-head,
.booking-calendar--day .booking-calendar-row {
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
}
.booking-calendar-grid:not(.booking-calendar--day) .booking-calendar-head {
  grid-template-columns: minmax(160px, 200px) repeat(var(--cal-cols, 7), minmax(72px, 1fr));
}
.booking-calendar-grid:not(.booking-calendar--day) .booking-calendar-row {
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
}
.booking-calendar-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.booking-calendar-row-label {
  padding: 10px 12px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.booking-calendar-row-label--car {
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.booking-calendar-row-sublabel {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}
.booking-calendar-car-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.booking-calendar-car-badge--ok {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}
.booking-calendar-car-badge--off {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.booking-calendar-car-badge--draft {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.booking-calendar-head .booking-calendar-row-label { background: #f8fafc; }
.booking-calendar-day-head-hours {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  border-bottom: 1px solid #e2e8f0;
}
.booking-calendar-day-head-hours .booking-calendar-slot-header {
  padding: 8px 0;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  border-right: 1px solid #f1f5f9;
}
.booking-calendar-day-head-hours .booking-calendar-slot-header:last-child {
  border-right: 0;
}
.booking-calendar-day-track-wrap {
  padding: 8px 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.booking-calendar-day-track {
  position: relative;
  min-height: 64px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}
.booking-calendar-day-track--closed {
  background: #f1f5f9;
  opacity: 0.85;
}
.booking-calendar-day-hours {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  height: 10px;
  border-bottom: 1px solid #e2e8f0;
  pointer-events: none;
}
.booking-calendar-hour-tick {
  border-right: 1px solid #e2e8f0;
}
.booking-calendar-hour-tick:last-child {
  border-right: 0;
}
.booking-calendar-day-blocks {
  position: relative;
  height: 48px;
}
.booking-calendar-day-blocks .booking-calendar-block {
  position: absolute;
  top: 4px;
  height: 40px;
  box-sizing: border-box;
  grid-row: auto;
  min-width: 4px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
button.booking-calendar-block--btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
button.booking-calendar-block--btn:hover {
  filter: brightness(0.98);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  z-index: 2;
}
button.booking-calendar-block--btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  z-index: 2;
}
.booking-calendar-modal-dialog {
  width: min(480px, 100%);
}
.booking-calendar-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.booking-calendar-modal-header .jrc-modal__title {
  margin: 0;
  flex: 1;
}
.booking-calendar-modal-x {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.booking-calendar-modal-x:hover {
  background: #e2e8f0;
}
.booking-calendar-modal-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
.booking-calendar-modal-dl {
  margin: 0;
  display: grid;
  gap: 10px 0;
}
.booking-calendar-modal-dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 8px 14px;
  align-items: baseline;
}
.booking-calendar-modal-dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.booking-calendar-modal-dl dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}
.booking-calendar-mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
}
.booking-calendar-modal-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.booking-calendar-modal-actions {
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .booking-calendar-modal-dl > div {
    grid-template-columns: 1fr;
  }
}
.booking-calendar-slot-header {
  padding: 8px 4px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

/* ===== Contact pagina ===== */
.contact-hero {
  padding: 80px 0 50px;
  background: radial-gradient(circle at 0 0, #0f172a 0, #020617 45%, #020617 70%, #020617 100%);
  color: #e5e7eb;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.contact-hero .section-kicker {
  color: #a5b4fc;
}

.contact-hero h1 {
  color: #f9fafb;
}

.contact-hero .section-text {
  color: #cbd5f5;
  max-width: 520px;
}

.contact-hero-copy {
  position: relative;
}

.contact-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto auto -40px 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.22), transparent 65%);
  pointer-events: none;
}

.contact-hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.contact-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 0 0 2px;
}

.contact-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
}

.contact-meta-value a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(148,163,184,0.6);
}

.contact-hero-card {
  background: #0b1220;
  border-radius: 20px;
  padding: 24px 24px 22px;
  box-shadow: 0 24px 80px rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.45);
  color: #e5e7eb;
}

.contact-hero-card-header h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.contact-hero-card-header p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #9ca3af;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 4px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: 9px 11px;
  font-size: 13px;
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow:
    0 0 0 1px #0ea5e9,
    0 0 0 1px rgba(15,23,42,0.7);
}

.contact-form-support {
  font-size: 11px;
  color: #9ca3af;
  margin: 4px 0 0;
}

.contact-form-support a {
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-color: rgba(148,163,184,0.7);
}

.contact-submit-button {
  margin-top: 6px;
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  cursor: pointer;
  box-shadow:
    0 18px 50px rgba(16,185,129,0.7),
    0 0 0 1px rgba(15,23,42,0.8);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

.contact-submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 20px 60px rgba(22,163,74,0.85),
    0 0 0 1px rgba(15,23,42,0.9);
  filter: brightness(1.03);
}

.contact-submit-button:disabled {
  opacity: 0.85;
  cursor: wait;
}

.contact-form-message {
  font-size: 12px;
  margin: 4px 0 0;
}

.contact-form-message--success {
  color: #bbf7d0;
}

.contact-form-message--error {
  color: #fecaca;
}

.contact-secondary {
  padding: 32px 0 64px;
  background: #f1f5f9;
}

.contact-secondary-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-secondary-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.contact-secondary-card--muted {
  background: #f8fafc;
}

.contact-secondary-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.contact-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-topics h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.contact-topics p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.contact-details-list {
  margin: 0 0 10px;
  display: grid;
  gap: 6px;
}

.contact-details-list div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.contact-details-list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  min-width: 92px;
}

.contact-details-list dd {
  margin: 0;
  font-size: 13px;
  color: #0f172a;
}

.contact-details-list a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(148,163,184,0.7);
}

.contact-small-print {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 900px) {
  .contact-hero-inner,
  .contact-secondary-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-hero-card {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Admin login ===== */
.admin-login-page {
  background: linear-gradient(to bottom, #f9fafb 0, #e5e7eb 40%, #e5e7eb 100%);
}
.admin-login-page .account-page {
  padding-top: 96px;
  padding-bottom: 64px;
}
.admin-login-heading .section-kicker {
  color: #4b5563;
}
.admin-login-heading .section-heading-title {
  color: #0f172a;
}
.admin-login-heading .section-text {
  color: #4b5563;
}
.admin-login-card {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(15,23,42,0.25);
}
.admin-login-card .auth-form label {
  color: #0f172a;
}
.admin-login-card .auth-form input {
  background: #ffffff;
  border-color: #d1d5db;
  color: #0f172a;
}
.admin-login-card .auth-form input:focus {
  border-color: #38bdf8;
  box-shadow:
    0 0 0 1px #0ea5e9,
    0 0 0 1px rgba(15,23,42,0.2);
}
.admin-login-card .auth-submit {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow:
    0 18px 50px rgba(16,185,129,0.7),
    0 0 0 1px rgba(15,23,42,0.8);
}
.admin-login-card .auth-submit:hover {
  filter: brightness(1.03);
}
.booking-calendar-block {
  grid-row: 1;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  cursor: default;
}
.booking-calendar-block-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-calendar-block-sub { font-size: 10px; opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-block--pending { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.cal-block--confirmed { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.cal-block--completed { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.cal-block--cancelled { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.cal-block--rejected { background: #fecaca; color: #7f1d1d; font-weight: 700; border: 1px solid #fca5a5; }
.booking-calendar-cells {
  display: grid;
  grid-template-columns: repeat(var(--cal-cols, 7), minmax(72px, 1fr));
  gap: 6px;
  padding: 8px;
}
.booking-calendar-cell {
  min-height: 72px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.booking-calendar-cell--free {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.booking-calendar-cell--closed {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.booking-calendar-cell--booked {
  background: #ffffff;
  border-color: #cbd5e1;
}
.booking-calendar-cell--veh-inactive {
  opacity: 0.55;
  background: #f8fafc;
}
.booking-calendar-cell-free,
.booking-calendar-cell-muted {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin: auto;
  text-align: center;
}
.booking-calendar-cell-free {
  color: #059669;
}
.booking-calendar-cell .booking-calendar-block {
  grid-column: auto !important;
  position: relative;
  left: auto !important;
  width: auto !important;
  height: auto;
  min-height: 44px;
  box-shadow: none;
}
.booking-calendar-row--day .booking-calendar-row-label { border-bottom: 1px solid #e2e8f0; }

/* ===== Support tickets (verhuurder) ===== */
.support-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 1.25rem;
}
.support-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.support-stat-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.support-stat-card[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.support-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.support-stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}
.support-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.support-toolbar .fleet-filter-wrap {
  flex: 1 1 160px;
  min-width: 140px;
}
.support-table-wrap {
  overflow-x: auto;
}
.support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.support-table th,
.support-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.support-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
  background: #f8fafc;
}
.support-table tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}
.support-table tbody tr:hover {
  background: #f8fafc;
}
.support-table-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.support-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.support-badge--open { background: #dbeafe; color: #1e40af; }
.support-badge--in_behandeling { background: #e0e7ff; color: #3730a3; }
.support-badge--wacht_op_verhuurder { background: #fef3c7; color: #b45309; }
.support-badge--wacht_op_justrentcar { background: #fce7f3; color: #9d174d; }
.support-badge--opgelost { background: #dcfce7; color: #166534; }
.support-badge--gesloten { background: #f1f5f9; color: #64748b; }
.support-badge--prio-laag { background: #f1f5f9; color: #475569; }
.support-badge--prio-normaal { background: #e2e8f0; color: #334155; }
.support-badge--prio-hoog { background: #ffedd5; color: #c2410c; }
.support-badge--prio-urgent { background: #fee2e2; color: #b91c1c; }
.support-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 1.5rem;
}
.support-thread-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.support-msg {
  border-radius: 14px;
  padding: 16px 18px;
  max-width: min(720px, 100%);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.support-msg--landlord {
  margin-right: auto;
  border-left: 4px solid var(--primary);
}
.support-msg--admin {
  margin-left: auto;
  border-left: 4px solid #0f766e;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}
.support-msg-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.support-msg-body {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
}
.support-msg-files {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.support-file-chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
}
.support-file-chip:hover {
  background: #e2e8f0;
}
.support-desc-block {
  margin-top: 1rem;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.support-desc-block h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}
.support-desc-block p {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}
.support-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px 20px;
  margin-top: 1rem;
}
.support-meta-item span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.support-reply-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.support-form-grid {
  display: grid;
  gap: 14px;
}
@media (max-width: 768px) {
  .support-table th:nth-child(4),
  .support-table td:nth-child(4),
  .support-table th:nth-child(7),
  .support-table td:nth-child(7) {
    display: none;
  }
}

.jrc-debt-case-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.jrc-debt-case__countdown {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: #1e3a8a;
  font-size: 13px;
}

.jrc-debt-timeline {
  list-style: none;
  margin: 8px 0 14px;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(15, 23, 42, 0.12);
}

.jrc-debt-timeline__item {
  position: relative;
  padding: 0 0 10px 14px;
  color: #64748b;
  font-size: 13px;
}

.jrc-debt-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.jrc-debt-timeline__item.done {
  color: #0f172a;
}

.jrc-debt-timeline__item.done::before {
  background: #0ea5e9;
}

.jrc-debt-timeline__item.active {
  color: #0f172a;
  font-weight: 700;
}

.jrc-debt-timeline__item.active::before {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.jrc-debt-case__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 6px;
}

.jrc-debt-case__legal-note {
  margin-top: 10px;
  font-size: 12px;
}

.jrc-debt-case__events {
  margin: 8px 0 0;
  padding-left: 18px;
}

.jrc-debt-case__events li {
  margin: 4px 0;
  font-size: 12px;
}

.jrc-legal-page {
  padding: 52px 0 72px;
  background:
    radial-gradient(1200px 420px at 10% -8%, rgba(14, 165, 233, 0.12), transparent 58%),
    radial-gradient(900px 320px at 92% -5%, rgba(99, 102, 241, 0.1), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 56%, #f8fafc 100%);
}

.jrc-legal-page__container {
  max-width: 1040px;
}

.jrc-legal-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.12);
  border-radius: 24px;
  padding: 28px 26px 22px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, #ffffff 0%, #f8fbff 60%, #eef6ff 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.jrc-legal-hero::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -78px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0));
  pointer-events: none;
}

.jrc-legal-page__heading {
  margin-bottom: 14px;
}

.jrc-legal-page__heading h1 {
  margin-bottom: 10px;
}

.jrc-legal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jrc-legal-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(2, 132, 199, 0.24);
  background: rgba(14, 165, 233, 0.08);
  color: #0c4a6e;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
}

.jrc-legal-toc {
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  padding: 16px 16px 14px;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.jrc-legal-toc h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.jrc-legal-toc__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jrc-legal-toc__links a {
  text-decoration: none;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.35;
  background: #ffffff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.jrc-legal-toc__links a:hover {
  transform: translateY(-1px);
  border-color: rgba(2, 132, 199, 0.55);
  color: #0369a1;
  box-shadow: 0 10px 16px rgba(2, 132, 199, 0.12);
}

.jrc-legal-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  background: #ffffff;
  padding: 26px 24px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.jrc-legal-section {
  scroll-margin-top: 120px;
}

.jrc-legal-section + .jrc-legal-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.jrc-legal-section h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  color: #0f172a;
}

.jrc-legal-section p {
  margin: 0 0 8px;
  color: #334155;
  line-height: 1.78;
}

.jrc-legal-section ul {
  margin: 0 0 10px;
  padding-left: 20px;
  color: #334155;
}

.jrc-legal-section li {
  margin-bottom: 6px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .jrc-legal-toc__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .jrc-legal-page {
    padding: 30px 0 42px;
  }

  .jrc-legal-hero {
    border-radius: 16px;
    padding: 18px 16px 16px;
  }

  .jrc-legal-toc {
    border-radius: 14px;
    padding: 14px;
  }

  .jrc-legal-toc__links {
    grid-template-columns: 1fr;
  }

  .jrc-legal-card {
    border-radius: 14px;
    padding: 18px 16px;
  }

  .jrc-legal-section h2 {
    font-size: 17px;
  }
}

/* Verhuurdersterren op aanbodkaarten */
.jrc-landlord-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.jrc-landlord-rating__stars {
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
  background: linear-gradient(
    90deg,
    #f59e0b var(--jrc-rating-pct),
    #cbd5e1 var(--jrc-rating-pct)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jrc-landlord-rating__stars--empty {
  background: none;
  color: #cbd5e1;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.jrc-landlord-rating__meta {
  font-size: 12px;
  color: #64748b;
}

/* Mijn boekingen — huurder sterren (geen tekst) */
.mijn-boekingen-review {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
}

.mijn-boekingen-review-head {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.mijn-boekingen-review-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.jrc-review-q {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.jrc-review-stars-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.jrc-review-star-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #fff;
  color: #cbd5e1;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.jrc-review-star-btn:hover {
  border-color: rgba(148, 163, 184, 0.65);
  transform: translateY(-1px);
}

.jrc-review-star-btn.is-on {
  border-color: rgba(245, 158, 11, 0.85);
  background: rgba(254, 243, 199, 0.55);
  color: #d97706;
}

.jrc-review-star-btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.mijn-boekingen-review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mijn-boekingen-review-submit {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.mijn-boekingen-review-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.mijn-boekingen-review-message {
  font-size: 13px;
  color: #b45309;
  margin: 0;
}

.mijn-boekingen-review-done {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 13px;
  color: #047857;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mijn-boekingen-review-done span[aria-hidden="true"] {
  color: #059669;
  font-size: 18px;
  line-height: 1;
}

/* Mijn boekingen — CTA + modal beoordeling */
.mijn-boekingen-review-cta {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(13, 148, 136, 0.35);
  background: rgba(240, 253, 250, 0.5);
}

.mijn-boekingen-review-open {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.2);
}

.mijn-boekingen-review-open:hover {
  filter: brightness(1.05);
}

.mijn-boekingen-review-open:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.mijn-boekingen-review-cta-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.mijn-boekingen-review--in-modal {
  margin-top: 0;
  padding: 0;
  border: none;
  background: none;
}

.jrc-renter-review-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.jrc-renter-review-modal.hidden {
  display: none;
}

.jrc-renter-review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.jrc-renter-review-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.jrc-renter-review-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.jrc-renter-review-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.jrc-renter-review-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.9);
  color: #475569;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jrc-renter-review-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.jrc-renter-review-modal__body {
  padding: 16px 18px 20px;
}
