.bv3-search-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 60px 0 80px
}

.bv3-search-hero {
	max-width: 1080px;
	margin-bottom: 55px
}

.bv3-search-hero h1 {
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.35;
	letter-spacing: -1px;
	margin: 0 0 18px
}

.bv3-search-hero > p:not(.bv3-kicker) {
	color: var(--bv3-muted);
	font-size: 14px;
	line-height: 2.2
}

.bv3-search-box {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
	padding: 6px 6px 6px 16px;
	border: 1px solid var(--bv3-line);
	border-radius: 15px;
	background: var(--bv3-surface);
	box-shadow: 0 15px 35px rgba(25, 82, 108, .08)
}

.bv3-search-box i {
	font-size: 22px;
	color: var(--bv3-blue);
	flex: none
}

.bv3-search-box input {
	min-width: 0;
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--bv3-ink);
	font: inherit;
	font-size: 13px;
	padding: 8px
}

.bv3-search-box input:focus-visible {
	outline: 2px solid var(--bv3-blue);
	outline-offset: 2px;
	border-radius: 5px
}

.bv3-search-box .app-btn2 {
	flex: none
}

.bv3-search-hint {
	min-height: 24px;
	color: var(--bv3-muted);
	font-size: 11px;
	margin: 10px 4px
}

.bv3-search-filters {
	display: grid;
	grid-template-columns:repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
	padding: 16px;
	border: 1px solid var(--bv3-line);
	border-radius: 15px;
	background: var(--bv3-surface)
}

.bv3-search-filter {
	min-width: 0
}

.bv3-search-filter label, .bv3-search-filter legend {
	display: block;
	margin: 0 0 7px;
	color: var(--bv3-ink);
	font-size: 11px;
	line-height: 1.7
}

.bv3-search-filter select {
	width: 100%;
	height: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--bv3-line);
	border-radius: 10px;
	background: var(--bv3-surface);
	color: var(--bv3-ink);
	font: inherit;
	font-size: 12px
}

.bv3-search-filter-modes {
	border: 0;
	padding: 0;
	margin: 0
}

.bv3-search-filter-modes label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 12px 0 0;
	color: var(--bv3-muted);
	cursor: pointer
}

.bv3-search-filter-modes input {
	accent-color: var(--bv3-blue-dark)
}

.bv3-search-filter-modes input:checked + span {
	color: var(--bv3-ink);
	font-weight: 650
}

@media (max-width: 560px) {
	.bv3-search-filters {
		grid-template-columns:1fr;
		padding: 12px
	}
}


.bv3-results-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px
}

.bv3-results-heading h2 {
	font-size: 23px;
	margin: 0
}

.bv3-results-grid {
	display: grid;
	grid-template-columns:repeat(3, minmax(0, 1fr));
	gap: 14px
}

.bv3-result-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 165px;
	padding: 18px;
	border: 1px solid var(--bv3-line);
	border-radius: 18px;
	background: var(--bv3-surface);
	transition: transform .2s, border-color .2s
}

.bv3-result-card:hover {
	transform: translateY(-3px);
	border-color: #8bc8db
}

.bv3-result-card img {
	width: 62px;
	height: 62px;
	object-fit: cover;
	border-radius: 50%;
	background: #e9f7fb
}

.bv3-result-card h3 {
	font-size: 14px;
	line-height: 1.8;
	margin: 0 0 5px;
	color: var(--bv3-ink)
}

.bv3-result-card p {
	font-size: 11px;
	color: var(--bv3-muted);
	line-height: 1.9;
	margin: 0
}

.bv3-result-card small {
	display: inline-flex;
	margin-top: 12px;
	color: var(--bv3-pink);
	font-size: 10px
}

.bv3-empty {
	display: grid;
	place-items: center;
	min-height: 180px;
	grid-column: 1/-1;
	border: 1px dashed var(--bv3-line);
	border-radius: 18px;
	color: var(--bv3-muted);
	font-size: 12px;
	text-align: center
}

.bv3-empty .bv3-card-icon {
	margin-bottom: 8px
}

.bv3-card-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: #e9f7fb;
	color: var(--bv3-blue-dark);
	font-size: 22px
}

