/*
 * The delivery instructions box.
 *
 * The classic checkout draws its own box with WooCommerce's form markup, so it
 * mostly takes the theme's styling and needs very little here. The Checkout
 * block's box is this plugin's own markup and is matched to the order note box
 * the block already has.
 */
.dinw-delivery-note[hidden] {
	display: none;
}

.dinw-delivery-note__input {
	min-height: 5em;
}

.dinw-note {
	margin: 1.25em 0;
}

.dinw-note__label {
	display: block;
	margin: 0 0 0.5em;
	font-weight: 600;
}

.dinw-note__optional {
	font-weight: 400;
	opacity: 0.7;
}

.dinw-note__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 5em;
	resize: vertical;
}

.dinw-note__help {
	margin: 0.5em 0 0;
	font-size: 0.875em;
	opacity: 0.8;
}

.dinw-note__error {
	margin: 0.5em 0 0;
	color: #cc1818;
	font-size: 0.875em;
}

.dinw-note.has-error .dinw-note__input {
	border-color: #cc1818;
}

.dinw-order-note {
	margin: 0 0 2em;
}

.dinw-order-note__text {
	margin: 0;
	overflow-wrap: anywhere;
}
