/**
 * Frontend-Styles für Libre Bite
 */

/* Standort-Modal */
.lbite-modal {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Checkout-Bereiche */
.lbite-checkout-selection,
.lbite-tip-selection {
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Produkt-Optionen */
.lbite-product-options label {
	transition: all 0.3s;
}

.lbite-product-options label:hover {
	background: #f9f9f9;
}

.lbite-product-options input[type="checkbox"] {
	margin-right: 8px;
}

/* Nährwerttabelle */
.lbite-nutritional-info {
	transition: all 0.3s;
}

.lbite-nutritional-info:hover {
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Allergene */
.lbite-allergens {
	animation: lbite-fade-in 0.3s ease-out;
}

@keyframes lbite-fade-in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media screen and (max-width: 768px) {
	.lbite-modal-content {
		margin: 20px;
		padding: 20px;
		max-height: 90vh;
	}

	.lbite-tip-options {
		flex-direction: column;
	}

	.lbite-tip-option {
		min-width: 100%;
	}
}

/* Loading States */
.lbite-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}

.lbite-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(0,0,0,0.1);
	border-top-color: #0073aa;
	border-radius: 50%;
	animation: lbite-spin 1s linear infinite;
}

@keyframes lbite-spin {
	to { transform: rotate(360deg); }
}

/* Tisch-Info-Box im Checkout */
.lbite-table-info-box {
	background: #e7f5ff;
	border: 1px solid #b3d7ff;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
	color: #004085;
}

.lbite-table-info-flex {
	display: flex;
	align-items: center;
}

.lbite-table-icon {
	margin-right: 10px;
	color: #0073aa;
}