@media (max-width: 800px) {
	.bv3-search-page {
		padding: 40px 0 55px
	}

	.bv3-results-grid {
		grid-template-columns:repeat(2, minmax(0, 1fr))
	}
}

@media (max-width: 560px) {
	.bv3-search-hero h1 {
		font-size: 26px
	}

	.bv3-search-box {
		padding-inline-start: 11px
	}

	.bv3-search-box .app-btn2 {
		padding-inline: 12px
	}

	.bv3-results-grid {
		grid-template-columns:1fr
	}

	.bv3-result-card {
		min-height: 125px
	}
}

/* Account result cards follow the catalog card/input/button anatomy. */
.bv3-doctors {
	max-width: 1180px;
	margin: 0 auto 36px
}

/* Directory headings follow the catalog dashboard's compact title-to-filter spacing. */
.bv3-native-content > .bv3-doctors.app-content {
	padding-block: 0
}

.bv3-doctors .bv3-page-heading {
	margin: 0 0 16px;
	gap: 12px
}

.bv3-doctors .bv3-page-heading .bv3-kicker {
	margin: 0 0 4px
}

.bv3-doctors .bv3-page-heading h1 {
	font-size: 24px;
	line-height: 1.6;
	margin: 0
}

.bv3-doctor-filters {
	display: grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
	padding: 20px !important;
	margin-bottom: 25px
}

.bv3-doctor-filters .app-second-input-section {
	width: 100%;
	padding: 0;
	margin: 0
}

.bv3-doctor-filters .bv3-filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0
}

.bv3-doctor-filters > button {
	align-self: end
}

.bv3-native-select {
	min-height: 42px;
	border: 1px solid var(--bv3-line);
	border-radius: 9px;
	background: var(--bv3-surface);
	color: var(--bv3-ink);
	font: inherit;
	font-size: 12px;
	padding: 8px;
	width: 100%
}

.bv3-doctor-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px !important;
	min-width: 0;
	background: var(--bv3-surface)
}

/* Keep native anchor keyboard/modifier behavior when booking from any non-interactive card area. */
#bv3-doctor-results .bv3-doctor-book-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit
}

#bv3-doctor-results .bv3-doctor-identity, #bv3-doctor-results .bv3-first-action:not(.bv3-doctor-book-link) {
	position: relative;
	z-index: 2
}

#bv3-doctor-results .bv3-doctor-card.bv3-doctor-bookable:is(:hover,:focus-within) {
	border-color: var(--bv3-blue)
}

.bv3-doctor-identity {
	display: flex;
	align-items: center;
	gap: 13px
}

.bv3-doctor-identity img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex: none
}

.bv3-doctor-identity h2 {
	font-size: 15px;
	line-height: 1.9;
	color: var(--bv3-ink);
	margin: 0 0 4px
}

.bv3-doctor-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px
}

.bv3-doctor-trust span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	border-radius: 7px;
	padding: 2px 7px;
	font-size: 10px;
	line-height: 1.7
}

.bv3-doctor-rating {
	color: #9a6500;
	background: #fff3d4;
	font-weight: 700
}

.bv3-doctor-rating-empty {
	color: var(--bv3-muted);
	background: var(--bv3-bg)
}

.bv3-doctor-insurance {
	color: #187653;
	background: #e6f8ef
}

html.bv3-page[data-theme=dark] .bv3-doctor-rating {
	color: #ffd77b;
	background: #4e3d20
}

html.bv3-page[data-theme=dark] .bv3-doctor-insurance {
	color: #9be6c1;
	background: #173f34
}

.bv3-doctor-identity p, .bv3-doctor-address, .bv3-doctor-center {
	font-size: 11px;
	line-height: 1.9;
	color: var(--bv3-muted);
	margin: 0
}

.bv3-doctor-badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: auto
}

.bv3-doctor-badges span {
	font-size: 10px;
	border-radius: 7px;
	padding: 3px 7px;
	color: #16496b;
	background: #e9f6fa
}

.bv3-doctor-type-badge {
	border: 0;
	cursor: pointer;
	font: inherit;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	border-radius: 7px;
	padding: 3px 7px;
	color: #16496b;
	background: #e9f6fa
}

