/*
 * Overrides that sit outside the compiled theme.css bundle. WHMCS links this
 * file automatically whenever it exists (see the parent theme's
 * includes/head.tpl), so it survives a rebuild of theme.css.
 */

/*
 * Login, registration and password reset keep only the brand in the header.
 * With the search box and cart button gone, nothing else holds the white bar
 * open, so the brand itself carries the 40px those controls contribute on
 * every other page.
 */
/* The brand is the only thing left in the bar, so it sits in the middle. */
header.header .navbar-auth .container {
  justify-content: center;
}

/* Logo on top, the name underneath it. */
header.header .navbar-auth .navbar-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 0;
  color: #444;
}

header.header .navbar-auth .logo-img {
  width: auto;
  height: 64px;
  max-height: 64px;
}

header.header .navbar-auth .brand-name {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}
