/* Phase 9: the TDI logo, the team password page and the sign-out button.
   Theme tokens of app.css only; the one fixed colour is the white plate behind
   the TDI logo, so its dark-blue lettering stays readable in the dark theme. */

.brand-logo {
  display: block;
  flex: none;
  height: 36px;
  width: auto;
  padding: 4px 8px;
  border-radius: 8px;
  background: #ffffff;
}

/* The TDI logo replaces the small "QA" mark in the header. */
.brand-logo + .brand-mark {
  display: none;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 28px;
    padding: 3px 6px;
  }
}

.login-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.login-logo {
  display: block;
  width: 200px;
  max-width: 70%;
  height: auto;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.login-head p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.login-main {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.login-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.login-form input[type='password'] {
  width: 100%;
  padding: 11px var(--sp-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface-sunken);
  color: var(--text);
  font-size: var(--text-base);
}

.login-form input[type='password']:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.signout-form {
  display: inline;
  margin-left: var(--sp-2);
}

.signout-form button {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  font-size: inherit;
}
