/*
 * Studio Reserve date search ([studio_reserve_search]).
 * A light panel that reads well on dark or light sections. Themes can change the colours with these variables.
 */
.sr-search {
	--sr-search-bg: #f7f5f0;
	--sr-search-text: #1e1e1e;
	--sr-search-button: #c8a96a;
	--sr-search-button-text: #1e1e1e;
	max-width: 760px;
	margin: 0 auto;
	padding: 22px 24px;
	box-sizing: border-box;
	background: var(--sr-search-bg);
	color: var(--sr-search-text);
	border-radius: 6px;
	text-align: left;
}
/* WordPress may add empty lines inside the shortcode; they must not push the labels away from the fields. */
.sr-search br, .sr-search p:empty { display: none; }
.sr-search .sr-search-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sr-search .sr-search-fields label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; margin: 0; font-size: .9em; font-weight: 600; color: var(--sr-search-text); }
.sr-search .sr-search-fields input,
.sr-search .sr-search-fields select { width: 100%; box-sizing: border-box; min-height: 48px; margin: 0; padding: 8px 12px; border: 1px solid #d8d2c4; border-radius: 4px; background: #fff; color: #1e1e1e; font: inherit; font-weight: 400; }
.sr-search .sr-search-fields select:disabled { background: #f2f2f2; color: #777; }
.sr-search .sr-search-go,
.sr-search .sr-search-go.wp-element-button {
	flex: 0 0 auto;
	min-height: 48px;
	margin: 0;
	padding: 0 30px;
	border: 0;
	border-radius: 4px;
	background: var(--sr-search-button);
	color: var(--sr-search-button-text);
	font: inherit;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transition: transform .1s, box-shadow .1s, filter .1s;
}
.sr-search .sr-search-go:hover,
.sr-search .sr-search-go:focus-visible { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.sr-search .sr-search-msg { margin: 14px 0 0; color: var(--sr-search-text); }
.sr-search .sr-search-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.sr-search .sr-search-item { background: #fff; color: #1e1e1e; border-radius: 4px; padding: 14px 16px; display: grid; gap: 6px; }
.sr-search .sr-search-item.is-taken { opacity: .7; }
.sr-search .sr-search-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sr-search .sr-search-price { font-weight: 700; }
.sr-search .sr-search-when { font-size: .9em; }
.sr-search .sr-search-item.is-free .sr-search-when:first-of-type { color: #1d7a3e; }
.sr-search .sr-search-item.is-taken .sr-search-when { color: #a33; }
.sr-search .sr-search-pro { font-size: .9em; display: flex; gap: 8px; align-items: center; }
.sr-search .sr-search-pro select { min-height: 36px; padding: 4px 8px; border: 1px solid #999; border-radius: 4px; background: #fff; color: #1e1e1e; }
.sr-search .sr-search-book,
.sr-search .sr-search-book.wp-element-button { justify-self: start; padding: 10px 24px; border-radius: 4px; background: var(--sr-search-button); color: var(--sr-search-button-text); font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
	.sr-search { padding: 18px 16px; }
	.sr-search .sr-search-go { width: 100%; }
}
