/* Layout for the shared shell. Colors live in brand.css. */

.xq-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

.xq-brand-mark {
  display: block;
  width: 2.8rem;
  height: 2.25rem;
  overflow: hidden;
  flex: none;
  border-radius: 0.35rem;
}

.xq-brand-mark img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: none;
}

.xq-brand-name {
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.xq-sidebar .navbar-collapse {
  width: 100%;
}

.xq-sidebar .nav-link,
.xq-topbar .nav-link {
  font: inherit;
}

.xq-sidebar button.nav-link,
.xq-topbar button.nav-link {
  background: transparent;
  border: 0;
  color: inherit;
}

.xq-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: start;
}

.xq-sidebar .nav-link-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.xq-sidebar .nav-link-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.xq-sidebar .dropdown-menu {
  position: static;
  padding-inline-start: 1.75rem;
}

.xq-soon {
  margin-inline-start: auto;
  font-size: 0.68rem;
  line-height: 1.2;
  padding: 0.1rem 0.4rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
}

.xq-topbar .container-xl {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.xq-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.xq-status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  flex: none;
}

.xq-company {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.xq-status-label {
  flex: none;
  font-size: 0.8125rem;
  font-weight: 600;
}

.xq-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 12rem;
}

button.dropdown-item.xq-theme-toggle {
  width: 100%;
  text-align: start;
  border: 0;
}

.xq-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xq-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xq-auth .xq-brand {
  justify-content: center;
}

.xq-auth form p {
  margin-bottom: 0.85rem;
}

.xq-auth label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.xq-auth .helptext,
.xq-auth .errorlist {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
}

.xq-auth .errorlist {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

/* Pages written for the old shell still wrap themselves in this. */
.content-wrapper {
  width: 100%;
}
