/**
 * BeBond AI Search Shortcode Styles
 */

.bebond-search-container {
	max-width: 1200px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Search Form */
.bebond-search-form {
	display: flex;
	gap: 8px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bebond-search-input-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
}

.bebond-search-icon {
	width: 20px;
	height: 20px;
	color: #666;
	flex-shrink: 0;
}

.bebond-search-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 16px;
	padding: 8px 0;
	background: transparent;
}

.bebond-search-input::placeholder {
	color: #999;
}

.bebond-search-button {
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.bebond-search-button:hover {
	background: #1d4ed8;
}

.bebond-search-button:disabled {
	background: #93c5fd;
	cursor: not-allowed;
}

/* BEB-119: Filter Controls */
.bebond-search-filters {
	display: flex;
	gap: 16px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.bebond-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 150px;
	flex: 1;
	max-width: 250px;
}

.bebond-filter-label {
	font-size: 12px;
	font-weight: 500;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bebond-filter-select {
	padding: 10px 32px 10px 12px;
	font-size: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") right 12px center no-repeat;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.bebond-filter-select:hover {
	border-color: #2563eb;
}

.bebond-filter-select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Loading State - Overlay style for better visibility */
.bebond-search-loading {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.85);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
	z-index: 9999;
	color: #333;
	font-size: 16px;
	font-weight: 500;
}

.bebond-search-loading[style*="display: flex"] {
	display: flex !important;
}

.bebond-search-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #e5e7eb;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: bebond-spin 0.8s linear infinite;
}

@keyframes bebond-spin {
	to { transform: rotate(360deg); }
}

/* Alternative: Inline loading (non-overlay) for results area */
.bebond-search-loading-inline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px 24px;
	color: #666;
	background: #f9fafb;
	border-radius: 8px;
	margin: 16px 0;
}

/* BEB-159: Loading state for select dropdowns */
.bebond-filter-select.bebond-loading {
	opacity: 0.6;
	cursor: wait;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23999' stroke-width='2' fill='none' stroke-dasharray='31.4' stroke-dashoffset='31.4'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
}

/* Results */
.bebond-search-results {
	margin-top: 16px;
}

.bebond-search-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e0e0e0;
}

.bebond-search-results-count {
	font-size: 14px;
	color: #666;
}

.bebond-search-clear {
	background: none;
	border: none;
	color: #2563eb;
	font-size: 14px;
	cursor: pointer;
	padding: 4px 8px;
}

.bebond-search-clear:hover {
	text-decoration: underline;
}

.bebond-search-results-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 0;
}

/* Result Item */
.bebond-search-result {
	display: flex;
	gap: 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: box-shadow 0.2s;
}

.bebond-search-result:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bebond-search-result-thumbnail {
	width: 80px;
	height: 80px;
	border-radius: 6px;
	object-fit: cover;
	background: #f0f0f0;
	flex-shrink: 0;
}

.bebond-search-result-content {
	flex: 1;
	min-width: 0;
}

.bebond-search-result-title {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 4px 0;
	text-decoration: none;
}

.bebond-search-result-title:hover {
	color: #2563eb;
}

.bebond-search-result-excerpt {
	font-size: 14px;
	color: #666;
	margin: 0 0 8px 0;
	line-height: 1.5;
}

.bebond-search-result-meta {
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: #999;
}

.bebond-search-result-category {
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 4px;
}

/* No Results */
.bebond-search-no-results {
	text-align: center;
	padding: 32px;
	color: #666;
}

/* Error Message */
.bebond-search-error-message {
	padding: 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #dc2626;
	margin-top: 16px;
}

.bebond-search-error {
	padding: 16px;
	background: #fef3c7;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	color: #92400e;
}

/* Grid Layout */
.bebond-layout-grid .bebond-search-results-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.bebond-layout-grid .bebond-search-result {
	flex-direction: column;
}

.bebond-layout-grid .bebond-search-result-thumbnail {
	width: 100%;
	height: 160px;
}

/* Compact Style */
.bebond-style-compact .bebond-search-result {
	padding: 12px;
	gap: 12px;
}

.bebond-style-compact .bebond-search-result-thumbnail {
	width: 60px;
	height: 60px;
}

.bebond-style-compact .bebond-search-result-title {
	font-size: 14px;
}

.bebond-style-compact .bebond-search-result-excerpt {
	font-size: 12px;
	margin: 0;
}

/* Detailed Style */
.bebond-style-detailed .bebond-search-result {
	padding: 20px;
}

.bebond-style-detailed .bebond-search-result-thumbnail {
	width: 120px;
	height: 120px;
}

