/* Family tree admin — Arabic RTL + El Messiri */
:root,
[data-bs-theme='light'],
[data-bs-theme='dark'] {
  --bs-font-sans-serif: 'El Messiri', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;
  --bs-body-font-family: 'El Messiri', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;
}

html[dir='rtl'] body {
  font-family: 'El Messiri', sans-serif;
}

.dz-message.needsclick {
  text-align: center;
}

.family-admin-page-title {
  margin-bottom: 1.5rem;
}

/* Select2 inside Bootstrap offcanvas — dropdown was clipped / behind panel */
.offcanvas .select2-container {
  display: block;
  width: 100% !important;
  z-index: 1;
}

.offcanvas .select2-container .select2-selection--single {
  min-height: calc(2.25rem + 2px);
  align-items: center;
}

.offcanvas .select2-container .select2-selection__rendered {
  line-height: 2.25rem;
  padding-inline: 0.875rem;
}

.offcanvas .select2-container--open {
  z-index: 1100;
}

.offcanvas .select2-dropdown {
  z-index: 1100 !important;
}

.select2-container--open .select2-dropdown {
  z-index: 1100;
}

.offcanvas .select2-search__field {
  width: 100% !important;
}

/* Hide BrowserSync connected badge if notify is re-enabled */
