.idlab-configurator {
  color: white;
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1300px;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  font-family: Overpass;
}

.configurator-form h3 {
  font-family: Overpass;
  font-weight: bold;
  font-size: 21px !important;
  line-height: 30px !important;
}

.configurator-form h3.title-seiten::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/SeitenIcon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

.configurator-form h3.title-design::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/DesignIcon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

.configurator-form h3.title-accessibility::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/AccessibilityIcon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

.configurator-form h3.title-datenbank::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/DatenbankIcon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}

.title-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.title-container img{
    max-width: 30px !important;
    width: 100%;
    margin-bottom: 10px;
}

.idl-noise {
  pointer-events: none;
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url(../images/noise.webp);
  background-repeat: repeat;
  opacity: 0.05;
  animation: 0.7s steps(3, end) infinite idl-noise;
  z-index: 1;
}

@keyframes idl-noise {
  0% {
    transform: translate(0.5%, 0.5%);
  }

  50% {
    transform: translate(-1.5%, -2.5%);
  }

  100% {
    transform: translate(0.6%, -0.1%);
  }
}

.configurator-form {
  display: flex;
  flex-direction: column;
  background: #000;
  max-width: 750px;
  width: 100%;
  padding: 20px;
  gap: 32;
  border-radius: 16px;
}

/*Buttons*/
.buttons {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  margin-left: 20px;
}

.buttons button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px !important;
    background-color: var(--e-global-color-accent) !important;
    font-family: "Montserrat", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    letter-spacing: 0px !important;
    color: var(--e-global-color-e627341) !important;
    border-style: solid !important;
    border-width: 3px 3px 3px 3px !important;
    border-color: var(--e-global-color-accent) !important;
  }

.buttons button:hover {
  background: white !important;
  color: #EA5F17 !important;
  border:#fff ;

}

.buttons button:active {
  color: white;
  border: none;
  background: #EA5F17;
}

.buttons button:focus {
  color: white;
  border: none;
  background: #EA5F17;
}

.checkboxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  margin-right: 100px;
  justify-content: space-between;
}

/* Checkbox vergrößern */
.checkboxes input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: #000;
  border: 1px solid #ea5f18;
  accent-color: #ea5f18;
  /* moderne Browserfarbe für aktiv */
  border-radius: 3px;
  cursor: pointer;
}

/* Optional: Hover-Effekt */
.checkboxes input[type="checkbox"]:hover {
  box-shadow: 0 0 0 2px rgba(234, 95, 24, 0.2);
}


.checkboxes label {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* Responsive: auf sehr kleinen Bildschirmen nur 1 Spalte */
@media (max-width: 500px) {
  .checkboxes {
    grid-template-columns: 1fr;
  }
}

.configurator-summary .reset-configurator {
  color: #ffffff;
  border: solid 1px #ea5f18;
  border-radius: 16px;
  font-family: 'Overpass';
  margin-top: 50px;
}

.configurator-summary .reset-configurator:hover {
  background: #ea5f18;
}

.configurator-summary .reset-configurator:active {
  background: #ea5f18;
  color: #fff;
}

.configurator-summary .reset-configurator:focus {
  background: #ea5f18;
  color: #fff;
}

/*Select*/

.configurator-form select {
  max-width: 550px;
  width: 100%;
  color: #fff;
  background: #ffffff21;
  border-radius: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-left: 20px;

  background-image: url('../images/IconArrowDown.svg');
  background-repeat: no-repeat;
  background-position: right 20px center;
  /* 20px nach links vom rechten Rand */

  /* Größe des Icons */
  background-size: 16px 16px;
  /* Breite x Höhe, kleineres Icon */

  padding-right: 40px;
  /* Abstand Text zum Icon */
  border: none;
}

.configurator-form select:focus {
  outline: 1px solid #EA5F17;
  border: solid 1px #EA5F17;
}


/*Summary*/
.configurator-summary {
  display: flex;
  border: solid 1px #F6F5F5;
  border-radius: 16px;
  background: #fff;
  color: #000;
  max-width: 500px;
  width: 100%;
  justify-content: space-between;
  ;
  min-height: 350px;
  flex-direction: column;
  padding: 16px;

  box-shadow: 4px 4px 6px -4px #898989;
}

.configurator-summary h3 {
  font-family: Overpass;
  font-weight: 600;
  font-size: 21px;
  line-height: 29px;
}

.idlab-summary .summary-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #F6F5F5;
  padding: 16px 6px 4px 6px;
}

.idlab-summary .summary-row span {
  font-family: Overpass;
  color: #1a1a1b9e;
  font-weight: 400;
}

.idlab-price {
  font-family: Overpass;
  color: #1a1a1b9e;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #F6F5F5;
  padding: 16px 6px 4px 6px;
}

.idlab-price span {
  color: #EA5F17;
}

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .idlab-configurator {
    flex-direction: row;
    /* nebeneinander */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    /* falls Breite knapp wird, umbrechen */
  }

  .configurator-form {
    max-width: 55%;
    /* Form etwas breiter */
    width: 100%;
    padding: 16px;
    gap: 24px;
  }

  .configurator-summary {
    max-width: 40%;
    /* Summary daneben */
    width: 100%;
    padding: 12px;
    min-height: auto;
  }

  .buttons {
    flex-wrap: wrap;
    /* Buttons umbrechen */
    gap: 10px;
  }

  .buttons button {
    flex: 1 1 45%;
    margin-right: 0;
  }

  .configurator-form select {
    width: 100%;
    max-width: 100%;
    padding: 10px 35px 10px 12px;
  }

  .configurator-form h3,
  .configurator-summary h3 {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Mobile: max-width 768px */
@media (max-width: 768px) {
  .configurator-form {
    padding: 12px;
    gap: 20px;
    max-width: 100%;
  }

  .buttons {
    flex-direction: column;
    /* Buttons untereinander */
  }

  .buttons button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    background-color: var(--e-global-color-accent);
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0px;
    color: var(--e-global-color-e627341);
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: var(--e-global-color-accent);
  }


  .configurator-form select {
    width: 100%;
    padding: 10px 35px 10px 12px;
  }

  .configurator-summary {
    max-width: 95%;
    padding: 10px;
  }

  .configurator-form h3,
  .configurator-summary h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .idl-noise {
    display: none;
    /* Optional: Noise-Effekt auf Mobile ausblenden */
  }
}