#svg-wrapper {
  flex: 1 1 auto;
  position: relative;
  height: 100vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

#plan2d-svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
  position: static;
  overflow: visible;
}

.garage-options-table {
  width: 100%;
  min-width: 400px; /* Die Tabelle braucht diesen Platz, um lesbar zu bleiben */
  border-collapse: collapse;
  font-size: 0.8em;
  table-layout: auto; /* Lass den Browser die Spalten passend zum Text machen */
}

/* Verhindere, dass die linke Spalte (Objekt) zu schmal wird */
.option-name {
  width: 100px;
  min-width: 100px;
  word-wrap: break-word;
}

.garage-options-table th,
.garage-options-table td {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: left;
}

.garage-options-table th {
  background: #f5f5f5;
  font-weight: 600;
  text-align: center;
}

.garage-options-table td {
  vertical-align: middle;
}

.table-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center !important;
  position: sticky;
  top: 0;
  z-index: 10;
}
#download-pdf-btn {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
  height: 105px;
  width: 105px;
  margin-top: 150px;
}

.table-title {
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
}

.side-header {
  background: #f0f0f0;
  font-weight: bold;
}

.cluster-divider {
  background: #e0e0e0;
  font-weight: bold;
  text-align: center;
  border-top: 2px solid #999;
}

.option-name {
  font-weight: bold;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.option-value,
.option-color {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.option-color {
  padding: 4px;
}

.color-preview {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  vertical-align: middle;
}