/* Lunisc logo installation — public and registration header only.
   Uses the exact transparent PNG supplied by the site owner.
   Loaded after the existing header layout and typography styles.
   Does not alter header alignment, menus, links, or authentication. */
.header-main .brand .brand-mark {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent url('../images/lunisc-logo.png?v=1') center / contain no-repeat;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}
@media (max-width: 359px) {
  .header-main .brand .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}

/* Lunisc wordmark on phones (EN + AR).
   This overrides the old Arabic-header patch that hid .brand-name below
   680px. Keep both auth actions and the language switch on the same row. */
@media (max-width: 680px) {
  .header-main { gap: 6px; }
  .header-main > .brand {
    gap: 6px;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .header-main > .brand .brand-name {
    display: inline-block;
    font-size: 17px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .header-main .brand .brand-mark {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .header-main > .header-actions {
    margin-inline-start: auto;
    gap: 4px;
  }
  .header-main .auth-link {
    height: 34px;
    padding-inline: 6px;
    font-size: 11px;
    white-space: nowrap;
  }
  .header-main .header-actions .icon-btn.lang {
    min-width: 30px;
    height: 34px;
    padding-inline: 4px;
  }
}
@media (max-width: 359px) {
  .header-main { gap: 4px; }
  .header-main > .brand { gap: 5px; }
  .header-main > .brand .brand-name { font-size: 15px; }
  .header-main .brand .brand-mark {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .header-main > .header-actions { gap: 3px; }
  .header-main .auth-link {
    padding-inline: 4px;
    font-size: 10.5px;
  }
}
