/* Location Search — same-page filter UI */

.lse-location-search .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lse-location-search {
	max-width: 100%;
	margin-bottom: 1rem;
}

.lse-search-field-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.lse-search-input {
	width: 100%;
	padding: 0.65rem 2.5rem 0.65rem 0.85rem;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

.lse-search-input:focus {
	outline: 2px solid rgba(59, 130, 246, 0.45);
	outline-offset: 1px;
	border-color: rgba(59, 130, 246, 0.5);
}

/*
 * Beat theme rules like button:not(.toggle) { background-color: #e8e8e8; } (0,2,0).
 * Use plugin wrapper + element + class so our backgrounds win.
 */
.lse-location-search .lse-search-field-wrap button.lse-clear-btn {
	position: absolute;
	right: 0.35rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	padding: 0;
	margin: 0;
	border: none;
	background-color: rgba(148, 163, 184, 0.15);
	background-image: none;
	color: #64748b;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.lse-location-search .lse-search-field-wrap button.lse-clear-btn:hover,
.lse-location-search .lse-search-field-wrap button.lse-clear-btn:focus-visible {
	color: #0f172a;
	background-color: rgba(148, 163, 184, 0.28);
	background-image: none;
}

.lse-location-search .lse-search-field-wrap button.lse-clear-btn:focus-visible {
	outline: 2px solid rgba(59, 130, 246, 0.5);
	outline-offset: 2px;
}

.lse-location-search .lse-search-field-wrap button.lse-clear-btn:active {
	transform: translateY(-50%) scale(0.96);
}

.lse-no-results {
	margin: 0.5rem 0 0;
	font-size: 0.95rem;
	color: #64748b;
}

/* Row highlight when matched */
tr.lse-match-highlight {
	background-color: rgb(252 250 251) !important;
	transition: background-color 0.2s ease;
}

tr.lse-row-hidden {
	display: none !important;
}
