/* Search and directory components; no UI framework or external map required. */
.po-search { display: block; padding: 13px; border-radius: 16px; color: #20382f; }
.search-modalities { display: flex; gap: 5px; padding: 0 0 12px; margin: 0; border: 0; }
.search-modalities label { position: relative; cursor: pointer; }
.search-modalities input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.search-modalities label > span { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; color: #627268; font-size: 12px; font-weight: 600; }
.search-modalities .po-icon { width: 17px; height: 17px; }
.search-modalities input:checked + span { background: #e9f3ed; color: #176653; border-color: #d2e5d9; }
.search-modalities input:focus-visible + span { outline: 3px solid #176653; outline-offset: 2px; }
.search-fields { display: flex; align-items: stretch; gap: 8px; }
.search-fields .search-field { padding: 10px 13px; border: 1px solid #dfe6e1; border-radius: 9px; flex: 1.2; gap: 10px; min-width: 0; background: #fff; }
.search-fields .search-city { flex: .85; }
.search-fields .search-field:focus-within { border-color: #648b75; box-shadow: 0 0 0 2px #17665315; }
.search-field label > span { font-size: 10px; font-weight: 500; color: #67766c; }
.search-fields input, .search-fields select { font-size: 12px; font-weight: 600; min-height: 25px; padding: 0; }
.search-fields input:focus, .search-fields select:focus { outline: none; }
.search-city.is-online { background: #f6f8f6; }
.search-city input:disabled { color: #617266; opacity: 1; -webkit-text-fill-color: #617266; }
.po-search .btn { min-width: 114px; border-radius: 9px; padding: 12px 19px; font-size: 13px; }
.po-search.is-compact { padding: 8px; }
.po-search.is-compact .search-fields .search-field { padding-block: 7px; }
.po-directory { background: #f6f7f4; }
.directory-head { padding: 25px 0 27px; background: #155c4e; }
.directory-head > .container { display: flex; align-items: center; gap: 45px; }
.directory-title { flex-shrink: 0; }
.directory-head .eyebrow { color: #c1d8ba; font-size: 10px; margin-bottom: 6px; letter-spacing: .2px; }
.directory-head h1 { color: #fff; font-size: 27px; letter-spacing: -.7px; margin: 0; }
.directory-head .po-search { flex: 1; min-width: 0; }
.directory-filterbar { background: #fff; border-bottom: 1px solid #e1e6e0; }
.directory-toolbar { margin-block: 0; padding-block: 14px; }
.directory-toolbar .filter-pill { min-height: 39px; padding: 8px 15px; font-size: 12px; border-radius: 8px; }
.directory-toolbar .filter-pill.active { background: #e8f2ec; border-color: #bed7c7; color: #176653; }
.directory-toolbar .filter-pill .po-icon { width: 16px; height: 16px; }
.sort-form { gap: 9px; }
.sort-form select { min-height: 39px; border-color: #e0e6e0; background: #fff; }
.sort-form .text-link { padding-inline: 3px; }
.po-directory .directory-section { padding: 28px 0 52px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.results-heading h2 { font-size: 23px; letter-spacing: -.6px; margin-bottom: 6px; }
.results-count { font-size: 12px; margin-bottom: 0; }
.results-count strong { font-weight: 600; }
.reset-filters { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #536d5c; }
.reset-filters:hover { text-decoration: underline; }
.reset-filters .po-icon { width: 14px; height: 14px; }
.directory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 276px; gap: 24px; align-items: start; }
.results-list { display: grid; gap: 17px; }
.result-card { display: grid; grid-template-columns: 1.12fr 1fr; padding: 0; border: 1px solid #e0e6df; border-radius: 17px; overflow: hidden; box-shadow: 0 2px 5px #223c2c03; }
.result-card:hover { border-color: #b1c7b8; box-shadow: 0 5px 16px #23402e06; }
.result-profile { padding: 23px 24px 16px; min-width: 0; }
.result-card .doctor-avatar { width: 74px; height: 74px; }
.result-card .doctor-card-top { gap: 15px; margin-bottom: 17px; }
.result-card .doctor-identity .eyebrow { font-size: 11px; margin-bottom: 4px; }
.result-card .doctor-identity h3 { font-size: 20px; margin-bottom: 5px; }
.result-card .doctor-identity p { font-size: 12px; line-height: 1.6; }
.result-card .tags { gap: 5px; margin-bottom: 16px; }
.result-card .tags > span { font-size: 11px; padding: 4px 8px; background: #f1f5ef; border-radius: 5px; }
.result-location { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #3e5848; font-size: 13px; }
.result-location > .po-icon { width: 15px; height: 15px; color: #6b8773; }
.result-price { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e9eee7; }
.result-price > span { font-size: 13px; }
.result-price small { display: block; font-size: 11px; color: #6b786e; margin-top: 2px; }
.result-price strong { font-size: 22px; letter-spacing: -.7px; white-space: nowrap; }
.result-profile-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 7px; }
.result-profile-footer .text-link { font-size: 12px; gap: 6px; min-height: 40px; }
.result-profile-footer .text-link .po-icon { width: 14px; height: 14px; }
.result-profile-footer .demo-label { margin: 0; font-size: 10px; white-space: nowrap; }
.result-calendar { border-left: 1px solid #e6ece3; background: #fdfefb; padding: 21px 19px 14px; min-width: 0; }
.calendar-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 28px; }
.calendar-heading > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.calendar-heading .po-icon { width: 15px; height: 15px; color: #176653; }
.calendar-navigation { display: flex; gap: 3px; }
.calendar-navigation[hidden] { display: none; }
.calendar-navigation button { display: grid; place-items: center; width: 28px; height: 30px; padding: 4px; border: 1px solid #dee6dd; border-radius: 6px; background: #fff; }
.calendar-navigation button:first-child .po-icon { transform: rotate(180deg); }
.calendar-navigation button:disabled { opacity: .32; cursor: default; }
.calendar-navigation button:not(:disabled):hover { background: #e8f2e9; }
.calendar-caption { font-size: 11px; margin-bottom: 13px; color: #6a7b6b; }
.calendar-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; min-height: 171px; }
.calendar-day { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.calendar-date { min-height: 42px; text-align: center; font-size: 12px; line-height: 1.6; color: #607263; margin-bottom: 3px; }
.calendar-date span { display: block; text-transform: capitalize; }
.calendar-date strong { display: block; color: #314c3b; font-size: 12px; font-weight: 600; }
.calendar-slot, .calendar-unavailable { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 6px; font-size: 13px; font-weight: 600; text-align: center; }
.calendar-slot { background: #e5f1e7; color: #1b624a; border: 1px solid #d7e8da; transition: background .15s, border-color .15s; }
.calendar-slot:hover { background: #cce3d1; border-color: #a5c5af; }
.calendar-unavailable { color: #bac7ba; background: #f1f4ed; font-weight: 400; }
.calendar-more { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; margin-top: 11px; font-size: 12px; font-weight: 600; color: #176653; }
.calendar-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.calendar-more .po-icon { width: 14px; height: 14px; }
.calendar-no-slots { font-size: 10px; text-align: center; margin: 14px 0 0; }
.calendar-status { grid-column: 1 / -1; align-self: center; text-align: center; font-size: 12px; color: #607263; }
.calendar-status button { display: block; margin: 10px auto; }
.directory-sidebar { position: sticky; top: 105px; }
.city-explorer { border: 1px solid #e0e6df; background: #fff; border-radius: 16px; overflow: hidden; }
.city-map-art { position: relative; }
.city-map-art > svg { display: block; width: 100%; height: auto; }
.city-map-art > span { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: calc(100% - 24px); padding: 7px 11px; background: #fffffff2; border: 1px solid #e1e7dc; border-radius: 20px; font-size: 9px; font-weight: 600; color: #365a43; }
.city-map-art .po-icon { width: 13px; height: 13px; }
.city-explorer-body { padding: 21px; }
.city-explorer h3 { font-size: 16px; margin-bottom: 7px; letter-spacing: -.4px; }
.city-explorer p { font-size: 11px; line-height: 1.7; margin-bottom: 14px; }
.city-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.city-links a { display: flex; align-items: center; justify-content: space-between; min-height: 37px; gap: 8px; font-size: 11px; color: #365e44; border: 1px solid #e0e7dc; padding: 7px 9px; border-radius: 6px; }
.city-links a:hover, .city-links a[aria-current] { background: #e8f2e8; border-color: #a8c6af; }
.city-links .po-icon { width: 12px; height: 12px; }
.online-callout { margin-top: 19px; padding: 23px; background: #e8efde; border: 1px solid #dfe8d4; border-radius: 16px; }
.callout-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 15px; border-radius: 11px; background: #ffffffb3; color: #396a4f; }
.online-callout h3 { font-size: 23px; line-height: 1.3; margin-bottom: 12px; letter-spacing: -.8px; }
.online-callout p { color: #587052; font-size: 12px; line-height: 1.8; margin-bottom: 12px; }
.online-callout .text-link { font-size: 10px; gap: 5px; }
.online-callout .text-link .po-icon { width: 14px; height: 14px; }
.sidebar-note { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.9; margin: 22px 8px; color: #71806d; }
.sidebar-note .po-icon { width: 18px; height: 18px; margin-top: 3px; }

@media (max-width: 1150px) {
  .directory-head > .container { gap: 25px; }
  .directory-head h1 { font-size: 23px; }
  .directory-head .eyebrow { font-size: 9px; }
  .directory-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 18px; }
  .result-profile { padding: 20px 18px 14px; }
  .result-calendar { padding: 18px 12px 12px; }
  .result-card .doctor-avatar { width: 60px; height: 60px; }
  .result-card .doctor-card-top { gap: 10px; }
  .result-card .doctor-identity h3 { font-size: 16px; }
  .result-profile-footer { flex-wrap: wrap; gap: 0 12px; }
  .calendar-heading > span { font-size: 10px; gap: 5px; }
  .calendar-navigation button { width: 26px; }
}
@media (max-width: 1000px) {
  .directory-head > .container { flex-direction: column; align-items: stretch; gap: 20px; }
  .directory-head h1 { font-size: 30px; }
  .directory-head .eyebrow { font-size: 11px; }
  .directory-layout { grid-template-columns: minmax(0, 1fr); }
  .directory-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .city-map-art { display: none; }
  .online-callout { margin: 0; }
  .sidebar-note { display: none; }
  .result-profile { padding: 23px 25px 16px; }
  .result-calendar { padding: 23px 22px 16px; }
  .result-card .doctor-avatar { width: 74px; height: 74px; }
  .result-card .doctor-identity h3 { font-size: 19px; }
  .calendar-heading > span { font-size: 12px; }
  .calendar-navigation button { width: 32px; height: 34px; }
  .calendar-slot, .calendar-unavailable { min-height: 39px; font-size: 12px; }
  .calendar-date { font-size: 11px; }
  .calendar-date strong { font-size: 12px; }
  .calendar-more { font-size: 11px; }
  .result-profile-footer .text-link { font-size: 11px; }
}
@media (max-width: 750px) {
  .directory-toolbar { flex-wrap: wrap; gap: 13px; }
  .sort-form { flex: 1 1 100%; justify-content: flex-start; }
  .sort-form select { flex: 1; min-width: 0; max-width: 240px; font-size: 11px; padding-left: 8px; }
  .result-card { grid-template-columns: 1fr 1fr; }
  .result-profile { padding-inline: 16px; }
  .result-calendar { padding-inline: 13px; }
  .result-card .doctor-avatar { width: 55px; height: 55px; }
  .result-card .doctor-identity h3 { font-size: 16px; }
  .calendar-heading > span { font-size: 10px; }
  .calendar-heading > span .po-icon { display: none; }
  .calendar-navigation button { width: 28px; }
}
@media (max-width: 600px) {
  .po-search { padding: 12px; border-radius: 13px; }
  .search-modalities { gap: 4px; padding-bottom: 11px; }
  .search-modalities label { flex: 1; }
  .search-modalities label > span { justify-content: center; min-height: 42px; padding: 8px 9px; font-size: 12px; gap: 5px; }
  .search-modalities .po-icon { width: 16px; height: 16px; }
  .search-fields { flex-direction: column; gap: 9px; }
  .search-fields .search-field, .po-search.is-compact .search-fields .search-field { padding: 8px 12px; }
  .search-fields .search-field label > span { font-size: 10px; }
  .search-fields input, .search-fields select { min-height: 28px; font-size: 16px; font-weight: 500; }
  .search-fields .btn { min-height: 47px; font-size: 13px; }
  .directory-head { padding: 24px 0; }
  .directory-head h1 { font-size: 29px; }
  .directory-head .eyebrow { font-size: 10px; }
  .directory-head > .container { gap: 17px; }
  .directory-toolbar { padding-block: 12px; }
  .directory-toolbar .filter-pills { width: 100%; gap: 6px; }
  .directory-toolbar .filter-pill { flex: 1; min-height: 42px; padding: 8px 10px; }
  .sort-form { width: 100%; gap: 7px; }
  .sort-form select { min-height: 42px; width: 0; padding-right: 16px; font-size: 11px; }
  .sort-form .text-link { min-height: 42px; font-size: 11px; }
  .po-directory .directory-section { padding-top: 24px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 19px; }
  .results-heading h2 { font-size: 23px; }
  .results-count { font-size: 11px; }
  .reset-filters { min-height: 30px; }
  .result-card { grid-template-columns: 1fr; border-radius: 15px; }
  .result-profile { padding: 20px 20px 12px; }
  .result-card .doctor-avatar { width: 68px; height: 68px; }
  .result-card .doctor-identity h3 { font-size: 19px; }
  .result-card .doctor-identity p { font-size: 11px; }
  .result-card .doctor-card-top { gap: 13px; margin-bottom: 17px; }
  .result-location { font-size: 12px; }
  .result-profile-footer { flex-wrap: nowrap; }
  .result-profile-footer .text-link { font-size: 11px; min-height: 40px; }
  .result-profile-footer .demo-label { font-size: 9px; }
  .result-calendar { border-left: 0; border-top: 1px solid #e6ece3; padding: 16px 20px 13px; }
  .calendar-heading > span { font-size: 12px; }
  .calendar-heading > span .po-icon { display: block; }
  .calendar-navigation { gap: 6px; }
  .calendar-navigation button { width: 40px; height: 40px; }
  .calendar-caption { margin-bottom: 13px; font-size: 10px; }
  .calendar-days { gap: 7px; }
  .calendar-slot, .calendar-unavailable { min-height: 44px; font-size: 12px; }
  .calendar-more { font-size: 11px; min-height: 42px; margin-top: 7px; }
  .directory-sidebar { grid-template-columns: 1fr; gap: 16px; }
  .city-explorer-body { padding: 22px; }
  .city-explorer h3 { font-size: 18px; }
  .city-explorer p { font-size: 12px; }
  .city-links a { min-height: 44px; font-size: 12px; }
  .online-callout { padding: 24px; }
  .online-callout .text-link { font-size: 12px; }
  .demo-note { font-size: 11px; }
}
