
/* Hall Pass 2.0: left-aligned school branding */
.hp-brand-header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}

.hp-brand-logo {
  display: none;
  width: auto;
  height: auto;
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hp-brand-logo.hp-logo-ready {
  display: block;
}

.hp-brand-text {
  min-width: 0;
}

.hp-brand-text h1,
.hp-brand-text h2 {
  margin-top: 0;
}

@media (max-width: 600px) {
  .hp-brand-logo {
    max-width: 44px;
    max-height: 44px;
  }
}

/* Force logo to the left of the Admin Console title */
.hp-brand-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100%;
}

.hp-brand-header > .hp-brand-logo {
  position: static !important;
  order: -1 !important;
  margin: 0 !important;
  max-width: 60px !important;
  max-height: 60px !important;
}

.hp-brand-header > .hp-brand-text {
  order: 0 !important;
  flex: 1;
  text-align: left !important;
}


/* Admin Console: logo left of school name */
header .hp-admin-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  min-width: 0;
}

header .hp-admin-logo {
  display: none;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 !important;
}

header .hp-admin-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left !important;
}

header .hp-admin-brand-text strong,
header .hp-admin-brand-text small {
  text-align: left !important;
}