.bv3-doctor-type-badge i {
	font-size: 14px
}

html.bv3-page[data-theme=dark] .bv3-doctor-type-badge {
	color: #c6edf8;
	background: #21465b
}

.bv3-doctor-card > .app-btn2 {
	width: 100%;
	max-height: none;
	font-size: 12px
}

.bv3-page[data-theme=dark] .bv3-doctor-badges span {
	background: #21465b;
	color: #c6edf8
}

@media (max-width: 800px) {
	.bv3-doctor-filters {
		grid-template-columns:1fr 1fr
	}

	.bv3-doctor-filters > .app-second-input-section:first-child {
		grid-column: 1/-1
	}

	.bv3-doctor-filters > button {
		grid-column: 1/-1;
		width: 100%
	}
}

@media (max-width: 450px) {
	.bv3-doctor-filters {
		gap: 12px;
		padding: 15px !important
	}

	.bv3-doctor-identity img {
		width: 60px;
		height: 60px
	}
}

/* The two catalog fields share their height, surface and focus treatment. */
.bv3-search-label {
	display: block;
	margin-top: 25px;
	font-size: 12px;
	color: var(--bv3-muted)
}

.bv3-search-controls {
	display: grid;
	grid-template-columns:minmax(0, 1fr) minmax(150px, 240px);
	gap: 16px;
	margin-top: 8px;
	align-items: stretch
}

.bv3-search-controls > * {
	min-width: 0
}

.bv3-search-box {
	min-height: 56px;
	padding-inline: 12px 6px
}

.bv3-search-city {
	display: flex;
	align-items: center;
	position: relative;
	min-width: 0
}

.bv3-search-city > label {
	position: absolute;
	inset-inline-start: 16px;
	top: 6px;
	font-size: 10px;
	line-height: 16px;
	color: var(--bv3-muted);
	z-index: 1;
	pointer-events: none
}

.bv3-search-city > .app-select2-box {
	min-width: 0;
	width: 100%
}

.bv3-search-city select {
	min-width: 0;
	min-height: 56px;
	padding: 20px 16px 5px
}

.bv3-search-city .select2-container .select2-selection--single {
	height: 56px;
	min-height: 56px;
	border-radius: 15px !important;
	outline: 1px solid var(--bv3-line) !important;
	background: var(--bv3-surface);
	box-shadow: 0 15px 35px rgba(25, 82, 108, .08)
}

.bv3-search-city .select2-container.select2-container--focus .select2-selection--single, .bv3-search-city .select2-container.select2-container--open .select2-selection--single {
	outline: 2px solid var(--bv3-blue) !important
}

.bv3-search-city .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 23px 16px 5px !important;
	padding-inline-end: 40px !important;
	line-height: 28px !important;
	font-size: 13px;
	color: var(--bv3-ink) !important;
	text-align: start
}

/* Hide Select2's native triangle; retain one centered catalog chevron in either direction. */
html.bv3-page .bv3-search-city .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0 !important;
	bottom: 0;
	left: auto !important;
	right: auto !important;
	inset-inline-end: 12px !important;
	width: 20px;
	height: 100%;
	display: grid;
	place-items: center
}

.bv3-search-city .select2-selection__arrow b {
	display: none
}

html.bv3-page .bv3-search-city .select2-selection__arrow::after {
	content: "\ea53";
	font: 18px/1 bio-icon-outline;
	color: var(--bv3-blue-dark);
	position: static;
	height: auto;
	transition: transform .2s
}

.bv3-search-city .select2-container--open .select2-selection__arrow::after {
	transform: rotate(180deg)
}

