/* Modal-Overlay-Stil */
.overlay-modal {
    display: none;
    position: absolute; /* Absolute Positionierung, um es über das Ziel-Element zu legen */
    z-index: 10; /* Höher als alle anderen Elemente, damit es oben bleibt */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgba(0, 0, 0, 0.5);  Halbtransparentes Schwarz für Hintergrund */
}

/* Modal-Inhalt (kein zusätzlicher Rahmen) */
.overlay-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
  background-color: var(--ui-surface-color, #eeedf4);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
}

/* Screenshot (picturesModal) layout: prevent horizontal overflow/clipping */
#picturesModalBG {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

#picturesModalBG .pictures-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#picturesModalBG .pictures-row input[type="text"] {
  flex: 1 1 140px;
  min-width: 150px;
}

#picturesModalBG .pictures-row select,
#picturesModalBG .pictures-row button {
  flex: 0 0 auto;
}


.no-header {
  padding-top: 0; /* Entfernt den Abstand zum oberen Rand */
    padding-bottom: 0;
}

.checkbox-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 5px; /* Vermindert den Abstand zum Container */
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-icon {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  font-size: 24px;
    text-align: center;
}




/* Positionstabelle */
#positionTable {
    width: 100%;
    border-collapse: collapse;
}

/* Tabellenzeilen und -zellen nach Bedarf stylen */
#positionTable th, #positionTable td {
    border: 1px solid #ddd;
    padding: 8px;
}