/**
 * Charitable Fundraiser Search Styles
 *
 * @package   Charitable Fundraiser Search
 * @since     1.0.0
 */

/* Search Wrapper */
.charitable-fundraiser-search-wrapper {
	margin: 20px 0;
}

.charitable-fundraiser-search-wrapper .charitable-fundraiser-search-field {
	width: 100%;
	min-width: 300px;
}

/* Filter Buttons */
.charitable-fundraiser-search-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.charitable-fundraiser-search-filter {
	padding: 8px 16px;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	font-size: 14px;
}

.charitable-fundraiser-search-filter:hover {
	background: #e0e0e0;
	border-color: #bbb;
}

.charitable-fundraiser-search-filter.active {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

/* Search Results */
.charitable-fundraiser-search-result {
	padding: 5px 0;
}

.charitable-fundraiser-search-result .fundraiser-name {
	display: block;
}

.charitable-fundraiser-search-result .fundraiser-name.fundraiser-type-team {
	font-weight: 600;
}

.charitable-fundraiser-search-result .fundraiser-name.fundraiser-type-team-member {
	font-style: italic;
}

/* Select2 Customization */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #0073aa;
}

.select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 36px;
	padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 36px;
	right: 10px;
}

/* Responsive */
@media ( max-width: 768px ) {
	.charitable-fundraiser-search-wrapper .charitable-fundraiser-search-field {
		min-width: 100%;
	}

	.charitable-fundraiser-search-filters {
		flex-direction: column;
	}

	.charitable-fundraiser-search-filter {
		width: 100%;
		text-align: center;
	}
}