@media (max-width: 560px) {
	.bv3-search-controls {
		grid-template-columns:minmax(0, 1fr);
		gap: 10px
	}

	.bv3-search-box {
		flex-wrap: wrap;
		gap: 5px;
		padding: 8px
	}

	.bv3-search-box input {
		width: calc(100% - 30px);
		padding: 4px;
		font-size: 12px
	}

	.bv3-search-box .app-btn2 {
		width: 100%;
		min-height: 36px
	}

	.bv3-search-city .select2-container .select2-selection--single {
		height: 56px;
		min-height: 56px
	}

	.bv3-search-city .app-select2-box, .bv3-search-city .select2-container, .bv3-search-city .selection {
		display: block;
		height: 100%
	}

	.bv3-search-city > label {
		top: 6px;
		inset-inline-start: 12px
	}

	.bv3-search-city .select2-container .select2-selection--single .select2-selection__rendered {
		padding-top: 23px !important;
		padding-inline-start: 12px !important;
		padding-inline-end: 30px !important
	}

	.bv3-search-box i {
		font-size: 18px
	}

	html.bv3-page .bv3-search-city .select2-container .select2-selection--single .select2-selection__arrow {
		inset-inline-end: 6px !important
	}
}

.bv3-city-dropdown {
	background: var(--bv3-surface);
	color: var(--bv3-ink);
	border-color: var(--bv3-line)
}

.bv3-city-dropdown .select2-results__options {
	max-height: 260px
}

.bv3-city-dropdown .select2-results__group {
	color: var(--bv3-muted)
}

.bv3-city-dropdown .select2-results__option--highlighted[aria-selected] {
	background: var(--bv3-blue-dark);
	color: var(--bv3-bg)
}

.bv3-city-dropdown .select2-results__option[aria-selected=true] {
	background: var(--bv3-line);
	color: var(--bv3-ink)
}

html.bv3-page .select2-container .bv3-city-dropdown {
	background: var(--bv3-surface) !important;
	color: var(--bv3-ink) !important;
	border-color: var(--bv3-line) !important
}

html.bv3-page .bv3-city-dropdown .select2-results__option {
	color: var(--bv3-ink)
}

html.bv3-page .bv3-city-dropdown .select2-results__group {
	color: var(--bv3-muted)
}

html.bv3-page .bv3-city-dropdown .select2-results__option--highlighted[aria-selected] {
	background: var(--bv3-blue-dark) !important;
	color: var(--bv3-bg) !important
}

html.bv3-page .bv3-city-dropdown .select2-results__option[aria-selected=true] {
	background: var(--bv3-line) !important;
	color: var(--bv3-ink) !important
}

/* Catalog loading motion replaces the manual continuation button. */
.bv3-search-sentinel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 64px;
	margin-top: 32px;
	color: var(--bv3-muted);
	font-size: 12px
}

.bv3-search-sentinel:not(.is-loading) .bv3-loading-spinner, .bv3-search-sentinel:not(.is-loading) .bv3-loading-label {
	visibility: hidden
}

.bv3-loading-spinner {
	width: 24px;
	height: 24px;
	border: 2px solid var(--bv3-line);
	border-top-color: var(--bv3-blue-dark);
	border-radius: 50%;
	animation: bv3-search-spin .75s linear infinite
}

@keyframes bv3-search-spin {
	to {
		transform: rotate(360deg)
	}
}

.bv3-home-search {
	padding: 34px 0 8px
}

.bv3-home-search .bv3-search-label {
	margin-top: 0
}

.bv3-home-search .bv3-search-hint {
	display: none
}

.bv3-home-search + .bv3-hero {
	padding-top: 40px;
	min-height: 490px
}

.bv3-page .bv3-account-link, .bv3-page .bv3-doctor-card > .app-btn2 {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center
}

.bv3-page .bv3-account-link > i, .bv3-page .bv3-doctor-card > .app-btn2 > i {
	font-size: 19px
}

@media (max-width: 620px) {
	.bv3-home-search {
		padding-top: 24px
	}

	.bv3-home-search + .bv3-hero {
		padding-top: 25px;
		min-height: 0
	}
}

@media (prefers-reduced-motion: reduce) {
	.bv3-loading-spinner {
		animation: none;
		border-style: dotted
	}
}

.bv3-result-card .bv3-specialty-icon {
	object-fit: contain;
	border-radius: 18px;
	background: transparent
}

/* Dark search controls use the existing patient theme tokens, including placeholder and focus outlines. */
html.bv3-page[data-theme=dark] .bv3-search-box {
	outline: 1px solid var(--bv3-line) !important;
	border-color: var(--bv3-line);
	box-shadow: none
}

html.bv3-page[data-theme=dark] .bv3-search-box:focus-within {
	outline: 2px solid var(--bv3-blue-dark) !important
}

