/* Home uses the catalog dashboard cards, inputs and buttons with BioVisit's existing theme tokens. */
.bv3-home-page .bv3-home-intro{padding:32px 0 8px}
.bv3-home-page .bv3-home-intro-with-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}
.bv3-home-page .bv3-home-intro h1{font-size:clamp(23px,2.6vw,34px);line-height:1.65;margin:0 0 6px;letter-spacing:0}
.bv3-home-page .bv3-home-intro p,.bv3-home-page .bv3-home-first p{font-size:13px;color:var(--bv3-muted);margin:0}
.bv3-home-page .bv3-home-search{margin:12px 0 22px;padding:0}
.bv3-home-page .bv3-home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}
.bv3-home-page h2{font-size:20px;line-height:1.8;margin:0}
.bv3-home-page .bv3-home-section-heading .bv3-text-link{margin:0;font-size:12px;align-items:center}
.bv3-home-page .bv3-home-preview{margin:0}
.bv3-home-page .bv3-home-first{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:24px;padding:22px;border:1px solid var(--bv3-line);border-radius:18px;background:var(--bv3-surface);box-shadow:none}
.bv3-home-page #bv3-home-first-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
.bv3-home-page #bv3-home-first-form>p{grid-column:1/-1;font-size:12px}
.bv3-home-page .bv3-home-first .app-select2-box{min-width:0;margin:0;padding:0;border:0!important}
.bv3-home-page .bv3-home-first select{width:100%;height:48px;background:var(--bv3-surface);color:var(--bv3-ink);border:1px solid var(--bv3-line);border-radius:12px;font:inherit}
.bv3-home-page .bv3-home-first .select2-container .select2-selection{height:48px!important;min-height:48px;border:1px solid var(--bv3-line)!important;border-radius:12px!important;background:var(--bv3-surface)!important;display:flex;align-items:center;color:var(--bv3-ink)!important}
.bv3-home-page .bv3-home-first .select2-selection__rendered{color:var(--bv3-ink)!important;font:500 13px/1.8 IRANSansX,Roboto,Arial,sans-serif;padding-inline:14px 30px!important}
.bv3-home-page .bv3-home-first .app-btn2{height:48px;min-height:48px;max-height:none;white-space:normal;font-size:12px}
.bv3-home-page .bv3-home-patient{margin:26px 0}
.bv3-home-page .bv3-home-patient h3{font-size:16px;margin:8px 0}
.bv3-home-page .bv3-home-next{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--bv3-line);border-radius:18px;padding:22px;margin-top:12px;background:var(--bv3-surface);box-shadow:none}
.bv3-home-page .bv3-home-next p,.bv3-home-page .bv3-home-empty{font-size:13px;color:var(--bv3-muted);margin:4px 0}
.bv3-home-page .bv3-home-status{font-size:12px;color:var(--bv3-blue-dark)}
.bv3-home-page .bv3-home-status.is-pending{color:#9c5809}
.bv3-home-page[data-theme=dark] .bv3-home-status.is-pending{color:#ffd494}
.bv3-home-page .bv3-home-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bv3-home-page .bv3-section{padding:30px 0}
.bv3-home-page .bv3-section-heading{margin-bottom:16px}
.bv3-home-page .bv3-section-heading .bv3-kicker{display:none}
.bv3-home-page .bv3-section h2{font-size:20px}
.bv3-home-page .bv3-card{min-height:0;padding:18px;gap:12px;box-shadow:none}
.bv3-home-page .bv3-card h3{font-size:15px;line-height:1.8}
.bv3-home-page .bv3-card p{font-size:12px;line-height:1.9}
.bv3-home-page .bv3-result-facts,.bv3-home-page .bv3-result-availability{display:block;overflow-wrap:anywhere}
.bv3-home-page .bv3-result-card:focus-visible,.bv3-home-page .bv3-card:focus-visible{outline:2px solid var(--bv3-blue);outline-offset:3px}
@media(max-width:900px){.bv3-home-page .bv3-home-first{grid-template-columns:1fr;gap:14px}.bv3-home-page .bv3-home-history{grid-template-columns:1fr}}
@media(max-width:620px){
html.bv3-home-page body .bv3-header .bv3-nav.is-open{gap:6px;padding-top:8px}
html.bv3-home-page body .bv3-header .bv3-nav a.app-btn2{height:42px;min-height:42px;flex-direction:row;gap:6px;padding:6px;font-size:11px;line-height:1.5}
html.bv3-home-page body .bv3-header .bv3-nav a.app-btn2 i{font-size:20px}
html.bv3-home-page body .bv3-header .bv3-nav a.app-btn2 span{width:auto}
.bv3-home-page .bv3-home-intro{padding-top:18px}
.bv3-home-page .bv3-home-intro-with-actions{align-items:flex-start;flex-direction:column}
.bv3-home-page .bv3-home-intro h1{font-size:23px}
.bv3-home-page .bv3-home-section-heading{align-items:flex-start;flex-wrap:wrap}
.bv3-home-page .bv3-home-first{padding:16px;gap:12px}
.bv3-home-page #bv3-home-first-form{grid-template-columns:minmax(0,1fr)}
.bv3-home-page .bv3-home-next{flex-direction:column;align-items:stretch;padding:16px}
.bv3-home-page .bv3-card{padding:14px}
.bv3-home-page .bv3-card h3{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.bv3-home-page .bv3-card,.bv3-home-page .bv3-result-card{transition:none;transform:none}}

/* Replace the vendor triangle once; the catalog adds its own arrow pseudo element. */
.bv3-home-page .bv3-home-first .select2-selection{outline:none!important}
.bv3-home-page .bv3-home-first .select2-container--focus .select2-selection{outline:2px solid var(--bv3-blue)!important;outline-offset:2px}
.bv3-home-page .bv3-home-results .bv3-physician-result{align-items:flex-start;flex-wrap:nowrap}
.bv3-home-page .bv3-home-results .bv3-physician-result>span{flex:1;min-width:0}
.bv3-home-page .bv3-home-results .bv3-physician-result img{width:38px;height:38px}
.bv3-home-page .bv3-home-results .bv3-physician-result .bv3-result-facts,.bv3-home-page .bv3-home-results .bv3-physician-result .bv3-result-availability{display:block;color:var(--bv3-muted);font-size:11px;margin-top:5px}
@media(max-width:620px){.bv3-home-page .bv3-home-results .bv3-physician-result{grid-column:1/-1}.bv3-home-page .bv3-home-results .bv3-physician-result img{width:44px;height:44px}}
/* Existing global mobile card rules use a horizontal layout; home cards need room for their copy. */
html.bv3-home-page body .bv3-card{flex-direction:column;align-items:flex-start}
html.bv3-home-page body .bv3-card>span:not(.bv3-card-icon):not(.bv3-card-arrow){min-width:0;width:100%}
html.bv3-home-page body .bv3-card-icon{flex:none}
/* Keep the arrow centered inside its 48px control, with direction-dependent physical placement. */
html.bv3-home-page body #bv3-home-first-form .select2-container .select2-selection__arrow{position:absolute;top:50%!important;bottom:auto!important;left:auto!important;right:10px!important;width:20px!important;height:20px!important;transform:translateY(-50%)}
html.bv3-home-page[dir=rtl] body #bv3-home-first-form .select2-container .select2-selection__arrow{left:10px!important;right:auto!important}
html.bv3-home-page body .bv3-home-first .select2-selection__arrow b{display:none!important}
html.bv3-home-page body #bv3-home-first-form .select2-selection__arrow::after{position:absolute;content:""!important;inset:4px auto auto 5px!important;width:8px;height:8px;border:0!important;border-right:1.5px solid var(--bv3-ink)!important;border-bottom:1.5px solid var(--bv3-ink)!important;transform:rotate(45deg)}
html.bv3-home-page body .bv3-home-first .app-btn2{font-family:IRANSansX,Roboto,Arial,sans-serif!important;font-size:14px;font-weight:600;line-height:1.8;letter-spacing:0;padding:8px 16px;gap:8px;white-space:nowrap}
html.bv3-home-page body .bv3-home-first .select2-selection__rendered{font-family:IRANSansX,Roboto,Arial,sans-serif!important}

/* Center the selected label independently of vendor line-height and padding overrides. */
html.bv3-home-page body #bv3-home-first-form .select2-selection__rendered {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	line-height: 1.8 !important;
	padding-block: 0 !important;
	margin: 0 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

html.bv3-home-page body #bv3-home-first-form .select2-selection {
	padding-block: 0 !important
}

html.bv3-home-page body #bv3-home-more {
	align-items: center
}

html.bv3-home-page body #bv3-home-more > span:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px
}

