.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0.2rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  overflow: hidden;
}

.status-badge--good {
  background-color: #d4f1e8;
  color: #2d7a5f;
}

.status-badge--repair {
  background-color: #ffecd1;
  color: #d97706;
}

.status-badge--nvt {
  background-color: #E8EAEB;
  color: #000000;
}

.status-badge__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  flex-shrink: 0;
}

.status-badge--good .status-badge__icon-wrapper {
  background-color: #2d7a5f;
}

.status-badge--repair .status-badge__icon-wrapper {
  background-color: #d97706;
}

.status-badge--nvt .status-badge__icon-wrapper {
  background-color: #CACACA;
}

.status-badge--nvt .status-badge__icon {
  filter: invert(1);
}

.status-badge__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.status-badge__text {
  line-height: 1;
  padding: 0.75rem;
}

.status-plain {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-grey-700);
  display: block;
  width: 100%;
  text-align: right;
}

.tire-visualization {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

.tire-viz__container {
  position: relative;
  width: 100%;
  max-width: 320px;
}

/* Base vehicle image */
.tire-viz__base {
  width: 100%;
  height: auto;
  display: block;
}

/* Tire highlight overlays - absolutely positioned on top of base */
.tire-viz__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
  .tire-viz__container {
    max-width: 280px;
  }
}

/* Inspection Categories Styles */

.inspection-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Category Container */
.inspection-category {
  background: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Category Header Wrapper */
.category-header-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1.5rem;
  background: var(--color-white);
  cursor: pointer;
}

.category-header-wrapper:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: -2px;
}

/* Category Header (Clickable) */
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.category-header-wrapper:hover .category-title {
  color: var(--color-blue);
}

.category-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--color-blue);
}

.category-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
  line-height: 1.4;
}

/* Score in header wrapper */
.category-header-wrapper .category-score {
  flex-shrink: 0;
}

.category-score {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.category-score--good {
  color: #2d7a5f;
}

.category-score--warning {
  color: #d97706;
}

.category-chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--color-grey-600);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.category-chevron--expanded {
  transform: rotate(180deg);
}

/* Category Content (Collapsible) */
.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}

.category-content--expanded {
  max-height: 5000px; /* Large enough for all content */
  opacity: 1;
}

/* Category Info Text */
.category-info-text {
  padding: 1rem 1.5rem;
  background: var(--color-grey-50);
  border-bottom: 1px solid #e5e7eb;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-grey-500);
  line-height: 1.5;
  text-align: left;
}

/* Table Headers */
.category-table-headers {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--color-grey-50);
  border-bottom: 1px solid #e5e7eb;
}

.table-header {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-grey-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Inspection Row Container - Two columns on larger screens */
.inspection-rows-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  gap: 0;
}

/* Inspection Row */
.inspection-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid #e5e7eb;
}

/* Left column items get right border */
.inspection-row--left-column {
  border-right: 1px solid #e5e7eb;
}

/* Remove bottom border from last item in each column */
.inspection-row--last-in-column {
  border-bottom: none;
}

.inspection-row:hover {
  background: var(--color-grey-50);
}

.inspection-cell {
  font-family: 'Urbanist', sans-serif;
  min-width: 0; /* Allow text truncation */
}

.inspection-cell--label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey-800);
  text-align: left;
}

.inspection-cell--value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Note/free-text fields: left-align instead of right */
.inspection-cell--value-note {
  justify-content: flex-start;
}

.inspection-cell--value-note .status-plain {
  text-align: left;
}

.value-with-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey-700);
}

/* Field Tooltip */
.field-tooltip {
  color: var(--color-grey-500);
  cursor: help;
  display: flex;
  align-items: center;
}

.field-tooltip:hover {
  color: var(--color-blue);
}

/* Tooltip popup */
.field-tooltip-popup {
  position: fixed;
  background: var(--color-black);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  max-width: 280px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.field-tooltip-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-black);
}

/* Photo Toggle Button in Header */
.photo-toggle-button-header {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-blue);
  background: transparent;
  border: 1px solid var(--color-blue);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.photo-toggle-button-header:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* Mobile photo button - hidden on desktop */
