/* === LAYERSELECTION GENERAL === */
.layer-selection {
  background-color: var(--color-nav);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 14px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.layer-selection label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  cursor: pointer;
}

.layer-selection input[type="checkbox"] {
  transform: scale(1.1);
  cursor: pointer;
  accent-color: #0099cc;
  margin-right: 6px;
}

.layer-selection br {
  display: none; /* Optional: br rausnehmen, damit die Liste kompakt bleibt */
}

/* === LAYERSELECTION TOP BAR (BUTTONS + HEADLINE) === */
.layer-selection h2{
  text-align: center;
  text-decoration: underline;
  margin-bottom: 12px;
}

#layer-selection-header{
  padding-bottom: 12px;
  border-bottom: 1px solid #555;
}

#layer-selection-menu{
  display: flex;
}
.layer-selection button{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--color-nav);
  color: var(--color-text);
  border: 0.2px solid var(--color-nav-alt);
  border-color: var(--color-button-border);
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  height: 40px;
  margin-right : 12px;
  box-shadow: var(--shadow-button)
}

.dropdown{
  padding: 0px,0px;
}

#layer-selection-button{
  width: 100%
}


/* === LAYERSELECTION INDIVIDUAL SELECTION === */
#layer-selection-list{
  margin-top: 12px;
  padding-left: 4px;
  min-height: 350px;
}

/* === LAYERSELECTION GENERAL SELECTION === */
.layer-selection h3{
  text-decoration: underline;
  text-align: center;
  padding-bottom: 12px;;
}

#layer-selection-general-layers{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #555;
  padding-left: 4px
}


/* === LAYERSELECTION ALTITUDE FILTER === */

.altitude-filter {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #555;
}

.altitude-filter label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 4px;
}

.altitude-filter input {
  width: 50px;
  padding: 2px 4px;
  border-radius: 4px;
  border: none;
  background-color: #444;
  color: #fff;
}
