/*
 * Nashenski Commerce: the quick order form (assets/js/quick-order.js), shown as a dialog, a side
 * panel or inline under the button.
 */
.nashenski-quick-order {
	border: 0;
	border-radius: 8px;
	padding: 24px;
	width: min(440px, 92vw);
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	background: #fff;
}

.nashenski-quick-order::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.nashenski-quick-order label {
	display: block;
}

.nashenski-quick-order input:not([type=checkbox]),
.nashenski-quick-order textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
}

.nashenski-quick-order h2 {
	margin: 0 0 8px;
}

.nashenski-quick-order-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: flex-start;
	margin-top: 12px;
}

.nashenski-quick-order--inline {
	position: static;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.12);
	width: auto;
	margin: 8px 0;
}

.nashenski-quick-order--side {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: min(440px, 92vw);
	max-height: none;
	border-radius: 0;
	z-index: 100000;
	overflow: auto;
}

.nashenski-quick-order__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 99999;
}
