.topbar {
  min-height: 76px;
  height: 76px;
  padding: 0 26px;
  background: linear-gradient(90deg, #ffffff 0%, #f7fbff 100%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #10213a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 -3px 0 #20b8d2;
}

.brand-words {
  display: grid;
  line-height: 1.05;
}

.brand-product {
  color: #10213a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-company {
  margin-top: 4px;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shell {
  min-height: calc(100vh - 76px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 76px);
}

.sidebar nav {
  flex: 1;
}

.sidebar-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #36506f;
}

.logout-form {
  margin: 0;
}

.logout-button {
  width: 100%;
  border: 1px solid #36506f;
  border-radius: 9px;
  background: #172d4d;
  color: #f4f8ff;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.logout-button:hover {
  background: #244263;
}

.demo-login-page {
  min-height: 100vh;
  background: #f4f7fb;
}

.demo-login-brandbar {
  height: 82px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid #dfe3e8;
  background: #ffffff;
}

.demo-login-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 56px;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.demo-login-card,
.demo-accounts-card {
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.demo-login-card h1,
.demo-accounts-card h2 {
  margin-top: 0;
}

.demo-login-card label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
}

.demo-login-card input,
.demo-login-card select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  padding: 8px 10px;
  font: inherit;
  background: #ffffff;
}

.demo-login-submit {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: #0b84a5;
  color: #ffffff;
  font-weight: 750;
  cursor: pointer;
}

.demo-login-error {
  padding: 10px 12px;
  border-radius: 9px;
  background: #fdecec;
  color: #b42318;
}

.demo-password-note {
  padding: 10px 12px;
  border-radius: 9px;
  background: #e0f5f8;
  color: #0b5f74;
  font-size: 13px;
}

.demo-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.demo-account {
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fafcff;
}

.demo-account strong,
.demo-account code,
.demo-account small {
  display: block;
}

.demo-account code {
  margin-top: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.demo-account small {
  margin-top: 4px;
  color: #667085;
}

@media (max-width: 820px) {
  .demo-login-shell {
    grid-template-columns: 1fr;
  }

  .brand-company {
    letter-spacing: 0.1em;
  }
}
