.atib-replica-wrapper {
  max-width: 1100px; /* Iets breder gemaakt zodat tabel + plaatje passen */
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

/* DE FIX: Dit zet de plaatjes NAAST de groepen */
.side-by-side-row {
  display: flex;
  align-items: stretch; /* Zorgt dat plaatje en tabel even hoog zijn */
  gap: 25px;            /* Ruimte tussen plaatje en tabel */
  margin-bottom: 25px;
}

/* Het plaatje: vastgezet op een breedte die niet 'drukt' op je velden */
.side-by-side-row .diag-item {
  flex: 0 0 300px;      /* Breedte van het plaatje. Pas aan naar bijv 250px als het te breed is */
  display: flex;
}

.side-by-side-row .diag-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

/* De tabelgroep: vult de rest van de ruimte */
.side-by-side-row .calc-group {
  flex: 1;
  margin-bottom: 0; 
  min-width: 0; /* Voorkomt dat de tabel uit de layout springt */
}

/* --- JOUW ORIGINELE STYLING (NIET AANGEPAST) --- */
.calc-group {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 4px;
}

.group-header {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #2b3d51;
}

.row-3 {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 15px;
}

.row-1 {
  margin-bottom: 15px;
}

.row-2-split {
  display: flex;
  gap: 30px;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

input[type="number"], input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #7a8a99;
  border-radius: 2px;
  font-size: 14px;
  box-sizing: border-box;
  height: 38px;
}

.grey-bg input, .grey-bg-simple input, .result-wrapper input {
  background-color: #eef1f3;
  border: 1px solid #999;
  color: #444;
}

.unit {
  font-size: 11px;
  font-style: italic;