html.bv3-page[data-theme=dark] .bv3-search-box input::placeholder {
	color: var(--bv3-muted) !important
}

html.bv3-page[data-theme=dark] .bv3-search-box > i {
	color: var(--bv3-blue-dark)
}

html.bv3-page[data-theme=dark] .bv3-doctor-filters .bv3-native-select {
	color-scheme: dark
}

/* The enclosing catalog field owns keyboard focus; keep one rounded focus ring. */
.bv3-page .bv3-search-box:focus-within {
	border-radius: 15px !important;
	outline: 2px solid var(--bv3-blue) !important
}

.bv3-page .bv3-search-box input:focus-visible {
	outline: none
}

html.bv3-page[data-theme=dark] .bv3-search-box:focus-within {
	outline-color: var(--bv3-blue-dark) !important
}

/* Native buttons can fall back to the browser font on standalone search; use the same family as surrounding text. */
html.bv3-page .bv3-search-box button.app-btn2 {
	font-family: inherit !important;
	font-size: 13px;
	font-weight: 600
}

/* Retain the accessible search name while removing its redundant visible caption. */
.bv3-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important
}

.bv3-search-page, .bv3-search-hero {
	max-width: none;
	width: 100%
}

/* Directory content uses the common shell's edges rather than a second narrower container. */
html.bv3-page .bv3-doctors {
	max-width: none;
	width: 100%;
	padding-inline: 0
}

/* Without a city selector, standalone search occupies the full shared content width. */
.bv3-search-controls.bv3-search-controls-single {
	grid-template-columns:minmax(0, 1fr)
}

/* Use the catalog material radio cards as compact label-style filter choices. */
.bv3-doctor-filters {
	grid-template-columns:minmax(160px, 1.1fr) minmax(220px, 1fr) minmax(330px, 1.5fr) auto
}

.bv3-filter-group {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0
}

.bv3-filter-group legend {
	margin: 0 0 8px;
	padding: 0;
	float: none;
	width: auto
}

.bv3-filter-choices {
	display: flex;
	gap: 6px;
	outline: none !important;
	overflow: visible !important;
	flex-wrap: nowrap
}

.bv3-filter-choices .material-radio-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex: 1 1 0;
	min-width: 0;
	min-height: 44px;
	padding: 9px 10px;
	margin: 0;
	border: 1px solid var(--bv3-line);
	border-radius: 8px;
	background: var(--bv3-surface);
	color: var(--bv3-muted);
	cursor: pointer
}

.bv3-filter-choices .material-radio {
	display: block;
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer
}

.bv3-filter-choices .material-radio-text {
	font: inherit;
	font-size: 13px;
	color: inherit;
	white-space: nowrap
}

.bv3-filter-choices .material-radio-label {
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	margin: 0;
	border: 1.5px solid var(--bv3-line);
	border-radius: 50%;
	background: var(--bv3-surface);
	pointer-events: none
}

.bv3-filter-choices .material-radio-label::after {
	content: "";
	position: static;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bv3-blue-dark);
	opacity: 0;
	transform: none
}

.bv3-filter-choices .material-radio-item:has(input:checked) {
	border-color: var(--bv3-blue) !important;
	background: var(--bv3-bg) !important;
	color: var(--bv3-blue-dark)
}

.bv3-filter-choices input:checked + .material-radio-label {
	border-color: var(--bv3-blue)
}

.bv3-filter-choices input:checked + .material-radio-label::after {
	opacity: 1;
	transform: none
}

.bv3-filter-choices .material-radio-item:has(input:focus-visible) {
	outline: 2px solid var(--bv3-blue);
	outline-offset: 2px
}

@media (max-width: 1100px) {
	.bv3-doctor-filters {
		grid-template-columns:1fr 1fr
	}

	.bv3-doctor-filters > .app-second-input-section:first-child, .bv3-doctor-filters > button {
		grid-column: 1/-1
	}

	.bv3-doctor-filters > button {
		width: 100%
	}
}

@media (max-width: 700px) {
	.bv3-doctor-filters {
		grid-template-columns:minmax(0, 1fr)
	}

	.bv3-filter-choices .material-radio-item {
		padding: 9px 6px
	}

	.bv3-filter-choices .material-radio-text {
		font-size: 12px
	}
}

