.asa-oc-search-bar {
	position: relative;
	width: 100%;
}

.asa-oc-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	background: #f4f5f7;
	border: 0;
	border-radius: 5px;
	box-sizing: border-box;
}

.asa-oc-search-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-family: "Lato", sans-serif;
	font-size: 15px;
	line-height: 1.4;
	color: #111827;
	background: transparent;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

.asa-oc-search-input::-webkit-search-decoration,
.asa-oc-search-input::-webkit-search-cancel-button,
.asa-oc-search-input::-webkit-search-results-button {
	-webkit-appearance: none;
	appearance: none;
}

.asa-oc-search-input::placeholder {
	color: #b0b8c1;
}

.asa-oc-search-input:focus,
.asa-oc-search-form:focus-within {
	outline: none;
	background: #f4f5f7;
	box-shadow: none;
}

.asa-oc-search-input:focus {
	background: transparent;
}

.asa-oc-search-suggestions {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 30;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.asa-oc-search-suggestions[hidden] {
	display: none;
}

.asa-oc-search-suggestion {
	display: block;
	padding: 12px 16px;
	font-size: 14px;
	color: #111827;
	text-decoration: none;
	border-bottom: 1px solid #f3f4f6;
}

.asa-oc-search-suggestion:last-child {
	border-bottom: 0;
}

.asa-oc-search-suggestion:hover,
.asa-oc-search-suggestion.is-active {
	background: #f9fafb;
	color: #32a9e0;
}

.asa-oc-browse {
	position: relative;
	display: inline-block;
	z-index: 100;
}

.elementor-widget-online_classes_browse,
.elementor-widget-online_classes_browse .elementor-widget-container,
.elementor-widget-online_classes_search_bar,
.elementor-widget-online_classes_search_bar .elementor-widget-container {
	overflow: visible !important;
}

.asa-oc-browse-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: #fff;
	background-color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	color: #000;
	box-shadow: none;
}

.asa-oc-browse-toggle:hover,
.asa-oc-browse-toggle:focus,
.asa-oc-browse-toggle:active,
.asa-oc-browse--hover:hover .asa-oc-browse-toggle,
.asa-oc-browse.is-open .asa-oc-browse-toggle {
	background: #fff !important;
	background-color: #fff !important;
	border: 0 !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: #000;
}

.asa-oc-browse-chevron {
	display: inline-block;
	width: 10px;
	height: 10px;
    border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.asa-oc-browse.is-open .asa-oc-browse-chevron {
	transform: rotate(-135deg) translateY(2px);
}

/* Invisible bridge so hover stays active between button and panel */
.asa-oc-browse--hover::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 12px;
}

.asa-oc-browse-panel {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 9999;
	min-width: 320px;
	max-width: 360px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.asa-oc-browse--hover:hover .asa-oc-browse-panel,
.asa-oc-browse.is-open .asa-oc-browse-panel,
.asa-search-results-filter-browse.asa-oc-browse--hover:focus-within .asa-oc-browse-panel {
	display: block;
}

.asa-oc-browse--hover:hover .asa-oc-browse-chevron,
.asa-oc-browse.is-open .asa-oc-browse-chevron,
.asa-search-results-filter-browse.asa-oc-browse--hover:focus-within .asa-oc-browse-chevron {
	transform: rotate(-135deg) translateY(2px);
}

.asa-oc-browse-heading {
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.asa-oc-browse-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.asa-oc-browse-list li + li {
	margin-top: 2px;
}

.asa-oc-browse-list a {
	display: block;
	padding: 8px 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
	text-decoration: none;
}

.asa-oc-browse-list a:hover {
	color: #32a9e0;
}

.asa-oc-browse-list .asa-oc-browse-option {
	display: block;
	width: 100%;
	padding: 8px 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.asa-oc-browse-list .asa-oc-browse-option:hover,
.asa-oc-browse-list .asa-oc-browse-option:focus {
	color: #32a9e0;
	background: transparent;
	outline: none;
}

.asa-oc-browse-list .asa-oc-browse-option[aria-current="true"] {
	color: #32a9e0;
}

.asa-search-results-filter-browse .asa-oc-browse-option {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.asa-search-results-filter-check {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border: 2px solid #d1d5db;
	border-radius: 3px;
	box-sizing: border-box;
	position: relative;
}

.asa-search-results-filter-browse .asa-oc-browse-option.is-selected .asa-search-results-filter-check {
	border-color: #32a9e0;
	background: #32a9e0;
}

.asa-search-results-filter-browse .asa-oc-browse-option.is-selected .asa-search-results-filter-check::after {
	content: '';
	position: absolute;
	top: 1px;
	left: 4px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.asa-search-results-filter-browse .asa-oc-browse-option.is-selected {
	color: #32a9e0;
}

@media (max-width: 767px) {
	.asa-oc-browse-panel {
		left: auto;
		right: 0;
		min-width: 280px;
	}
}
