/* Pickup date & time block on the WooCommerce block checkout. */

.jpp-pickup__fields {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
	gap: 16px;
}

.jpp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jpp-field__label {
	font-size: 0.875em;
	font-weight: 600;
}

.jpp-field__select {
	width: 100%;
	min-height: 50px;
	padding: 0 12px;
	border: 1px solid hsla( 0, 0%, 7%, 0.8 );
	border-radius: 4px;
	background-color: #fff;
	color: inherit;
	font: inherit;
	box-sizing: border-box;
}

.jpp-field__select:focus {
	outline: 2px solid currentColor;
	outline-offset: 0;
}

.jpp-field__select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.jpp-field.has-error .jpp-field__select {
	border-color: #cc1818;
}

.jpp-pickup .wc-block-components-validation-error p {
	margin: 0;
}

/* Classic / Breakdance checkout. Fields inherit the theme's .form-row styling. */

.jpp-classic {
	clear: both;
	margin: 24px 0;
}

.jpp-classic .jpp-pickup__fields .form-row {
	width: auto;
	float: none;
	margin: 0;
}

.jpp-classic__note {
	margin: 0 0 12px;
}