.category-photo-toggle-mobile {
  display: none;
}

/* Category Photo Gallery (Under header) */
.category-photo-gallery {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 1.5rem;
  background: var(--color-grey-50);
  border-bottom: 1px solid #e5e7eb;
}

.category-photo-gallery--expanded {
  max-height: 500px;
  opacity: 1;
  padding: 1.5rem;
}

.photo-gallery-inner {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.photo-thumbnail {
  position: relative;
  width: 150px;
  height: 112px; /* 4:3 aspect ratio */
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.photo-thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumbnail-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-header-wrapper {
    padding-right: 1rem;
  }
  
  .category-header {
    padding: 1rem 0 1rem 1rem;
    gap: 0.75rem;
  }
  
  .category-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .category-title {
    font-size: 1rem;
  }
  
  /* Hide header photo button on mobile */
  .photo-toggle-button-header {
    display: none;
  }
  
  /* Show mobile photo button inside expanded content */
  .category-photo-toggle-mobile {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--color-grey-50);
    border-bottom: 1px solid #e5e7eb;
  }
  
  .photo-toggle-button-mobile {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-blue);
    background: transparent;
    border: 1px solid var(--color-blue);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
  }
  
  .photo-toggle-button-mobile:hover {
    background: var(--color-blue);
    color: var(--color-white);
  }
  
  .category-score {
    font-size: 0.8125rem;
  }
  
  /* Stack table on mobile */
  .category-table-headers {
    display: none; /* Hide headers on mobile */
  }
  
  /* Single column on mobile */
  .inspection-rows-container {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: auto !important;
  }
  
  .inspection-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
    border-right: none !important;
  }
  
  .inspection-cell--label {
    font-weight: 600;
  }
  
  .inspection-cell--value {
    display: block;
    text-align: left;
  }
  
  .inspection-cell--value .status-plain {
    text-align: left !important;
  }
  
  .category-photo-gallery--expanded {
    padding: 1rem;
  }
  
  .photo-thumbnail {
    width: calc(50% - 0.5rem);
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .photo-thumbnail {
    width: 100%;
  }
}

/* === Tires Section Special Layout === */
.tires-content-wrapper {
  display: flex;
  flex-direction: column;
}

.tires-fields {
  display: flex;
  flex-direction: column;
}

.tires-field-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

.tires-field-row:last-child {
  border-bottom: none;
}

.tires-field-row:hover {
  background: var(--color-grey-50);
}