html.bv3-home-page body #bv3-home-more h3 {
	margin: 0;
	line-height: 1.6
}

html.bv3-home-page body #bv3-home-more small {
	display: block;
	margin: 0;
	line-height: 1.6
}
/* BioArc3 booking/catalogue hierarchy with real product screenshots and catalog buttons. */
.bv3-home-page .bv3-home-intro-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}
.bv3-home-page .bv3-home-intro-with-actions>.bv3-home-intro-actions{margin-top:0}
.bv3-home-page .bv3-search-controls{margin-bottom:24px}
.bv3-home-page .bv3-home-intro-actions .app-btn2{font:600 14px/1.8 IRANSansX,Roboto,Arial,sans-serif!important;max-height:none;min-height:44px;height:auto;padding:9px 16px;white-space:normal}
.bv3-home-page .bv3-home-biochat{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;align-items:center;margin:28px 0 36px;padding:28px;border:1px solid var(--bv3-line);border-radius:20px;background:var(--bv3-surface);box-shadow:none}
.bv3-home-page .bv3-biochat-introduction h2{font-size:26px;line-height:1.7;margin:0 0 12px}
.bv3-home-page .bv3-biochat-introduction>p:not(.bv3-kicker){font-size:14px;line-height:2.1;color:var(--bv3-muted);margin:0}
.bv3-home-page .bv3-biochat-screenshot{margin:0;min-width:0}
.bv3-home-page .bv3-biochat-screenshot a{display:block;border:1px solid var(--bv3-line);border-radius:14px;overflow:hidden}
.bv3-home-page .bv3-biochat-screenshot img{display:block;width:100%;height:auto;aspect-ratio:1180/800;object-fit:contain}
.bv3-home-page .bv3-biochat-screenshot figcaption{font-size:11px;color:var(--bv3-muted);margin-top:8px;text-align:center}
.bv3-home-page .bv3-biochat-capabilities{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;padding:20px 0 0;margin:0;border-top:1px solid var(--bv3-line)}
.bv3-home-page .bv3-biochat-capabilities li{display:flex;gap:10px;align-items:flex-start;min-width:0}
.bv3-home-page .bv3-biochat-capabilities i{color:var(--bv3-blue-dark);font-size:24px;flex:none}
.bv3-home-page .bv3-biochat-capabilities h3{font-size:14px;line-height:1.8;margin:0 0 5px}
.bv3-home-page .bv3-biochat-capabilities p{font-size:12px;line-height:1.9;color:var(--bv3-muted);margin:0}
@media(max-width:900px){.bv3-home-page .bv3-home-biochat{grid-template-columns:1fr}.bv3-home-page .bv3-biochat-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.bv3-home-page .bv3-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bv3-home-page .bv3-home-biochat{padding:18px;gap:20px}.bv3-home-page .bv3-biochat-introduction h2{font-size:22px}.bv3-home-page .bv3-home-intro-actions{align-items:stretch}.bv3-home-page .bv3-home-intro-actions .app-btn2{flex:1}.bv3-home-page .bv3-biochat-capabilities{grid-template-columns:1fr;gap:16px}}
