section.section_main {
	height: 100vh;
}
section#section_track_wrapper {
	display: flex;
	flex-direction: row;
	padding-left: 6px;
	flex: 1;
	height: 100%;
}
div#track_topbar {
	min-width: 12rem;
	background-color: #f0f0f0; /* optional für Sichtbarkeit */
	height: 100%;
	box-sizing: border-box;
	display: flex;
    flex-direction: column;
	flex-wrap: wrap;
	padding: 8px;
	border-radius: 4px;

	background-color: #f9f9f9;
  	border-right: 2px solid #ccc;
  	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
	padding: 12px;

}
select, button, label { 
	font-size: 14px; 
}
p#track_topbar_head {
	font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
}
select.track_select {
	padding: 4px;
    border-radius: 4px;
    width: fit-content;
	margin: 4px 0 16px;
}
div#track_active_tour {
  margin: 12px 0 12px;
  padding: 10px;
  background-color: #fcf1d1;
  border: 1px solid #919191;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 13px;
	text-align: center;
}
p#active_tour_status {
  margin: 4px 0 4px 0;
	color: #1031b5;
	text-align: center;
	font-weight: 600;
}
button#show_active_tour_btn {
  padding: 6px 12px;
  background-color: #1971c2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button#show_active_tour_btn:hover {
  background-color: #145ea1;
}
label#auto_center_label {
	padding: 12px 0;
}
button#refresh_btn {
	padding: 4px;
	margin: 8px auto;
	border-radius: 4px;
	background-color: #6fcf7d;
}
div#track_legend { 
	font-size: 12px; 
	opacity: .9; 
	margin: 12px 0;
}
div#track_log {
	color: #fff;
	background-color: #000;
	padding: 6px;
	border-radius: 4px;
}
span#track_status {
	font-size: 10px;
    text-wrap: auto;
    max-width: 180px;
}
span.sep { 
	width: 100px; 
	height: 1px; 
	background: #ccc; 
	margin: 8px auto; 
}
div#map {
	flex: 1;
	height: 100%;
	box-sizing: border-box;
	margin: 0 6px; 
	border: 1px solid #000;
	border-radius: 8px;
}

@media (max-width: 768px) {
  #section_track_wrapper {
    flex-direction: column;
  }
  #track_topbar {
    min-width: auto;
    width: 100%;
  }
  #map {
    height: 300px; /* oder dynamisch */
  }
}