/* Desktop: side-by-side layout for tires */
@media (min-width: 769px) {
  .tires-content-wrapper {
    flex-direction: row;
    align-items: center;
  }
  
  .tires-fields {
    width: 50%;
    border-right: 1px solid #e5e7eb;
  }
  
  .tires-field-row {
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tires-content-wrapper .tire-visualization {
    width: 50%;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  .tires-content-wrapper .tire-viz__container {
    max-width: 350px;
  }
}

/* Mobile: stacked layout */
@media (max-width: 768px) {
  .tires-field-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
}

/* Inspection Report Styles */

/*
 * Het rapport staat in de normale document-flow. Op de marketingsite staat er
 * inhoud boven het rapport (H1, introtekst) met een nav en footer eromheen, en
 * daar rendert het als Webflow code component in een shadow DOM.
 *
 * Daarom staan hieronder ook de basisregels die in de app uit src/index.css
 * komen: die file wordt niet meegebundeld en globale styles van de pagina
 * kruisen de shadow-grens niet.
 *
 * Let op: --color-grey-50, --color-grey-600 en --color-grey-700 worden wel
 * gebruikt in deze stylesheet maar staan bewust niet in de lijst; ze zijn ook in
 * src/index.css nooit gedefinieerd. Ze hier een waarde geven zou het rapport
 * anders laten renderen dan vandaag.
 */
.inspection-report {
  /* Kleuren, identiek aan :root in src/index.css */
  --color-primary: #00c2ce;
  --color-blue: #00c2ce;
  --color-blue-hover: #00a3ad;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-grey-100: #f6f2f2;
  --color-grey-200: #ebedee;
  --color-grey-300: #d0d0d0;
  --color-grey-400: #979797;
  --color-grey-500: #595959;
  --color-grey-800: #6c757d;
  --color-red: #eb0000;
  --color-green: #379e4f;

  /* Typografie, identiek aan :root in src/index.css */
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background-color: var(--color-grey-200);
}

/*
 * De regels hieronder staan in `:where()` zodat ze geen specificiteit toevoegen.
 * In de app komen ze uit src/index.css als kale element-selectors, en de
 * component-eigen klassen (bijvoorbeeld .category-title) horen daar bovenop te
 * gaan. Zonder `:where()` wint `.inspection-report h3` van `.category-title` en
 * krijgen de categorietitels 1.75rem in plaats van 1.125rem.
 */
:where(.inspection-report),
:where(.inspection-report) * {
  box-sizing: border-box;
}

:where(.inspection-report) h1,
:where(.inspection-report) h2,
:where(.inspection-report) h3,
:where(.inspection-report) h4,
:where(.inspection-report) h5,
:where(.inspection-report) h6 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  color: var(--color-black);
  margin-top: 0;
  line-height: 1.2;
}

:where(.inspection-report) h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

:where(.inspection-report) h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

:where(.inspection-report) h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

:where(.inspection-report) p {
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Header with colored background */
.report-header {
  background: #24B8CB;
  padding: 0;
}

.report-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navigation */
.report-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 20px auto;
  padding: 30px 2rem 0 2rem;
}

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

.report-nav-logo-img {
  height: 40px;
  width: auto;
}

.report-nav-download {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: 2px solid var(--color-white);
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.report-nav-download:hover {
  background: var(--color-white);
  color: #24B8CB;
}

/* Title and date in blue area */
.report-header-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.report-header-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.report-header-date {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.4;
}

/* White card inside header */
.report-header-card {
  position: relative;
  background: var(--color-grey-200);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Header brand section */
.report-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.report-header-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.report-header-brand-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: 0.5rem;
  padding: 8px;
  flex-shrink: 0;
}

.report-header-brand-logo {
  flex-shrink: 0;
  object-fit: contain;
}

.report-header-brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.report-header-brand-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.report-header-brand-text {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-grey-800);
  line-height: 1.3;
  text-align: left;
}

.report-header-brand-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  align-items: baseline;
}

.report-header-brand-detail {
  display: contents;
}
.report-header-brand-detail {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey-600);
  line-height: 1.4;
}

.report-header-summary-wrapper {
  margin-top: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: 0.5rem;
  padding: 15px;
}

.report-header-brand-summary {
  font-family: 'Urbanist', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.report-header-brand-summary-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.report-header-brand-summary-badge--good {
  background-color: #d1fae5;
  color: #065f46;
}

.report-header-brand-summary-badge--warning {
  background-color: #fed7aa;
  color: #9a3412;
}

.report-header-text-wrapper {
  /* Styling now handled by parent summary-wrapper */
}

.report-header-text-block {
  /* No margin needed, handled by wrapper */
}

.report-header-text-separator {
  height: 1px;
  background: var(--color-grey-200);
  margin: 15px 0;
}

.report-header-text-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-grey-700);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.05em;
}

.report-header-text-content {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-grey-700);
  line-height: 1.5;
  margin: 0;
}

.report-header-tip {
  margin-top: 1rem;
}

.report-header-tip-text {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-grey-500);
  line-height: 1.5;
  margin: 0;
}

.report-header-tip-text strong {
  font-weight: 600;
  color: var(--color-grey-500);
}

.report-header-brand-value {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey-600);
  line-height: 1.4;
}

/* Header Vehicle Section */
.report-header-vehicle {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--color-grey-200);
}

.report-header-vehicle:first-child {
  padding-top: 0;
}