/* Larger result portraits keep specialty and center text adjacent to the native physician name. */
.bv3-result-card img {
	width: 88px;
	height: 88px;
	flex: none
}

.bv3-result-card > span {
	min-width: 0;
	flex: 1
}

.bv3-result-card p {
	font-size: 12px;
	line-height: 1.9;
	overflow-wrap: anywhere
}

@media (max-width: 620px) {
	.bv3-result-card img {
		width: 76px;
		height: 76px
	}
}

/* The catalogue submit action shares the 44px outer height of its adjacent radio choices. */
.bv3-doctor-filters > button.app-btn2 {
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding-block: 0;
	box-sizing: border-box
}

/* Specialty identity and calendar action share the existing catalog card surface. */
.bv3-result-card.bv3-specialty-card {
	display: flex;
	flex-direction: column;
	gap: 18px
}

.bv3-specialty-identity {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	min-width: 0;
	color: inherit
}

.bv3-specialty-identity > span {
	min-width: 0
}

.bv3-specialty-identity img {
	flex: none
}

.bv3-specialty-card .bv3-first-action {
	width: 100%;
	margin-top: auto;
	min-height: 40px;
	max-height: none;
	white-space: normal;
	font-size: 12px;
	line-height: 1.8;
	padding: 8px 12px
}

.bv3-specialty-card .bv3-first-action i {
	flex: none
}

.bv3-first-page .bv3-specialty-identity img {
	width: 88px;
	height: 88px;
	border-radius: 18px;
	object-fit: contain
}

/* Home previews share a full-width card grid and a separate left-aligned search-page action. */
.bv3-home-preview {
	margin-top: 12px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px
}

.bv3-home-preview[hidden] {
	display: none
}

.bv3-home-results {
	display: grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap: 10px;
	flex: 1;
	min-width: 0
}

.bv3-home-results .bv3-result-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	min-height: 84px;
	min-width: 0;
	border: 1px solid var(--bv3-line);
	border-radius: 12px;
	background: var(--bv3-surface)
}

.bv3-home-results .bv3-result-card img, .bv3-home-results .bv3-result-card img.bv3-specialty-icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex: none
}

.bv3-home-results .bv3-result-card > span {
	min-width: 0
}

.bv3-home-results h3 {
	font-size: 13px;
	line-height: 1.8;
	margin: 0;
	color: var(--bv3-ink)
}

.bv3-home-results p {
	font-size: 11px;
	line-height: 1.7;
	margin: 2px 0;
	color: var(--bv3-muted)
}

.bv3-home-results small {
	font-size: 10px;
	color: var(--bv3-muted)
}

/* The final cell reuses the catalog card, with a quiet search identity instead of specialty artwork. */
.bv3-home-results .bv3-home-more-card {
	border-style: dashed;
	border-color: var(--bv3-blue);
	color: var(--bv3-blue-dark)
}

.bv3-home-more-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--bv3-bg);
	color: var(--bv3-blue-dark);
	font-size: 24px
}

.bv3-home-results .bv3-home-more-card:hover {
	border-style: solid;
	border-color: var(--bv3-blue-dark)
}

[dir=ltr] .bv3-home-preview > a i {
	transform: rotate(180deg)
}

@media (max-width: 1000px) {
	.bv3-home-results {
		grid-template-columns:repeat(2, minmax(0, 1fr))
	}

}

@media (max-width: 390px) {
	.bv3-home-results .bv3-result-card {
		gap: 6px;
		padding: 9px
	}

	.bv3-home-results .bv3-result-card img, .bv3-home-results .bv3-result-card img.bv3-specialty-icon {
		width: 32px;
		height: 32px
	}

	.bv3-home-results h3 {
		font-size: 12px
	}
}

/* Repeat the catalog text action quietly at the logical end of search-result cards. */
html.bv3-page body .bv3-result-card.bv3-specialty-card > .bv3-first-action {
	align-self: flex-end;
	width: auto;
	min-width: 0;
	min-height: 40px;
	max-height: none;
	padding: 6px 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--bv3-blue-dark) !important;
	font-size: 12px;
	font-weight: 500;
	gap: 6px
}

