/* Stile für kleine Bildschirme (unter 600px) */
body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #333;
	color: azure;
}

.footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	color: white;
	text-align: center;
}

.central {
	width: 100%;
	margin: 0 auto;
}

.halphalf {
	width: 75%;
	margin: 0 auto;
}

.rainbow-bar {
	background: linear-gradient(90deg,
			red,
			orange,
			yellow,
			green,
			cyan,
			blue,
			violet);
	color: black;
}

.w3-input {
	text-align: center;
}

.w3-select {
	text-align: center;
}

/* Verzögerung des einfahrens*/
.w3-hide {
	transition: max-height 0.5s ease, padding 0.3s ease;
}

/* Verzögerung des Ausfahrens */
.w3-show {
	transition: max-height 0.5s ease, padding 0.3s ease;
}

.container {
	display: flex;
	justify-content: space-between;
}

.autoscroll {
	overflow-y: auto;
	scrollbar-gutter: stable;
	/* verhindert "flackern" des Scrollbalkens */
}

.desktop-only {
	display: none;
}

ul {
	list-style-type: none;
	padding: 0;
}

li {
	margin-bottom: 16px;
}

.input-group {
	display: flex;
	gap: 8px;
	/* Abstand zwischen Input und Button */
	align-items: center;
	/* vertikal zentrieren */
}

.input-group .input-group-input {
	flex: 1;
	/* nimmt verbleibenden Platz ein */
	min-width: 0;
	/* verhindert Überlaufen bei kleinen Breiten */
}

.input-group .input-group-btn {
	white-space: nowrap;
	/* verhindert Umbruch im Button */
}

textarea.w3-input {
	resize: vertical;
	/* Nur vertikales Resizing erlauben */
}

.accordion {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition:
		max-height 0.5s ease,
		opacity 0.4s ease;
}

.accordion.open {
	opacity: 1;
	overflow: hidden;
}

.accordion-inner {
	padding: 16px;
}

.accordion-btn.active .arrow {
	transform: rotate(180deg);
}

.accordion p {
	margin: 0;
}

/* Pfeil-Animation */
.arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

/* Wenn Button aktiv → Pfeil drehen */
button.active .arrow {
	transform: rotate(180deg);
}


table.footable {
	table-layout: fixed;
	width: 100%;
}

table.footable col.col-1 {
	width: 10%;
}

table.footable col.col-2 {
	width: 45%;
}

table.footable col.col-3 {
	width: 15%;
}

table.footable col.col-4 {
	width: 30%;
}

table.footable col.col-5 {
	width: 20%;
}

table.footable th,
table.footable td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.border-color-theme {
	border-color: green;
}

.label {
  width: 64px;
  height: 64px;
  margin: 3px;
}

.label-big {
  width: 128px;
  height:  128px;
  margin: 3px;
}

.barcode-container {
    display: flex;
    justify-content: center;   /* horizontale Zentrierung */
    align-items: center;       /* vertikale Zentrierung (optional) */
	background-color: #fff;  /* Hintergrundfarbe für bessere Sichtbarkeit */
	height: 50px;
}

#reader {

}

/* Media Query für Bildschirme ab 600px Breite */
@media screen and (min-width: 600px) {

	.central {
		max-width: 575px;
		margin: 0 auto;
	}


}

/* Media Query für Bildschirme ab  993px Breite */
@media screen and (min-width: 993px) {

	.w3-input {
		padding: 3px;

	}

	.w3-select {
		padding: 3px;

	}

	.w3-check {
		width: 16px;
		height: 16px;
	}

	.w3-button {
		padding: 3px;


	}

	.w3-btn {
		padding: 3px;

	}

	#articleListe button {
		padding: 2px;
	}


	.container {
		max-width: 100%;
		/* Container-Breite auf den Bildschirm begrenzen */
		overflow-x: auto;
		/* Horizontales Scrollen ermöglichen */
		margin: 0 auto;
		/* Zentrierung */
		padding: 10px;
		/* Optional: Innenabstand */
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.w3-container {
		display: contents;
	}

	.footable {
		width: 100%;
		/* Tabelle passt sich an die Container-Breite an */
		max-width: 100%;
		/* Verhindert, dass die Tabelle über den Container hinausgeht */
	}



	.desktop-only {
		display: block;
	}

	li {
		margin-bottom: 3px;
	}

}