/* WTM Live Search Dropdown — live-search.css */

.wtm-search-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	z-index: 9999;
	overflow: hidden;
	max-height: 480px;
	overflow-y: auto;
}

.wtm-search-dropdown.is-open {
	display: block;
}

/* Group label */
.wtm-search-group {
	padding: 8px 0 4px;
}

.wtm-search-group + .wtm-search-group {
	border-top: 1px solid #f0f0f0;
}

.wtm-search-group-label {
	padding: 4px 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #999;
}

/* Result row */
.wtm-search-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px;
	text-decoration: none;
	color: inherit;
	transition: background 0.1s;
}

.wtm-search-result:hover {
	background: #f7f7f7;
	text-decoration: none;
	color: inherit;
}

.wtm-search-result__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wtm-search-result__title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wtm-search-result__sub {
	font-size: 12px;
	color: #777;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wtm-search-result__type {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 2px 7px;
	border-radius: 20px;
	flex-shrink: 0;
	margin-left: 10px;
}

.wtm-search-result--artist .wtm-search-result__type {
	background: #e8f4fd;
	color: #1a73e8;
}

.wtm-search-result--venue .wtm-search-result__type {
	background: #e6f4ea;
	color: #1e7e34;
}

.wtm-search-result--event .wtm-search-result__type {
	background: #fce8e6;
	color: #d93025;
}

/* Loading state */
.wtm-search-loading {
	padding: 14px 16px;
	font-size: 13px;
	color: #999;
}

/* Empty state */
.wtm-search-empty {
	padding: 14px 16px;
	font-size: 13px;
	color: #555;
}

/* See all link */
.wtm-search-see-all {
	display: block;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #E63946;
	text-decoration: none;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
	transition: background 0.1s;
}

.wtm-search-see-all:hover {
	background: #f0f0f0;
	text-decoration: none;
	color: #E63946;
}