@media (max-width: 768px) {
  .report-nav {
    padding: 30px 1rem 0 1rem;
    margin-bottom: 20px;
  }
  
  .report-nav-logo-img {
    height: 32px;
  }
  
  .report-nav-download {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  .report-header-content {
    padding: 1rem;
  }
  
  .report-header-intro {
    margin-bottom: 3rem;
  }
  
  .report-header-title {
    font-size: 1.5rem;
  }
  
  .report-header-date {
    font-size: 0.875rem;
  }
  
  .report-header-card {
    padding: 1.5rem;
  }
  
  /* Reorganize header for mobile */
  .report-header-top {
    display: block;
  }
  
  .report-header-brand {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    align-items: start;
  }
  
  /* First row: logo, brand name, keurmerk */
  .report-header-brand-logo-wrapper {
    grid-column: 1;
    grid-row: 1;
  }
  
  .report-header-brand-info {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  
  .report-header-brand-title-row {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .report-header-brand-text {
    font-size: 1.25rem;
  }
  
  .report-kenteken-inline {
    align-self: flex-start;
  }
  
  /* Position keurmerk next to brand name on mobile */
  .report-keurmerk-absolute {
    position: static;
    grid-column: 3;
    grid-row: 1;
    align-self: flex-start;
  }
  
  .report-header-vehicle {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Loading and Error States */
.report-loading,
.report-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--color-grey-100);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Kenteken - Inline version (40% smaller total) */
.report-kenteken-inline {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid #000;
  max-width: fit-content;
  flex-shrink: 0;
  flex-grow: 0;
  transform: scale(0.6);
  transform-origin: left center;
}

/* Kenteken - Original wrapper (for keurmerk position) */
.report-kenteken-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid #000;
  max-width: fit-content;
  flex-shrink: 0;
  flex-grow: 0;
  transform: scale(0.85);
  transform-origin: right center;
}

.report-kenteken-eu-section {
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #002999;
}

.report-kenteken-eu-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.report-kenteken-plate {
  background-color: #ffcc00 !important;
  color: #000 !important;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border: none !important;
  padding: 14px 16px;
  width: 185px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Urbanist', system-ui, -apple-system, sans-serif !important;
  box-sizing: border-box;
}

.report-kenteken-inline .report-kenteken-eu-section {
  width: 38px;
}

.report-kenteken-inline .report-kenteken-plate {
  background-color: #ffcc00 !important;
  color: #000 !important;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border: none !important;
  padding: 14px 16px;
  width: 185px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Urbanist', system-ui, -apple-system, sans-serif !important;
  box-sizing: border-box;
}

/* Keurmerk Badge - Absolute positioned */
.report-keurmerk-absolute {
  position: absolute;
  top: 0;
  right: 32px;
  z-index: 10;
}

.report-keurmerk-img {
  width: auto;
  height: 160px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .report-kenteken-plate {
    font-size: 22px;
    padding: 12px 14px;
    width: 160px;
    height: 52px;
  }
  
  .report-kenteken-inline .report-kenteken-plate {
    font-size: 20px !important;
    padding: 12px 14px !important;
    width: 160px !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .report-keurmerk-absolute {
    right: 16px;
  }
}

/* Vehicle Info */
.report-vehicle-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.report-vehicle-logo {
  flex-shrink: 0;
}

.report-vehicle-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.report-vehicle-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-grey-800);
  line-height: 1.2;
}

.report-vehicle-model {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-grey-600);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .report-vehicle-brand {
    font-size: 1.25rem;
  }
  
  .report-vehicle-model {
    font-size: 1rem;
  }
}

/* Content */
.report-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 768px) {
  .report-content {
    padding: 1rem;
  }
}

/* Sections */
.report-section {
  background: var(--color-white);
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .report-section {
    margin-bottom: 1.5rem;
  }
}

.report-section__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--color-grey-200);
  padding: 1.5rem 2rem;
}

@media (max-width: 768px) {
  .report-section__header {
    padding: 1rem;
  }
}

.report-section__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-blue);
  flex-shrink: 0;
}

.report-section__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.75rem;
}

.report-section__body {
  padding: 2rem;
}

@media (max-width: 768px) {
  .report-section__body {
    padding: 1.5rem;
  }
}

