/*
   CSS styling examples for the Vaadin app.
   Visit https://vaadin.com/docs/flow/theme/theming-overview.html and
   https://vaadin.com/themes/lumo for more information.
*/
html, body {
	overscroll-behavior: none;
}

/* @media print {
	body {
		visibility: hidden;
	}
	.section-to-print {
		visibility: visible;
		position: absolute;
		left: 0;
		top: 0;
	}
	.print-only {
		display: flex !important;
	}
	.no-print {
		display: none;
	}
	.order-item-list vaadin-item {
		border: none !important;
	}
}

.print-only {
	display: none;
} */
hr {
	display: block;
	height: 1px;
	background: transparent;
	width: 100%;
	border: none;
	border-top: solid 1px DarkGray;
}

.menu-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	max-width: 1200px;
	margin: 0 auto;
	gap: 16px;
}

.menu-item {
	flex: 0 1 calc(50% - 16px);
	box-sizing: border-box;
}

@media ( max-width : 600px) {
	.menu-item {
		flex: 1 1 100%;
	}
	.custom-mobile-popup {
		width: 80vw !important; /* Width set to 90% of the viewport width */
		max-width: none; /* Remove any maximum width constraint */
		left: 50% !important; /* Center horizontally */
		transform: translateX(-50%); /* Offset to truly center horizontally */
		top: 50px; /* Position 50px from the top */
		overflow: hidden; /* Prevent overflow */
	}
	.order-mobile-popup {
		max-width: 90%;
	}
	.order-mobile-inside-popup {
		max-width: 100%;
	}
	.schedule-mobile-pickup-popup {
		max-width: 100%;
	}
}

/* Hides the component when the screen width is 768px or less */
@media ( max-width : 767px) {
	.hide-on-mobile {
		display: none !important;
	}
}

/* Hide on desktop (768px and up) */
@media ( min-width : 768px) {
	body .hide-on-desktop {
		display: none;
	}
	.scan-confirm-desktop {
		max-width: 40%;
	}
}

/* CSS for a rounder and more centered Select component */
.custom-select {
	width: 60px; /* Adjust width as needed */
	height: 40px;
	border-radius: 20px; /* Increase the radius to make it rounder */
	background-color: #eeeeee; /* Matches the gray background */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 16px;
	font-weight: bold;
	color: #333; /* Text color */
}

.custom-select::part(input-field) {
	border: none;
	background-color: transparent;
	padding: 0;
	text-align: center; /* Center-align text */
	display: flex;
	justify-content: center;
	align-items: center;
}

.custom-select::part(value) {
	padding: 0; /* Remove any padding on the value part */
	margin: auto; /* Center the value text */
	text-align: center;
}

.custom-select::part(toggle-button) {
	color: #333; /* Dropdown arrow color */
	position: absolute;
	right: 8px; /* Position to the right with spacing */
	top: 50%; /* Center vertically */
	transform: translateY(-50%); /* Adjust for vertical centering */
	font-size: 18px; /* Slightly larger arrow */
}

.custom-select::part(input-field) {
	padding-right: 25px; /* Adds space for the toggle button */
	display: flex;
	justify-content: center;
	align-items: center;
}