.bebond-style-detailed .bebond-search-result-excerpt {
	font-size: 15px;
	line-height: 1.6;
}

/* No thumbnail variant */
.bebond-no-thumbnail {
	padding-left: 16px;
}

/* Score badge */
.bebond-search-result-score {
	background: #dbeafe;
	color: #1d4ed8;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 500;
}

/* Placeholder thumbnail */
.bebond-search-result-thumbnail-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e5e7eb;
}

.bebond-search-result-thumbnail-placeholder::before {
	content: '';
	width: 32px;
	height: 32px;
	background: #9ca3af;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* GeoDirectory Fields */
.bebond-search-result-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 8px 0;
	font-size: 13px;
}

.bebond-search-result-field {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #4b5563;
}

.bebond-field-icon {
	width: 14px;
	height: 14px;
	color: #9ca3af;
	flex-shrink: 0;
}

.bebond-field-value {
	color: #374151;
}

.bebond-field-value a {
	color: #2563eb;
	text-decoration: none;
}

.bebond-field-value a:hover {
	text-decoration: underline;
}

/* Star Rating */
.bebond-stars {
	display: inline-flex;
	gap: 1px;
}

.bebond-star {
	color: #fbbf24;
	font-size: 14px;
	line-height: 1;
}

.bebond-star-empty {
	color: #d1d5db;
}

.bebond-star-half {
	background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Logo style (rounded) */
.bebond-search-result-thumbnail.bebond-logo {
	border-radius: 8px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 4px;
}

/* Detailed style fields */
.bebond-style-detailed .bebond-search-result-fields {
	margin: 12px 0;
	font-size: 14px;
}

.bebond-style-detailed .bebond-field-icon {
	width: 16px;
	height: 16px;
}

/* Compact style fields */
.bebond-style-compact .bebond-search-result-fields {
	margin: 4px 0;
	font-size: 12px;
	gap: 4px 12px;
}

.bebond-style-compact .bebond-field-icon {
	width: 12px;
	height: 12px;
}

/* Grid layout fields */
.bebond-layout-grid .bebond-search-result-fields {
	flex-direction: column;
	gap: 6px;
}

/* Address field - allow wrapping */
.bebond-field-address .bebond-field-value {
	word-break: break-word;
}

/* Combined location display */
.bebond-field-city + .bebond-field-region {
	margin-left: -8px;
}

.bebond-field-city + .bebond-field-region::before {
	content: ', ';
	color: #9ca3af;
}

/* BEB-122: Near Me Button */
.bebond-near-me-group {
	display: flex;
	flex-direction: column;
}

.bebond-near-me-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.bebond-near-me-btn:hover:not(:disabled) {
	background: #f9fafb;
	border-color: #9ca3af;
}

.bebond-near-me-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bebond-near-me-btn.bebond-near-me-active {
	background: #eff6ff;
	border-color: #3b82f6;
	color: #1d4ed8;
}

.bebond-near-me-btn.bebond-near-me-active:hover:not(:disabled) {
	background: #dbeafe;
}

.bebond-near-me-btn.bebond-near-me-loading .bebond-near-me-icon {
	animation: bebond-spin 1s linear infinite;
}

@keyframes bebond-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.bebond-near-me-icon {
	flex-shrink: 0;
}

/* BEB-122: Distance Filter Dropdown */
.bebond-distance-group {
	min-width: 140px;
}

.bebond-distance-filter {
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
	width: 100%;
}

.bebond-distance-filter:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
	.bebond-search-form {
		flex-direction: column;
	}

	.bebond-search-button {
		width: 100%;
	}

	/* BEB-119: Filter responsive */
	.bebond-search-filters {
		flex-direction: column;
		gap: 12px;
	}

	.bebond-filter-group {
		max-width: none;
	}

	.bebond-search-result {
		flex-direction: column;
	}

	.bebond-search-result-thumbnail {
		width: 100%;
		height: 160px;
	}

	.bebond-layout-grid .bebond-search-results-list {
		grid-template-columns: 1fr;
	}

	.bebond-search-result-fields {
		flex-direction: column;
		gap: 6px;
	}
}

/* BEB-151: Pagination */
.bebond-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid #e5e7eb;
	margin-top: 16px;
}

.bebond-pagination-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	transition: all 0.15s ease;
}

.bebond-pagination-btn:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.bebond-pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f9fafb;
}

.bebond-pagination-info {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
}

/* BEB-151: Default message styling */
.bebond-default-message {
	color: #6b7280;
	font-size: 15px;
}