/* Info Grid */
.report-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (max-width: 992px) {
  .report-info-grid {
    grid-template-columns: 1fr;
  }
}

.report-info-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border: 1px solid var(--color-grey-200);
  border-radius: 0.375rem;
  gap: 1rem;
  min-width: 0;
  min-height: calc(1.5em + 1.25rem + 3px);
}

.report-info-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-blue);
}

.report-info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.report-info-label {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-grey-600);
  line-height: 1.2;
  text-align: left;
}

.report-info-value {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey-800);
  line-height: 1.4;
  word-wrap: break-word;
  text-align: left;
  width: 100%;
}

@media (max-width: 768px) {
  .report-info-item {
    gap: 0.75rem;
    padding: 0.75rem;
  }
}

/* Metrics */
.report-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .report-metrics {
    flex-direction: column;
    gap: 1rem;
  }
}

.report-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--color-grey-100);
  border-radius: 0.75rem;
}

.report-metric__value {
  font-family: 'Urbanist', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.report-metric__value--good {
  color: #2d7a5f;
}

.report-metric__value--repair {
  color: #d97706;
}

.report-metric__label {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-grey-700);
}

/* Text Blocks */
.report-text-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-text-block {
  padding: 1.5rem;
  background: var(--color-grey-100);
  border-radius: 0.75rem;
}

.report-text-block__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-grey-800);
  margin: 0 0 0.75rem 0;
}

.report-text-block__content {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey-700);
  line-height: 1.6;
  margin: 0;
}

/* Detail Sections - 2 Column Layout */
.report-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .report-details {
    grid-template-columns: 1fr;
  }
}

.report-detail-section {
  background: var(--color-white);
  border-radius: 0.5rem;
  overflow: hidden;
}

.report-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--color-grey-200);
  padding: 1.5rem 2rem;
}

@media (max-width: 768px) {
  .report-detail-header {
    padding: 1rem;
  }
}

.report-detail-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--color-blue);
}

.report-detail-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.75rem;
}

.report-detail-body {
  padding: 2rem;
}

@media (max-width: 768px) {
  .report-detail-body {
    padding: 1.5rem;
  }
}

.report-detail-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.report-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--color-grey-200);
  border-radius: 0.375rem;
  min-width: 0;
  min-height: calc(1.5em + 1.25rem + 3px);
}

.report-detail-label {
  flex: 1 1 40%;
  padding-left: 0.75rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey-800);
  text-align: left;
  min-width: 0;
}

@media (max-width: 768px) {
  .report-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .report-detail-label {
    flex: none;
    width: 100%;
    padding-left: 0;
  }
}

/* Photos */
.report-detail-photos {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .report-detail-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.report-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.report-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.report-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Photo Modal */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  overflow: auto;
}

@media (max-width: 768px) {
  .photo-modal {
    padding: 1rem;
  }
}

.photo-modal__content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  background: var(--color-white);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-grey-800);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.photo-modal__close:hover {
  background: var(--color-grey-100);
  transform: scale(1.1);
}

.photo-modal__image {
  max-width: 100%;
  max-height: calc(95vh - 4rem);
  object-fit: contain;
}

.photo-modal__description {
  padding: 1rem 1.5rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  color: var(--color-grey-700);
  margin: 0;
  background: var(--color-grey-100);
}

/* Disclaimer */
.report-disclaimer {
  background: #24B8CB;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.report-disclaimer p {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .report-disclaimer {
    padding: 1.25rem;
  }
  
  .report-disclaimer p {
    font-size: 0.875rem;
  }
}

/* Call to action onder het rapport (marketingpagina's) */
.report-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.report-cta-link {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 0.5rem;
  padding: 0.875rem 1.75rem;
  text-decoration: none;
  transition: background 0.2s;
}

.report-cta-link:hover {
  background: var(--color-blue-hover);
}

/* Section headings that split the report into "keuringsstation" vs "OKN" blocks */
.report-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2a44;
  margin: 28px 0 12px;
}
.report-section-heading:first-of-type {
  margin-top: 8px;
}

