/* iBlogger v142 — readable and consistent auth heading emoji.
   A dedicated flex item keeps the waving hand visually in front (left)
   of Persian headline text; no CSS-generated emoji or bidi overlaps.
   Applies to both login and signup across desktop and mobile layouts. */

body.auth-page.auth-next .authn-heading h1.auth-heading-inline {
  display: flex !important;
  flex-flow: row nowrap !important;
  direction: rtl !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  max-width: 100% !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Previous themes generated a second icon with ::before on login. */
html body.auth-page #loginTitle.auth-heading-inline::before,
html body.auth-page #loginTitle.auth-heading-inline::after,
html body.auth-page #signupTitle.auth-heading-inline::before,
html body.auth-page #signupTitle.auth-heading-inline::after {
  content: none !important;
  display: none !important;
}

body.auth-page.auth-next .authn-heading .auth-heading-label {
  display: inline-block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  white-space: normal !important;
  text-align: center !important;
}

body.auth-page.auth-next .authn-heading .auth-heading-emoji {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: .98em !important;
  width: 1.2em !important;
  height: 1.3em !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  text-shadow: none !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}

@media (max-width: 380px) {
  body.auth-page.auth-next .authn-heading h1.auth-heading-inline { gap: 7px !important; }
}
