/* Compact structure; appearance and dimensions are editable in Elementor. */
.elementor-widget-good-loc-search { container-type: inline-size; }
:where(.glm-search-form--compact) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1.05fr)) minmax(100px, .5fr);
	gap: 12px;
	align-items: stretch;
}
:where(.glm-search-form--compact) .glm-search-block {
	display: flex;
	align-items: center;
	gap: var(--glm-icon-gap, 10px);
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #d7dadd;
	border-radius: 16px;
	background: #fff;
	color: #202124;
	box-sizing: border-box;
}
:where(.glm-search-form--compact) .glm-search-block-content { flex: 1; min-width: 0; }
:where(.glm-search-form--compact) .glm-search-block-label {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 4px;
	color: #656970;
}
:where(.glm-search-form--compact) .glm-search-date-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--glm-time-width, 83px));
	align-items: center;
}
.glm-search-form.glm-search-form--compact .glm-search-field :is(input, select) {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 30px;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	box-sizing: border-box;
}
.glm-search-form--compact .glm-search-date-controls input[type="time"] {
	border-left: 1px solid var(--glm-divider-color, #d7dadd);
	padding-left: 8px;
	margin-left: 4px;
	width: calc(100% - 4px);
}
:where(.glm-search-form--compact) .glm-search-icon {
	flex: 0 0 var(--glm-icon-size, 22px);
	width: var(--glm-icon-size, 22px);
	height: var(--glm-icon-size, 22px);
	color: var(--glm-icon-color, currentColor);
}
.glm-search-form.glm-search-form--compact .glm-search-field :is(input, select):focus-visible {
	outline: 2px solid var(--glm-focus-color, #2764b0);
	outline-offset: 3px;
}
:where(.glm-search-form--compact) > .glm-search-button { align-self: stretch; }
@media (max-width: 480px) {
	:where(.glm-search-form--compact) { grid-template-columns: minmax(0, 1fr); }
}

/* The native date control already contains a calendar button. */
:where(.glm-search-form--compact) .glm-search-datetime > .glm-search-icon { display: none; }
@container (max-width: 800px) {
 :where(.glm-search-form--compact) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 520px) {
 :where(.glm-search-form--compact) { grid-template-columns: minmax(0, 1fr); }
}
