/* Global Styles */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
}

/* Main Content */
.main {
	padding: 5%;
	max-width: 100%; /* Ensure it uses full width */
}

/* Tab Content */
.tab-content {
	margin-top: 1%;
	padding: 1%;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	width: 100%; /* Use full width */
	max-width: 100%; /* Ensure full width */
	box-sizing: border-box; /* Prevent overflow */
}

/* Header-Stile */
.header {
	background-color: #333;
	color: white;
	padding: 15px 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Titel-Stile */
.header h1 {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
}

.header h1 a {
	color: white;
	text-decoration: none;
	transition: color 0.3s ease;
}

.header h1 a:hover {
	color: #2196f3;
}

.ui-datatable {
	text-align: center;
	align-items: center;
}

body .ui-datatable thead th {
	text-align: center;
	align-items: center;
}

body .ui-inputfield {
	width: 100%;
	padding: 15px;
	font-size: 16px;
	box-sizing: border-box;
}



/* @media (min-width: 1200px) {
    Tab-Stile
	.tabs {
		display: flex;
		gap: 30px;
	}

Tab-Stile
	.tabs-menu {
		display: none;
	}
	 body .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link {
    	background-color: #2196f3;
    }
    body .ui-menu.ui-shadow{
    	background-color: #2196f3;
    }
    body .ui-menu .ui-menu-list .ui-menuitem.ui-menuitem-active > .ui-menuitem-link{
    	background-color: #007bff;
    	color: white;
    }
    body .ui-menu .ui-menu-list .ui-menuitem.ui-menuitem-active > .ui-menuitem-link .ui-menuitem-text{
    	color: white;
    }
    body .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link .ui-menuitem-text{
    	color: white;
    }
}

Für Bildschirme mit einer Breite von maximal 768px (z.B. Tablets und Smartphones)
@media (max-width: 1200px) { */
    .tabs-menu {
        display: inline-block;
    }
    body .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link {
    	background-color: #2196f3;
    }
    body .ui-menu.ui-shadow{
    	background-color: #2196f3;
    }
    body .ui-menu .ui-menu-list .ui-menuitem.ui-menuitem-active > .ui-menuitem-link{
    	background-color: #007bff;
    	color: white;
    }
    body .ui-menu .ui-menu-list .ui-menuitem.ui-menuitem-active > .ui-menuitem-link .ui-menuitem-text{
    	color: white;
    }
    body .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link .ui-menuitem-text{
    	color: white;
    }
    .tabs {
        display: none;
    }
/*  }*/

body .tabs .ui-button {
	margin-right: 40px;
}

.tab {
	background-color: #555;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s;
	margin-right: 20px; /* Abstand zwischen den Buttons */
}

.tab:hover {
	transform: translateY(-2px);
}

.tab i {
	margin-right: 5px;
}

/* Form & Input Fields */
.input-field, .input-field-cal {
	width: 100%; /* Ensure input fields do not overflow */
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	box-sizing: border-box; /* Prevent overflow */
}

.input-field-boolean {
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	box-sizing: border-box; /* Prevent overflow */
	text-align: left;
	display: block;
	/* Ensure block layout for full width and left alignment */
	margin-bottom: 20px;
}

.input-field-boolean input[type="checkbox"] {
	transform: scale(1.2);
}
/* Form & Input Fields */
.error-report-input {
	width: 100%; /* Ensure input fields do not overflow */
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	box-sizing: border-box; /* Prevent overflow */
}

.input-field:focus, .input-field-boolean:focus {
	border-color: #007bff;
	outline: none;
}

/* Centered Login Container */
.login-container {
	width: 100%;
	max-width: 400px;
	margin: 100px auto; /* Centers vertically */
	padding: 30px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

/* Center Login Title */
.login-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: bold;
}

/* Centered Form */
.login-form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Form Input Fields */
.login-field {
	width: 100%;
	text-align: center;
	padding: 12px;
	margin-bottom: 15px;
	margin-top: 5px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	box-sizing: border-box;
}

.input-field-cal {
	margin-left: 20px;
	margin-right: 20px;
}

/* Buttons */
.btn, .btn-remove {
	background-color: #2196f3 !important;
	color: white !important;
	padding: 12px 20px;
	border: none;
	cursor: pointer;
	border-radius: 8px;
	font-size: 16px;
	transition: background-color 0.3s;
	margin-right: 10px;
	gap: 20px;
}

.btn:hover, .btn-quantity-add:hover {
	background-color: #0d82e1 !important;
	text-align: center !important;
	line-height: normal !important;
}

.btn-remove, .btn-quantity-sub {
	background-color: #ff9800 !important;
	border: 2px solid #ff9800 !important;
	text-align: center !important;
	line-height: normal !important;
}

.btn-remove:hover, .btn-quantity-sub:hover {
	background-color: #e38800 !important;
	border: 2px solid #ff9800 !important;
}

.quantity-control {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px; /* Abstand zwischen den Elementen */
}

body .ui-button.ui-button-text-icon-left .ui-icon {
	left: 0.4rem
}

/* Data Table */
.data-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.data-table th, .data-table td {
	border: 1px solid #ddd;
	padding: 12px;
	text-align: left;
	font-size: 16px;
}

.data-table th {
	background-color: #f2f2f2;
}

.data-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

.data-table tr:hover {
	background-color: #f1f1f1;
}

/* Footer */
footer {
	background-color: #333;
	color: white;
	padding: 15px;
	text-align: center;
	margin-top: 40px;
}

.footer a {
	color: white;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

h1 a {
	color: white;
	text-decoration: none;
}
/* Header and Tab Sections */
h2, h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #333;
	font-weight: bold;
}

h2 {
	margin-top: 0;
}

/* Container for Inputs and Buttons */
h:form {
	max-width: 100%; /* Ensure it doesn't exceed container width */
	margin: 0 auto;
	padding: 0 15px; /* Add some padding inside */
	box-sizing: border-box; /* Prevent overflow */
}

.panel-grid-header, .panel-grid-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* Sicherstellen, dass die Spalten gleichmäßig verteilt werden */
	gap: 10px;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.panel-grid-header {
	font-weight: bold;
	background-color: #f2f2f2;
}

.panel-grid-row {
	gap: 15px;
}

.panel-grid-header-three, .panel-grid-row-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* Sicherstellen, dass die Spalten gleichmäßig verteilt werden */
	gap: 10px;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.panel-grid-header-three {
	font-weight: bold;
	background-color: #f2f2f2;
}

.panel-grid-row-three {
	gap: 15px;
}

.panel-header-item, .panel-item {
	padding: 5px;
	font-size: 16px;
	text-align: center; /* Text wird zentriert */
}

.panel-grid-header-five, .panel-grid-row-five {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	/* Sicherstellen, dass die Spalten gleichmäßig verteilt werden */
	gap: 10px;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.panel-grid-header-five {
	font-weight: bold;
	background-color: #f2f2f2;
}

.panel-grid-row-five {
	gap: 15px;
}

.panel-grid-header-meal, .panel-grid-row-meal {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	/* Sicherstellen, dass die Spalten gleichmäßig verteilt werden */
	gap: 10px;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.panel-grid-header-meal {
	font-weight: bold;
	background-color: #f2f2f2;
}

.panel-grid-header-seven, .panel-grid-row-seven {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 5px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

.panel-grid-header-seven {
	font-weight: bold;
	background-color: #f2f2f2;
}

.panel-grid-row-meal, .panel-grid-header-seven {
	gap: 15px;
}

/* Error Message */
.error-message {
	color: #ff9800;
	margin-top: 10px;
}

.weekplan-message {
	color: #ff9800;
	margin-top: 10px;
}

.info-message {
	color: #2196f3;
	margin-top: 10px;
}

.quantity-control {
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn-quantity-add {
	background-color: #2196f3;
	color: white;
	width: 30px;
	height: 30px;
	text-align: center;
	font-size: 16px;
	border: none;
	border-radius: 8px;
}

.btn-quantity-sub {
	color: white;
	width: 30px;
	height: 30px;
	font-size: 16px;
	text-align: center;
	border-radius: 8px;
}

.impressum-content, .datenschutz-content {
	width: 80%;
	margin: 0 auto;
	text-align: left;
}

.cookie-popup {
	position: fixed;
	display: block; /* Standardmäßig sichtbar */
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #333;
	color: white;
	padding: 10px;
	text-align: center;
	z-index: 9999;
}

.cookie-popup-content {
	max-width: 800px;
	margin: 0 auto;
}

.cookie-accept-button {
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
}

.cookie-accept-button:hover {
	background-color: #2196f3;
}

.cookie-popup.hidden {
	display: none; /* Versteckt das Popup */
}

.error-message ul {
	list-style-type: none; /* Entfernt die Aufzählungspunkte */
	padding: 0;
	margin: 0;
}

.error-message li {
	display: block; /* Zeigt die Meldungen inline an */
	margin-right: 10px; /* Fügt Abstand zwischen Meldungen hinzu */
}

.info-message ul {
	list-style-type: none; /* Entfernt die Aufzählungspunkte */
	padding: 0;
	margin: 0;
}

.info-message li {
	display: block; /* Zeigt die Meldungen inline an */
	margin-right: 10px; /* Fügt Abstand zwischen Meldungen hinzu */
}

.chat-window {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    position: fixed;
    bottom: 0;
    right: 0px;
    max-height: 400px;
    max-width:700 px;
    background: white;
    border: 1px solid #ccc;
}

.chat-header {
    background: white;
    color: white;
    text-align: center;
    font-weight: bold;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;
    max-width:500px;
    flex-direction: column-reverse;
}

body .ui-datalist .ui-datalist-content{
	padding: 0;
	flex-direction: column-reverse;
}

body .ui-datalist .ui-datalist-content {
    list-style: none;
}

body .ui-datalist .ui-datalist-content li::marker {
    content: "";
    display: none;
}
body .ui-datalist .ui-datalist-content li {
    display: block !important;
}

body .ui-datalist .ui-datalist-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}



.message {
    max-width: 75%;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 10px;
    flex-direction: column-reverse;
}

.sent {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
}

.received {
    align-self: flex-start;
    background-color: #f1f1f1;
    color: black;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background: white;
}

.chat-input textarea {
    flex-grow: 1;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.send-button {
    margin-left: 10px;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.send-button:hover {
    background: #0056b3;
}

body .ui-menu .ui-menu-list .ui-menu-child{
	background: #2196f3;
}

body .ui-menu .ui-menu-list .ui-menuitem.ui-menuitem-active > .ui-menuitem-link .ui-menuitem-text{
	font-size: 14px;
}

body .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link{
	font-size: 14px;
}