/* Pagination responsive */
@media (max-width: 600px) {
	.bebond-pagination {
		flex-wrap: wrap;
		gap: 12px;
	}

	.bebond-pagination-btn {
		padding: 8px 16px;
		font-size: 13px;
	}

	.bebond-pagination-info {
		width: 100%;
		text-align: center;
		order: -1;
	}
}

/* BEB-176: Browse pagination (unified styling with search pagination) */
.bebond-search-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid #e5e7eb;
	margin-top: 16px;
	flex-wrap: wrap;
}

.bebond-search-pagination .bebond-pagination-info {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
}

.bebond-search-pagination .bebond-pagination-buttons {
	display: flex;
	gap: 8px;
}

.bebond-search-pagination button {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	transition: all 0.15s ease;
}

.bebond-search-pagination button:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.bebond-search-pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f9fafb;
}

/* BEB-176: Browse pagination responsive */
@media (max-width: 600px) {
	.bebond-search-pagination {
		flex-direction: column;
		gap: 12px;
	}

	.bebond-search-pagination button {
		padding: 12px 24px;
		font-size: 16px;
		min-height: 44px;
		width: 100%;
		justify-content: center;
	}

	.bebond-search-pagination .bebond-pagination-info {
		order: -1;
	}

	.bebond-search-pagination .bebond-pagination-buttons {
		width: 100%;
		flex-direction: column;
	}
}

/* BEB-176: GeoDirectory Archive Item Styles within BeBond Search */
.bebond-search-results-list .bebond-gd-item {
	margin-bottom: 0;
}

.bebond-search-results-list .geodir-loop-container {
	width: 100%;
}

/* Ensure GD cards display correctly in our container */
.bebond-search-results-list .geodir-loop-container .row {
	margin: 0;
}

.bebond-search-results-list .geodir-loop-container .card {
	width: 100%;
	max-width: 100%;
	flex-direction: row;
	margin-bottom: 16px;
}

/* GD card image */
.bebond-search-results-list .geodir-loop-container .card .geodir-post-slider,
.bebond-search-results-list .geodir-loop-container .card .geodir-image {
	flex-shrink: 0;
	width: 150px;
	max-width: 150px;
}

.bebond-search-results-list .geodir-loop-container .card .geodir-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* GD card body */
.bebond-search-results-list .geodir-loop-container .card .card-body {
	flex: 1;
	padding: 16px;
}

/* GD card title */
.bebond-search-results-list .geodir-loop-container .card .geodir-entry-title {
	margin: 0 0 8px 0;
	font-size: 18px;
}

