.option-panel {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 5px;
}

.option-icon {
  width: 25%;
  height: auto;
  object-fit: contain;
}

.option-text {
  width: 75%;
  padding-left: 15px;
  text-align: left;
}

.option-panel:hover {
  background-color: #f0f0f0;
}

.option-panel.uk-card-primary {
  background-color: #1e87f0;
  color: #fff;
  border-color: #1e87f0;
}

.konfigurator-icon {
  width: 30px;
  height: auto;
  margin-right: 10px;
}

.input-group {
  display: flex;
  align-items: center; /* Zentriert die Elemente vertikal */
  gap: 15px;           /* Abstand zwischen Bild und Eingabefeldern */
}

.input-image {
  width: 50%;          /* Bild nimmt 40% der Breite ein */
  max-width: 500px;    /* Optional: maximale Breite für das Bild */
  height: auto;        /* Höhe proportional zur Breite */
}

.input-fields {
  flex: 1;             /* Eingabefelder nehmen den restlichen verfügbaren Platz ein */
  display: flex;
  flex-direction: column; /* Eingabefelder untereinander anordnen */
}

.input-fields label {
  font-weight: bold;
  margin-bottom: 5px;
}

.input-fields .uk-input {
  width: 100%;
  margin-bottom: 15px;
}

.input-separator {
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.calculate-button {
  display: flex;
  justify-content: center;
}

#calculate-btn {
  padding: 10px 20px;
  font-size: 16px;
}

.image-container {
  position: relative;
  display: inline-block;
}

.input-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

.zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: none; /* Verhindert, dass das Icon den Klick blockiert */
}

.image-container a {
  display: inline-block;
  cursor: pointer;
}

.uk-table-small {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.uk-table-divider tbody tr {
  border-bottom: 1px solid #e5e5e5;
}

.uk-text-right {
  text-align: right;
}

.konfigurator-section {
  margin-bottom: 10px;
}

.konfigurator-section:last-child {
  margin-bottom: 0;
}

.farbe {
  width: 100px;  /* Feste Breite für das Farbfeld */
  height: 100%; /* Feste Höhe für das Farbfeld */
  display: block;
}

.farbe-option {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.farbe-option:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Optional: Spezielle Styles für die Farbkarte */
.uk-card-small .uk-card-body {
  padding: 15px;
}

.uk-width-auto .uk-card-media-left {
  padding: 10px;
}

/* Für den Farbverlauf bei "RAL-Farbe nach Wunsch" */
.farbe[style*="linear-gradient"] {
  background-size: 100% 100%;
}

/* Styles für das RAL-Input Modal */
.uk-modal-body {
  padding: 20px;
}

.uk-form-label {
  font-weight: bold;
  margin-bottom: 5px;
}

#ral-input {
  text-transform: uppercase;
}

.uk-modal-dialog .uk-button {
  margin-left: 10px;
}

.text-hidden {
  display: none;
}

