[data-doctor-directory] [data-doctor-id][hidden] { display: none !important; }
[data-doctor-results] { position: relative; min-height: 280px; }
[data-doctor-results] .doctor_list { transition: opacity .18s ease; }
[data-doctor-results].is-updating .doctor_list { opacity: .65; }
[data-doctor-results] .doctor_list.is-entering { animation: dentum-doctors-enter .28s cubic-bezier(.22,.8,.32,1); }
[data-doctor-status][hidden] { display: none; }
[data-doctor-status].is-loading { position: absolute; top: 120px; left: 50%; z-index: 2; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 100px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.09); color: #087e86; font-size: 16px; line-height: 24px; white-space: nowrap; }
[data-doctor-status].is-loading::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #d4eeeb; border-top-color: #0b9da6; border-radius: 50%; animation: dentum-doctors-spin .75s linear infinite; }
[data-doctor-status].is-error { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 20px 24px; border-radius: 16px; background: #e7f7f5; color: #444; }
[data-doctor-status].is-error .btn { flex-shrink: 0; }
[data-doctor-directory] .doctors_empty { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 24px; border-radius: 16px; background: #f8f8f8; text-align: center; }
[data-doctor-directory] .doctors_empty__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 50%; background: #e7f7f5; color: #0b9da6; }
[data-doctor-directory] .doctors_empty__title { margin: 0 0 12px; color: #444; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.48px; }
[data-doctor-directory] .doctors_empty__text { max-width: 440px; margin: 0; color: #666; font-size: 16px; line-height: 1.5; }
[data-doctor-directory] .doctors_empty__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 24px; }
[data-doctor-directory] .doctors_empty__actions .btn { min-height: 44px; padding: 12px 20px; border: 0; color: #05636a; font-family: inherit; font-size: 14px; cursor: pointer; }
[data-doctor-directory] .doctors_empty__clear { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #087e86; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
[data-doctor-directory] .doctors_empty__clear:hover { color: #05636a; }
[data-doctor-directory] .doctors_empty button:focus-visible, [data-doctor-status] button:focus-visible { outline: 2px solid #087e86; outline-offset: 4px; }
[data-doctor-directory] .doctors_page_wrap_filter_action_btn { text-align: center; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
[data-doctor-directory] .doctor_component .docotr_meta { color: inherit; text-decoration: none; }
[data-doctor-directory] .doctor_image { position: relative; }
[data-doctor-directory] .doctor_image > a:first-child { display: block; }
[data-doctor-directory] .page_title:focus { outline: none; }
@keyframes dentum-doctors-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dentum-doctors-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  [data-doctor-results] .doctor_list { transition: none; }
  [data-doctor-results] .doctor_list.is-entering, [data-doctor-status].is-loading::before { animation: none; }
}

/* Селект клиники вместо переключателя из двух кнопок. По умолчанию — «Все клиники». */
[data-doctor-directory] .doctors_clinic_select { position: relative; }
[data-doctor-directory] .doctors_clinic_select__toggle {
  width: 100%; height: 45px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 20px 0 30px; border: 0; border-radius: 100px; background: #f8f8f8;
  color: #444; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 22px;
  letter-spacing: -0.32px; text-align: left; cursor: pointer; transition: background .2s ease;
}
[data-doctor-directory] .doctors_clinic_select__toggle:hover { background: #f1f1f1; }
[data-doctor-directory] .doctors_clinic_select__toggle svg { flex-shrink: 0; color: #9f9f9f; transition: transform .2s ease; }
[data-doctor-directory] .doctors_clinic_select.is-open .doctors_clinic_select__toggle svg { transform: rotate(180deg); }
[data-doctor-directory] .doctors_clinic_select__menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 5; padding: 8px;
  border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
[data-doctor-directory] .doctors_clinic_select__option {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px;
  padding: 11px 22px; border-radius: 10px; color: #444; font-size: 16px; font-weight: 500;
  line-height: 22px; letter-spacing: -0.32px; text-decoration: none; transition: background .15s ease, color .15s ease;
}
[data-doctor-directory] .doctors_clinic_select__option:hover { background: #f8f8f8; color: #444; }
[data-doctor-directory] .doctors_clinic_select__option.is-active { background: #e7f7f5; color: #0b9da6; }
[data-doctor-directory] .doctors_clinic_select__option.is-active::after {
  content: ""; width: 11px; height: 6px; margin-left: 12px; flex-shrink: 0;
  border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(-45deg) translate(1px, -2px);
}
@media screen and (max-width: 1199px) {
  [data-doctor-status].is-loading { top: 144px; }
  [data-doctor-directory] .doctors_clinic_select__toggle { padding-left: 20px; font-size: 14px; line-height: 20px; }
  [data-doctor-directory] .doctors_clinic_select__option { padding: 10px 16px; font-size: 14px; line-height: 20px; }
}
@media screen and (max-width: 767px) {
  [data-doctor-directory] .doctors_empty { padding: 28px 20px; }
  [data-doctor-directory] .doctors_empty__title { font-size: 20px; }
  [data-doctor-directory] .doctors_empty__text { font-size: 14px; }
  [data-doctor-status].is-error { flex-direction: column; align-items: flex-start; padding: 18px; }
}
