.language-switcher { position: relative; z-index: 50; flex-shrink: 0; color: #143f43; font-size: 12px; }
.language-switcher summary { min-height: 42px; padding: 8px 11px; display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; border: 1px solid #dce9e6; background: #fff; border-radius: 12px; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover, .language-switcher[open] summary { background: #edf7f4; border-color: #8cbdb4; }
.language-switcher summary:focus-visible, .language-options a:focus-visible { outline: 2px solid #0b615d; outline-offset: 3px; }
.language-chevron { margin-inline-start: 3px; }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; background: #fff; border: 1px solid #dce9e6; border-radius: 13px; box-shadow: 0 12px 32px #143f4326; }
.language-options a { padding: 10px; display: flex; align-items: center; gap: 10px; border-radius: 8px; color: inherit; text-decoration: none; font-family: inherit; }
.language-options a:hover, .language-options a[aria-current] { background: #edf7f4; }
.language-check { margin-inline-start: auto; color: #0b615d; }
@media (max-width: 850px) {
  html[dir="ltr"] .sidebar { transform: translateX(-100%); }
  html[dir="ltr"] .sidebar.open { transform: translateX(0); }
}
html[lang="en"] body { font-family: Arial, Helvetica, sans-serif; }
html[lang="ar"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="ltr"] .network-core, html[dir="ltr"] .network-patient,
html[dir="ltr"] .patient-workspace, html[dir="ltr"] .patient-card small { direction: ltr; }
html[dir="ltr"] .patient-card, html[dir="ltr"] .icd-option, html[dir="ltr"] .chat-room-card,
html[dir="ltr"] .family-member, html[dir="ltr"] .appointment-card, html[dir="ltr"] .team-picker-item { text-align: start; }
html[dir="ltr"] .button svg use[href="#p-arrow"], html[dir="ltr"] .text-link svg use[href="#p-arrow"] { transform: rotate(180deg); transform-origin: center; }
@media (max-width: 1100px) and (min-width: 821px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .site-nav { order: 3; flex-basis: 100%; margin-inline: 0; justify-content: center; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; padding-block: 10px; gap: 8px; }
  .header-actions { margin-inline-start: auto; }
  .nav-toggle { margin-inline-start: auto; margin-inline-end: 0; }
  .language-switcher summary { min-height: 38px; padding: 7px 9px; font-size: 11px; }
  .topbar { flex-wrap: wrap; gap: 10px; }
  .topbar-actions { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .header-actions { flex-basis: 100%; justify-content: flex-end; }
  .header-actions .language-switcher { margin-inline-end: auto; }
  .language-options { inset-inline-start: 0; inset-inline-end: auto; }
}
