.filter-bar {
	display: flex;
	justify-content: space-between; /* Filter links, Info rechts */
	align-items: center;
	flex-wrap: wrap; /* optional: bei sehr kleinen Bildschirmen umbrechen */
	gap: 10px;
	margin-bottom: 1rem;
}
.filter-bar > div:last-child {
	flex-shrink: 0; /* verhindert, dass das Icon zusammengequetscht wird */
	font-size: 1.5rem;
	cursor: pointer;
}
h1 {
	color: #3f51b5;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
	margin-bottom: 25px;
	font-weight: 600;
	font-size: 2rem;
	margin-top: 0;
	line-height: 1.15;
}
body {
	font-family: "Inter", Arial, sans-serif;
	margin: 20px;
	background-color: #f4f7f9;
	padding-top: 54px;
}
.admin-view-form-container,
.container {
	background: #fff;
	max-width: 1200px;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	margin: 20px auto;
	font-size: 1rem;
}
.anti-bootstrap-container {
	background: #fff;
	max-width: 1260px !important;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	margin: 20px auto;
	font-size: 1rem;
	box-sizing: border-box;
}
h1.view-title {
	color: #3f51b5;
	padding-bottom: 10px;
	margin-bottom: 0px;
	border-bottom: 0px solid #e0e0e0;
}

.view-title-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #e0e0e0;
}
.view-title-bar .status-badge {
	align-self: center; /* falls baseline nicht ganz perfekt ist */
	transform: translateY(-5px); /* optische Feinjustierung */
	font-size: 1.6rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}
.custom-multiselect {
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 0.5rem;
	font-size: 1rem;
	min-height: 120px; /* Höhe der Multi-Select-Box */
	background-color: #fdfdfd;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-multiselect:focus {
	border-color: #3f51b5;
	box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2);
	outline: none;
}

.hint-text {
	font-size: 0.85rem;
	color: #666;
	margin-top: 0.25rem;
}
h2 {
	color: #3f51b5;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
	margin-bottom: 25px;
	font-weight: 600;
}

input {
	font-family: Arial, Helvetica, sans-serif;
}
input:focus,
select:focus {
	outline: none;
	border-color: #3f51b5;
	box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.15);
}
input[type="checkbox"] {
	margin-right: 0.8rem;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.swal2-popup {
	border: none !important;
	box-shadow: none !important;
	border-radius: 12px !important;
	background: #fff !important;
}
select,
input[type="date"],
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"] {
	font-size: 1rem;
	font-weight: 500;
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.3s;
	height: 40px;
	font-family: "Inter", Arial, sans-serif;
	background-color: #fff;
}

select {
	/* Entfernt den Standard-Dropdown-Pfeil */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	/* Fügt einen Custom-Pfeil über eine SVG-Daten-URL hinzu */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	background-size: 14px;
	padding-right: 20px !important; /* Macht Platz für den Custom-Pfeil */
	color: #333;
}

/* iOS-Fix für Date Inputs */
input[type="date"] {
	-webkit-appearance: none; /* verhindert den aufgeblasenen Standard-Stil */
	-moz-appearance: none;
	appearance: none;
	padding-right: 10px; /* vermeidet, dass Text zu nah am Rand steht */
	text-align: left; /* verhindert Zentrierung auf iOS */
}

/* Optional: Placeholder-Text vereinheitlichen (Safari rendert ihn sonst grau/blass) */
input[type="date"]::-webkit-datetime-edit {
	color: #000000;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(0.4);
	opacity: 0.7;
	cursor: pointer;
}
/* Einheitliche Textfarbe für alle Eingaben */
input[type="date"],
select {
	color: #000 !important;
	-webkit-text-fill-color: #000 !important; /* <-- iOS zwingt Farbe */
}

/* Fokussierte Inputs */
input:focus,
select:focus {
	outline: none;
	border-color: #3f51b5;
	box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.15);
}

/* Titel ohne Linie */
.swal2-title {
	border-bottom: none !important;
	margin-bottom: 1rem; /* optional: Platz zwischen Titel und Text */
	color: #3f51b5 !important;
	font-weight: 600;
}
/* AdminViewForm: Streichen Input feld */
div:where(.swal2-container) .swal2-input {
	width: auto;
	box-sizing: border-box;
}
/* Optional: Buttons */
.swal2-confirm {
	background-color: #28a745 !important;
	color: white !important;
	border-radius: 8px !important;
}
.swal2-cancel {
	background-color: #c9273f !important;
	color: white !important;
	border-radius: 8px !important;
}

@media screen and (max-width: 768px) {
	body {
		margin: 0 !important;
		padding: 54px 0px !important;
	}

	h2 {
		font-size: 1.2rem;
	}

	input[type="date"],
	input[type="text"],
	input[type="number"],
	input[type="email"],
	select {
		font-size: 0.9rem; /* etwas kleinere Schrift */
	}

	input[type="date"],
	select {
		-webkit-appearance: none;
		line-height: normal;
	}
}
