/* Search and appointments also work with another WordPress theme. */
.po-search { display: flex; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid #dce7df; border-radius: 14px; box-shadow: 0 6px 24px #22422e06; }
.search-field { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 8px 20px; }
.search-field > .po-icon { width: 21px; height: 21px; color: #53836b; }
.search-field + .search-field { border-left: 1px solid #e1e9e3; }
.search-field label { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.search-field label > span { font-size: 12px; color: #596d63; }
.search-field input, .search-field select { width: 100%; min-height: 28px; padding: 0 15px 0 0; background: transparent; border: 0; border-radius: 0; color: #20382f; font-size: 14px; font-weight: 600; }
.search-field input::placeholder { color: #496151; opacity: 1; }
.search-field select { cursor: pointer; }
.po-search .btn { min-width: 210px; font-size: 14px; }
.po-search .btn .po-icon { width: 18px; height: 18px; }

.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.psychologist-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 24px 17px; border: 1px solid #dfe7e2; border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.psychologist-card:hover { border-color: #9abdac; box-shadow: 0 8px 24px #214d3610; }
.doctor-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.doctor-avatar { position: relative; display: block; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: #edf3ed; }
.doctor-avatar > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.doctor-avatar > .po-icon { margin: 20px; }
.avatar-mark { display: none; }
.doctor-identity { min-width: 0; }
.doctor-identity .eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; color: #596d63; }
.doctor-identity h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.4; letter-spacing: -.4px; }
.doctor-identity h3 a:hover { color: #176653; }
.doctor-identity p { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; font-size: 11px; color: #596d63; }
.doctor-identity p .po-icon { width: 13px; height: 13px; }
.doctor-identity .dot { margin-inline: 2px; }
.doctor-quote { min-height: 68px; margin-bottom: 16px; color: #53675b; font-size: 13px; line-height: 1.8; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tags > span, .tags > a, .tag { padding: 5px 9px; border-radius: 6px; background: #eff5f0; color: #436452; font-size: 10px; line-height: 1.5; }
.tags > a:hover { background: #deeee2; }
.doctor-detail { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 0 14px; border-top: 1px solid #e7ede8; margin-top: auto; font-size: 12px; color: #596d63; }
.doctor-detail > span { display: flex; align-items: center; gap: 5px; }
.doctor-detail .po-icon { width: 15px; height: 15px; }
.doctor-detail strong { font-size: 23px; color: #20382f; white-space: nowrap; }
.doctor-detail small { font-size: 11px; font-weight: 400; color: #596d63; }
.next-slot { display: flex; align-items: center; gap: 7px; margin: 0 0 17px; font-size: 12px; color: #326c50; }
.next-slot .status-dot { width: 6px; height: 6px; }
.psychologist-card .btn { min-height: 46px; font-size: 13px; padding: 11px 12px; gap: 12px; }
.psychologist-card .btn .po-icon { width: 17px; height: 17px; }
.demo-label { display: block; margin-top: 10px; text-align: center; font-size: 10px; color: #657569; }

.directory-head { padding: 36px 0 30px; background: #f1f7f3; }
.directory-head .eyebrow { margin-bottom: 10px; }
.directory-head h1 { margin-bottom: 12px; font-size: 42px; }
.directory-head p { font-size: 15px; margin-bottom: 25px; }
.directory-section { padding-top: 30px; }
.directory-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.filter-pills { display: flex; align-items: center; gap: 7px; }
.filter-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 18px; border: 1px solid #d8e4dc; border-radius: 9px; background: #fff; color: #496351; font-size: 13px; }
.filter-pill:hover { border-color: #83aa91; }
.filter-pill .po-icon { width: 17px; height: 17px; }
.filter-pill.active { background: #176653; border-color: #176653; color: #fff; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #596d63; }
.sort-form select { min-height: 42px; padding: 8px 26px 8px 11px; border: 1px solid #d8e4dc; border-radius: 8px; background: #fff; color: #314e3c; font-size: 12px; }
.sort-form .text-link { font-size: 12px; }
.results-count { margin-bottom: 24px; font-size: 14px; }
.results-count strong { color: #20382f; font-weight: 600; }
.results-count a { text-decoration: underline; text-underline-offset: 3px; }
.demo-note { max-width: 750px; margin: 28px auto 0; color: #657569; text-align: center; font-size: 12px; }
.empty-state { padding: 60px 25px; border: 1px solid #e0e8e1; border-radius: 16px; background: #f5f8f5; text-align: center; }
.empty-state > .po-icon { width: 40px; height: 40px; margin-bottom: 20px; color: #548366; }
.empty-state h2 { max-width: 570px; margin: 0 auto 17px; font-size: 27px; }
.empty-state p { font-size: 15px; margin-bottom: 24px; }
.directory-section .empty-state { margin-top: 20px; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 27px; color: #596d63; font-size: 12px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 30px; }
.breadcrumbs a:hover { text-decoration: underline; }
.profile-top { padding: 25px 0 35px; background: #f1f7f3; }
.profile-identity { display: flex; align-items: center; gap: 28px; }
.profile-avatar { width: 120px; height: 120px; flex-shrink: 0; padding: 5px; border: 1px solid #d4e3d7; border-radius: 50%; background: #fff; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-identity h1 { margin-bottom: 12px; font-size: 38px; }
.profile-identity .eyebrow { margin-bottom: 8px; font-size: 12px; }
.profile-location { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; font-size: 14px; }
.profile-location .po-icon { width: 18px; height: 18px; }
.profile-identity .tags { margin-bottom: 11px; }
.profile-identity .tags > a { background: #fff; border: 1px solid #dce7dd; font-size: 12px; }
.profile-demo { margin: 0; font-size: 11px; color: #657569; }
.profile-body { padding-top: 35px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 395px; align-items: start; gap: 55px; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 20px 9px; margin-bottom: 35px; background: #fff; border: 1px solid #dfe7e2; border-radius: 12px; }
.profile-facts > div { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-inline: 7px; text-align: center; font-size: 12px; color: #596d63; }
.profile-facts > div + div { border-left: 1px solid #e1e9e3; }
.profile-facts .po-icon { width: 22px; height: 22px; margin-bottom: 4px; color: #58866a; }
.profile-facts strong { font-size: 13px; font-weight: 600; color: #314e3c; }
.profile-block { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid #e2e9e3; }
.profile-block h2 { margin-bottom: 17px; font-size: 25px; letter-spacing: -.6px; }
.profile-block > p, .profile-block .content-prose { font-size: 15px; line-height: 1.9; }
.training-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0 0 23px; font-size: 14px; color: #596d63; }
.training-list li { display: flex; align-items: flex-start; gap: 12px; }
.training-list .po-icon { width: 19px; height: 19px; margin-top: 3px; color: #548366; }
.registry { display: flex; gap: 10px; padding: 17px; border-radius: 8px; margin-bottom: 0; background: #f1f6f1; font-size: 13px !important; }
.registry .po-icon { width: 19px; height: 19px; margin-top: 3px; }
.location-card { display: flex; align-items: flex-start; gap: 15px; padding: 22px; background: #f1f6f1; border-radius: 10px; }
.location-card > .po-icon { color: #548366; }
.location-card strong { font-size: 15px; }
.location-card p { font-size: 14px; margin: 5px 0; }
.location-card .muted { font-size: 12px; }

.booking-panel { border: 1px solid #d6e4d9; border-radius: 16px; background: #fff; box-shadow: 0 7px 28px #21432e08; overflow: hidden; scroll-margin-top: 95px; }
.booking-panel-heading { padding: 24px 25px 20px; background: #f1f7f2; border-bottom: 1px solid #dfebe1; }
.booking-panel-heading .eyebrow { font-size: 11px; margin-bottom: 9px; }
.booking-panel-heading h2 { font-size: 25px; margin-bottom: 10px; letter-spacing: -.7px; }
.booking-panel-heading p { margin: 0; font-size: 13px; color: #596d63; }
.booking-panel-heading strong { font-size: 27px; color: #20382f; margin-right: 4px; }
.po-booking-form { padding: 23px 25px; }
.booking-step { margin-bottom: 24px; }
.step-label { display: block; font-size: 13px; font-weight: 700; color: #314e3c; margin-bottom: 12px; }
.modality-options { display: flex; gap: 10px; }
.modality-options label { flex: 1; cursor: pointer; }
.modality-options input { position: absolute; opacity: 0; pointer-events: none; }
.modality-options label > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid #d6e2d8; border-radius: 8px; font-size: 13px; color: #536e5c; }
.modality-options .po-icon { width: 18px; height: 18px; }
.modality-options input:checked + span { background: #eaf5ed; color: #176653; border-color: #70a48a; box-shadow: inset 0 0 0 1px #70a48a; }
.modality-options input:focus-visible + span { outline: 3px solid #337e69; outline-offset: 3px; }
.po-booking-form input[type=date], .po-booking-form input[type=text], .po-booking-form input[type=email], .po-booking-form input[type=tel], .account-card input[type=text], .account-card input[type=password] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #ccdcd0; border-radius: 8px; background: #fff; color: #20382f; font-size: 15px; }
.po-booking-form input::placeholder { color: #647a6a; opacity: 1; }
.po-booking-form input[readonly] { background: #f4f7f4; }
.field-help { display: block; margin-top: 8px; font-size: 11px; color: #596d63; }
.time-slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 46px; margin-top: 16px; font-size: 13px; color: #536e5c; line-height: 1.8; }
.time-slot { flex: 0 0 calc(25% - 6px); min-height: 44px; padding: 9px 4px; border: 1px solid #d0e0d4; border-radius: 7px; background: #f7faf7; color: #326249; font-size: 13px; }
.time-slot:hover { border-color: #64977b; background: #edf6ee; }
.time-slot.selected { border-color: #176653; background: #176653; color: #fff; }
.booking-selection { padding: 13px 15px; margin-bottom: 21px; background: #edf6ee; border-radius: 8px; border-left: 3px solid #4a9470; color: #2f6145; font-size: 13px; font-weight: 600; }
.booking-hint { padding: 14px; margin: 0; border-radius: 8px; background: #f4f7f4; color: #536e5c; font-size: 12px; text-align: center; }
.booking-details[hidden], .booking-selection[hidden], .booking-hint[hidden] { display: none; }
.form-label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 500; color: #314e3c; }
.form-label input { display: block; margin-top: 6px; }
.form-label .muted { font-weight: 400; font-size: 11px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 17px; color: #596d63; font-size: 11px; line-height: 1.8; }
.consent-label input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: #176653; flex-shrink: 0; }
.consent-label a { color: #176653; text-decoration: underline; text-underline-offset: 3px; }
.po-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.po-booking-form .btn { font-size: 13px; min-height: 48px; }
.po-booking-form .btn .po-icon { width: 17px; height: 17px; }
.po-booking-form .btn:disabled { cursor: not-allowed; opacity: .6; }
.booking-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: #596d63; margin: 14px 0 0; }
.booking-footnote .po-icon { width: 15px; height: 15px; }
.demo-notice { padding: 12px 14px; margin-bottom: 17px; border-radius: 7px; background: #faf4e6; color: #746031; font-size: 11px; line-height: 1.8; }
.form-feedback { font-size: 13px; margin-bottom: 14px; line-height: 1.8; }
.form-feedback:empty { display: none; }
.form-feedback.is-error { padding: 13px; border-radius: 8px; background: #fff1ed; color: #993e2b; }
.booking-success { padding: 32px 25px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: #e3f2e6; color: #28734d; font-size: 27px; }
.booking-success h3 { font-size: 25px; margin-bottom: 18px; }
.booking-success p { font-size: 14px; }
.booking-success p:last-child { font-size: 13px; margin-bottom: 0; }
.booking-reference { padding: 13px; border-radius: 8px; background: #edf6ee; color: #326249; font-weight: 700; }

.account-section h1 { font-size: 42px; }
.account-section > div > p { font-size: 15px; }
.account-card { max-width: 480px; padding: 30px; margin: 26px 0; border: 1px solid #d6e2d8; border-radius: 14px; background: #fff; }
.account-card label { display: block; font-size: 13px; margin-bottom: 7px; }
.account-card .login-remember label { display: flex; align-items: center; gap: 8px; }
.account-card #wp-submit { min-height: 46px; padding: 11px 24px; border: 0; border-radius: 8px; background: #176653; color: white; font-size: 14px; font-weight: 600; cursor: pointer; }
.account-card .text-link { font-size: 13px; }
.account-booking { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; margin: 20px 0; border: 1px solid #d6e2d8; border-radius: 14px; background: #fff; }
.account-booking .eyebrow { font-size: 11px; margin-bottom: 8px; }
.account-booking h3 { font-size: 22px; margin-bottom: 8px; }
.account-booking p { font-size: 13px; }
.account-booking .text-link { font-size: 12px; }
.success-message { padding: 18px; margin: 20px 0; border-radius: 8px; background: #e7f5e9; color: #326249; font-size: 14px; }

@media (max-width: 1100px) {
  .search-field { padding-inline: 15px; }
  .po-search .btn { min-width: 200px; font-size: 13px; }
  .search-field input, .search-field select { font-size: 13px; }
  .doctor-grid { gap: 17px; }
  .psychologist-card { padding: 21px 18px 15px; }
  .doctor-card-top { gap: 11px; }
  .doctor-avatar { width: 57px; height: 57px; }
  .doctor-identity h3 { font-size: 16px; }
  .doctor-identity p { font-size: 10px; }
  .doctor-detail { font-size: 11px; }
  .doctor-detail small { font-size: 10px; }
  .doctor-detail strong { font-size: 21px; }
  .tags > span { font-size: 9px; }
  .profile-grid { gap: 35px; grid-template-columns: minmax(0,1fr) 365px; }
}

@media (max-width: 950px) {
  .search-field { gap: 8px; padding-inline: 12px; }
  .search-field label > span { font-size: 11px; }
  .po-search .btn { min-width: 175px; padding-inline: 13px; font-size: 12px; }
  .doctor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .professionals-section .doctor-grid { grid-template-columns: 1fr; }
  .professionals-section .psychologist-card { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 28px; }
  .professionals-section .doctor-card-top { grid-column: 1; grid-row: 1; }
  .professionals-section .doctor-quote { grid-column: 1; grid-row: 2; min-height: 0; }
  .professionals-section .tags { grid-column: 1; grid-row: 3 / 5; margin-bottom: 0; }
  .professionals-section .doctor-detail { grid-column: 2; grid-row: 1; border-top: 0; margin-top: 0; }
  .professionals-section .next-slot { grid-column: 2; grid-row: 2; }
  .professionals-section .btn { grid-column: 2; grid-row: 3; }
  .professionals-section .demo-label { grid-column: 2; grid-row: 4; }
  .doctor-identity h3 { font-size: 18px; }
  .doctor-identity p { font-size: 12px; }
  .doctor-quote { font-size: 14px; }
  .tags > span { font-size: 11px; }
  .doctor-detail { font-size: 12px; }
  .doctor-avatar { width: 62px; height: 62px; }
  .directory-toolbar { flex-wrap: wrap; gap: 15px; }
  .profile-grid { grid-template-columns: minmax(0,1fr) 325px; gap: 25px; }
  .profile-facts { grid-template-columns: 1fr; gap: 15px; padding: 18px; }
  .profile-facts > div { display: grid; grid-template-columns: 25px 1fr; text-align: left; padding: 0; gap: 2px 10px; }
  .profile-facts .po-icon { grid-row: 1 / 3; margin: 0; }
  .profile-facts > div + div { border: 0; }
  .po-booking-form { padding: 22px 20px; }
  .booking-panel-heading { padding: 22px 20px 18px; }
  .booking-panel-heading h2 { font-size: 23px; }
}

@media (max-width: 650px) {
  .po-search { flex-direction: column; padding: 6px 13px 13px; border-radius: 12px; }
  .search-field { min-height: 65px; padding: 10px 4px; gap: 12px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid #e1e9e3; }
  .search-field label > span { font-size: 11px; }
  .search-field input, .search-field select { font-size: 16px; min-height: 28px; }
  .po-search .btn { min-height: 48px; margin-top: 8px; font-size: 14px; }
  .doctor-grid, .professionals-section .doctor-grid { grid-template-columns: 1fr; gap: 16px; }
  .psychologist-card, .professionals-section .psychologist-card { display: flex; padding: 22px 20px 16px; }
  .doctor-card-top { gap: 13px; margin-bottom: 16px; }
  .doctor-avatar { width: 60px; height: 60px; }
  .doctor-identity h3 { font-size: 17px; }
  .doctor-identity .eyebrow { font-size: 10px; }
  .doctor-identity p { font-size: 11px; }
  .doctor-quote { font-size: 13px; min-height: 0; margin-bottom: 15px; }
  .tags > span, .tags > a { font-size: 10px; }
  .tags, .professionals-section .tags { margin-bottom: 18px; }
  .doctor-detail, .professionals-section .doctor-detail { padding: 16px 0 13px; border-top: 1px solid #e7ede8; }
  .doctor-detail strong { font-size: 23px; }
  .doctor-detail small { font-size: 11px; }
  .next-slot { font-size: 12px; }
  .psychologist-card .btn { font-size: 13px; min-height: 46px; }
  .demo-label { font-size: 10px; }
  .directory-head { padding: 30px 0 25px; }
  .directory-head h1 { font-size: 34px; }
  .directory-head p { font-size: 14px; }
  .directory-section { padding-top: 24px; }
  .directory-toolbar { align-items: flex-start; gap: 17px; margin-bottom: 19px; }
  .filter-pill { padding: 8px 14px; font-size: 12px; }
  .sort-form { width: 100%; gap: 8px; }
  .sort-form select { flex: 1; min-width: 0; font-size: 13px; }
  .sort-form .text-link { min-width: 44px; }
  .results-count { font-size: 13px; }
  .demo-note { font-size: 11px; }
  .profile-top { padding: 20px 0 27px; }
  .breadcrumbs { font-size: 11px; gap: 7px; margin-bottom: 22px; }
  .profile-identity { align-items: flex-start; gap: 15px; }
  .profile-avatar { width: 76px; height: 76px; padding: 3px; }
  .profile-identity > div:last-child { min-width: 0; }
  .profile-identity h1 { font-size: 26px; letter-spacing: -.8px; margin-bottom: 8px; }
  .profile-identity .eyebrow { font-size: 10px; letter-spacing: 0; margin-bottom: 5px; }
  .profile-location { font-size: 12px; gap: 5px; margin-bottom: 12px; }
  .profile-location .po-icon { width: 14px; height: 14px; }
  .profile-identity .tags > a { font-size: 10px; }
  .profile-demo { font-size: 10px; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-content { order: 2; }
  .booking-panel { order: 1; }
  .profile-body { padding-top: 25px; }
  .booking-panel-heading { padding: 22px; }
  .booking-panel-heading h2 { font-size: 25px; }
  .po-booking-form { padding: 22px; }
  .po-booking-form input[type=date], .po-booking-form input[type=text], .po-booking-form input[type=email], .po-booking-form input[type=tel] { font-size: 16px; }
  .step-label { font-size: 13px; }
  .consent-label, .demo-notice, .booking-footnote { font-size: 11px; }
  .profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; padding: 18px 5px; }
  .profile-facts > div { display: flex; padding: 0 5px; text-align: center; font-size: 10px; gap: 5px; }
  .profile-facts > div + div { border-left: 1px solid #e1e9e3; }
  .profile-facts strong { font-size: 11px; }
  .profile-block > p, .profile-block .content-prose { font-size: 14px; }
  .training-list { font-size: 13px; }
  .account-section h1 { font-size: 34px; }
  .account-card { padding: 23px; }
  .account-card input[type=text], .account-card input[type=password] { font-size: 16px; }
  .account-booking { display: block; padding: 21px; }
  .account-booking form { margin-top: 15px; }
  .account-booking h3 { font-size: 21px; }
  .empty-state { padding: 40px 21px; }
  .empty-state h2 { font-size: 24px; }
  .empty-state p { font-size: 14px; }
}