html.bv3-page body .bv3-result-card.bv3-specialty-card > .bv3-first-action:hover {
	color: var(--bv3-blue-dark) !important;
	text-decoration: none !important
}

/* Directory actions use the hospital catalog's quiet text variant at logical end. */
.bv3-doctor-actions {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 18px;
	margin-top: auto
}

html.bv3-page #bv3-doctor-results .bv3-doctor-actions > .bv3-primary-book {
	background: var(--bv3-blue-dark) !important;
	color: #fff !important;
	border: 1px solid var(--bv3-blue-dark) !important;
	border-radius: 10px;
	padding: 8px 14px !important;
	font-weight: 700
}

html.bv3-page[data-theme=dark] #bv3-doctor-results .bv3-doctor-actions > .bv3-primary-book {
	background: #73c5df !important;
	border-color: #73c5df !important;
	color: #082235 !important
}

html.bv3-page #bv3-doctor-results .bv3-doctor-actions > .app-btn2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	min-width: 0;
	min-height: 40px;
	max-height: none;
	height: auto;
	padding: 6px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--bv3-muted) !important;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	white-space: normal
}

html.bv3-page #bv3-doctor-results .bv3-doctor-actions > .app-btn2:hover {
	color: var(--bv3-blue) !important
}

.bv3-doctor-actions i {
	font-size: 16px;
	flex: none
}

html.bv3-page #bv3-doctor-results .bv3-doctor-actions > .app-btn2 * {
	text-decoration: none !important
}

/* Empty status output must not add another row between filters and results. */
.bv3-doctors #bv3-doctor-status:empty {
	display: none
}

.bv3-doctors #bv3-doctor-filters {
	margin-bottom: 0
}

.bv3-doctors #bv3-doctor-results {
	margin-top: 20px
}

.bv3-first-page .bv3-offer-location-link {
	color: inherit;
	text-decoration: none !important
}

.bv3-first-page .bv3-offer-location-link:hover {
	color: var(--bv3-blue)
}

@media (max-width: 380px) {
	.bv3-doctor-actions {
		gap: 12px
	}

	html.bv3-page #bv3-doctor-results .bv3-doctor-actions > .app-btn2 {
		font-size: 11px
	}
}

/* Reuse the home city field beside the page's existing outline action. */
.bv3-directory-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	min-width: 0
}

.bv3-directory-actions .bv3-city-filter {
	flex: 0 1 240px;
	width: 240px;
	min-width: 180px;
	margin: 0
}

.bv3-city-filter .app-second-input-error:empty {
	display: none
}

.bv3-city-filter .app-second-input-error {
	position: absolute;
	top: 100%;
	margin: 4px 0;
	color: var(--bv3-muted);
	font-size: 12px
}

.bv3-first-toolbar {
	justify-content: flex-end;
	margin-bottom: 20px
}

.bv3-home-results .bv3-home-more-icon {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px
}

@media (max-width: 620px) {
	.bv3-directory-actions {
		width: 100%;
		gap: 10px
	}

	.bv3-directory-actions .bv3-city-filter {
		flex: 1 1 150px;
		width: auto;
		min-width: 0
	}

	.bv3-directory-actions > .app-btn2, .bv3-directory-actions .bv3-first-actions {
		flex: 1 1 auto
	}

	.bv3-directory-actions .app-btn2 {
		font-size: 12px;
		min-height: 48px;
		white-space: normal
	}
}


/* Intermediate-page city fields and their adjacent actions share one compact height. */
html.bv3-page .bv3-directory-actions {
	--bv3-location-height: 48px
}

html.bv3-page .bv3-directory-actions .app-btn2 {
	height: var(--bv3-location-height);
	min-height: var(--bv3-location-height);
	box-sizing: border-box
}

html.bv3-page .bv3-city-filter .select2-container .select2-selection--single {
	height: var(--bv3-location-height);
	min-height: var(--bv3-location-height);
	box-sizing: border-box
}

html.bv3-page .bv3-city-filter > label {
	top: 3px;
	line-height: 14px
}