/* GD card excerpt */
.bebond-search-results-list .geodir-loop-container .card .geodir-entry-excerpt {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

/* GD card meta */
.bebond-search-results-list .geodir-loop-container .card .geodir-post-meta {
	font-size: 14px;
}

/* Mobile: Stack card vertically */
@media (max-width: 600px) {
	.bebond-search-results-list .geodir-loop-container .card {
		flex-direction: column;
	}

	.bebond-search-results-list .geodir-loop-container .card .geodir-post-slider,
	.bebond-search-results-list .geodir-loop-container .card .geodir-image {
		width: 100%;
		max-width: 100%;
		height: 200px;
	}
}

/* BEB-176: Remove bullet dots from listing items */
/* GD templates have nested ul/li structure that shows default bullets */
/* Target all possible list elements within search results with high specificity */
/* CRITICAL: Also set display:block to completely disable list-item marker rendering */
.bebond-search-container ul,
.bebond-search-container ol,
.bebond-search-container li,
.bebond-search-results ul,
.bebond-search-results ol,
.bebond-search-results li,
.bebond-search-results-list ul,
.bebond-search-results-list ol,
.bebond-search-results-list li,
.bebond-search-results-list > li,
.bebond-search-results > ul > li,
.bebond-search-results-list > ul > li,
.bebond-search-results-list li.geodir-post {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	display: block !important;
}

/* Extra specificity for stubborn theme styles */
.bebond-search-container .bebond-search-results-list li::before,
.bebond-search-container .bebond-search-results-list li::marker,
.bebond-search-results-list li.geodir-post::before,
.bebond-search-results-list li.geodir-post::marker {
	content: none !important;
	display: none !important;
}

/* BEB-176: WPAPPS Theme Archive Item Styles */
/* Fix layout for sites using wpapps theme custom templates */
/* Need .vr class for higher specificity than theme's .wpapps-archive-item.vr inline styles */
/* CRITICAL: Bootstrap/AyeCode UI .vr class sets width:1px for vertical dividers - must override! */
.bebond-search-results .wpapps-archive-item.vr {
	display: flex !important;
	flex-direction: row !important;
	grid-template-columns: none !important;
	width: 100% !important;  /* Override Bootstrap .vr { width: 1px } */
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 16px;
	background: #fff;
	gap: 16px;
}

/* Image column - fixed width */
.bebond-search-results .wpapps-archive-item.vr .wpapps-col-first {
	flex: 0 0 120px !important;
	width: 120px !important;
	max-width: 120px !important;
}

.bebond-search-results .wpapps-archive-item.vr .wpapps-col-first .wpapps-logo {
	width: 100% !important;
}

.bebond-search-results .wpapps-archive-item.vr .wpapps-col-first img {
	width: 100% !important;
	height: auto !important;
	border-radius: 4px;
}

/* Metadata column - flexible */
.bebond-search-results .wpapps-archive-item.vr .wpapps-col-second {
	flex: 1 1 200px !important;
	min-width: 180px !important;
}

/* Description column - flexible width, NOT squeezed */
.bebond-search-results .wpapps-archive-item.vr .wpapps-col-third {
	flex: 2 1 300px !important;
	min-width: 200px !important;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* Mobile: Stack columns vertically */
@media (max-width: 768px) {
	.bebond-search-results .wpapps-archive-item.vr {
		flex-direction: column !important;
		gap: 12px;
	}

	.bebond-search-results .wpapps-archive-item.vr .wpapps-col-first {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.bebond-search-results .wpapps-archive-item.vr .wpapps-col-second,
	.bebond-search-results .wpapps-archive-item.vr .wpapps-col-third {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
	}
}

/* ===============================================
   BEB-176: Select2 Styling for Filter Dropdowns
   =============================================== */

/* Container styling */
.bebond-filter-group .select2-container {
	width: 100% !important;
}

/* Selection box styling */
.bebond-filter-group .select2-container--default .select2-selection--single {
	height: 42px;
	padding: 6px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background-color: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.bebond-filter-group .select2-container--default .select2-selection--single:hover {
	border-color: #2563eb;
}

.bebond-filter-group .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

.bebond-filter-group .select2-container--default.select2-container--open .select2-selection--single {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Selected text styling */
.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #333;
	font-size: 14px;
	line-height: 28px;
	padding-left: 0;
	padding-right: 24px;
}

/* Placeholder styling */
.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #999;
}

/* Arrow styling */
.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px;
	width: 24px;
	right: 8px;
}

.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #666 transparent transparent transparent;
	border-width: 5px 4px 0 4px;
}

.bebond-filter-group .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #666 transparent;
	border-width: 0 4px 5px 4px;
}

/* Clear button styling */
.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__clear {
	color: #999;
	font-size: 16px;
	font-weight: normal;
	margin-right: 4px;
	cursor: pointer;
}

.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__clear:hover {
	color: #dc2626;
}

/* Dropdown styling */
.select2-container--default .select2-dropdown {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.select2-container--default .select2-dropdown--below {
	border-top: 1px solid #e0e0e0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.select2-container--default .select2-dropdown--above {
	border-bottom: 1px solid #e0e0e0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* Search box in dropdown */
.select2-container--default .select2-search--dropdown {
	padding: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	padding: 8px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
	outline: none;
}

/* Results list */
.select2-container--default .select2-results__options {
	max-height: 280px;
}

.select2-container--default .select2-results__option {
	padding: 12px 14px !important;
	padding-left: 14px !important;
	font-size: 14px;
	line-height: 1.4;
	transition: background-color 0.1s;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #2563eb;
	color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
	background-color: #f0f7ff;
	color: #2563eb;
}

/* No results message */
.select2-container--default .select2-results__message {
	padding: 10px 12px;
	color: #999;
	font-size: 14px;
}

/* Disabled state */
.bebond-filter-group .select2-container--default.select2-container--disabled .select2-selection--single {
	background-color: #f5f5f5;
	cursor: not-allowed;
	border-color: #e0e0e0;
}

.bebond-filter-group .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
	color: #999;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.bebond-filter-group .select2-container--default .select2-selection--single {
		height: 44px;
		padding: 8px 12px;
	}

	.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__rendered {
		line-height: 26px;
	}

	.bebond-filter-group .select2-container--default .select2-selection--single .select2-selection__arrow {
		height: 42px;
	}
}

/* BEB-176: Filter prompt message (A) */
.bebond-search-prompt {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

.bebond-search-prompt p {
	margin: 0;
	font-size: 16px;
	color: #555;
}

.bebond-search-prompt strong {
	color: #333;
}