html.bv3-page .bv3-city-filter .select2-container .select2-selection--single .select2-selection__rendered {
	padding-top: 18px !important;
	padding-bottom: 3px !important;
	line-height: 25px !important
}

html.bv3-page .bv3-city-filter select {
	height: var(--bv3-location-height);
	min-height: var(--bv3-location-height);
	padding-top: 17px;
	padding-bottom: 3px
}

@media (max-width: 620px) {
	.bv3-doctors .bv3-page-heading {
		flex-wrap: wrap
	}

	.bv3-doctors .bv3-page-heading > div:first-child {
		width: 100%;
		min-width: 0
	}

	.bv3-directory-actions .bv3-city-filter {
		flex: 1 1 0;
		min-width: 140px
	}

	.bv3-directory-actions > .app-btn2, .bv3-directory-actions > .bv3-first-actions {
		flex: 1 1 0;
		min-width: 140px
	}

	.bv3-directory-actions > .bv3-first-actions > .app-btn2 {
		width: 100%
	}
}

/* Doctor facts remain readable as wrapped text in both home and full search cards. */
.bv3-result-facts, .bv3-result-availability {
	display: block;
	color: var(--bv3-muted);
	font-size: 11px;
	line-height: 1.8;
	overflow-wrap: anywhere;
	margin-top: 4px
}

/* Group containers have no row padding; province captions keep the city list compact. */
html.bv3-page body .select2-container .bv3-city-dropdown .select2-results__option[role=group] {
	padding: 0 !important;
	margin: 0 !important
}

html.bv3-page body .select2-container .bv3-city-dropdown .select2-results__group {
	padding: 2px 10px !important;
	margin: 0 !important;
	font: 600 12px/1.6 IRANSansX, Roboto, Arial, sans-serif
}

html.bv3-page body .select2-container .bv3-city-dropdown .select2-results__options--nested {
	padding: 0 !important;
	margin: 0 !important
}

html.bv3-page body .select2-container .bv3-city-dropdown .select2-results__option[aria-selected] {
	padding: 6px 10px !important;
	margin: 0 !important
}


/* The standalone search page keeps one compact search control above the results. */
.bv3-search-page .bv3-search-hero {
	margin-bottom: 28px;
	padding-top: 18px
}

.bv3-search-page .bv3-search-hero > h1 {
	margin-bottom: 14px
}

.bv3-search-page .bv3-search-hero > p:not(.bv3-kicker) {
	margin: 0 0 14px
}

.bv3-search-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-width: 48px;
	height: 44px;
	min-height: 44px;
	padding: 0 !important
}

.bv3-search-submit i {
	margin: 0;
	font-size: 20px
}

/* The submit glyph follows the button foreground in every language and theme. */
html.bv3-page .bv3-search-box .bv3-search-submit i {
	display: inline-block;
	color: inherit
}

@media (max-width: 560px) {
	.bv3-search-page .bv3-search-hero {
		padding-top: 8px;
		margin-bottom: 20px
	}

	.bv3-search-submit {
		width: 44px;
		min-width: 44px
	}
}

html.bv3-page .bv3-search-page .select2-selection__arrow b {
	display: none !important
}

html.bv3-page .bv3-search-page .select2-selection__arrow::after {
	content: "" !important;
	display: none !important
}

html.bv3-page .bv3-search-page .bv3-search-city .select2-selection__arrow::after {
	display: block !important;
	content: "\ea53" !important;
	font: 18px/1 bio-icon-outline;
	color: var(--bv3-blue-dark);
	transform: none
}

html.bv3-page .bv3-search-page .bv3-search-city .select2-container--open .select2-selection__arrow::after {
	transform: rotate(180deg)
}

/* In RTL search, keep the city selector on the left and the text search beside it on the right. */
html.bv3-page .bv3-search-page .bv3-search-controls {
	direction: rtl
}

html.bv3-page .bv3-search-page .bv3-search-controls > .bv3-search-box, html.bv3-page .bv3-search-page .bv3-search-controls > .bv3-search-city {
	direction: rtl
}

/* Keep transient search status from reserving a blank band between the control and cards. */
.bv3-search-page #bv3-search-status {
	height: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden
}

.bv3-search-page .bv3-search-hero {
	margin-bottom: 12px
}
