.account-access-card {
  display: grid;
  gap: 12px;
}

.account-access-form,
.account-change-form {
  display: grid;
  gap: 15px;
}

.account-access-form h1,
.account-access-form p {
  margin-top: 0;
}

.account-link-button {
  appearance: none;
  border: 0;
  padding: 8px;
  background: transparent;
  color: #087f8c;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 800;
}

.account-password-help,
.account-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-status.success {
  color: #08734f;
  font-weight: 800;
}

.account-status.error {
  color: #b42318;
  font-weight: 800;
}

.account-workspace {
  gap: 22px;
}

.account-security-panel {
  max-width: 760px;
}

.account-security-panel > p {
  color: var(--muted);
  line-height: 1.55;
}

.account-change-form {
  margin-top: 22px;
}

.account-change-form .primary-button {
  justify-self: start;
}

.account-first-login-notice {
  padding: 16px;
  border: 1px solid #67d9db;
  border-radius: 12px;
  background: #e6f9f9;
  color: #16475a;
  font-weight: 700;
}

.account-temporary-credential {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f3fafb;
}

.account-temporary-credential label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.account-temporary-credential input {
  min-width: 0;
  width: 100%;
  font-family: monospace;
}

.password-change-required .sidebar nav,
.password-change-required .top-actions a {
  display: none;
}

#account-first-login-notice[hidden],
#dorotidots-enrollment[hidden],
#dorotidots-create[hidden],
#dorotidots-credential[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .account-app .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-change-form .primary-button {
    width: 100%;
  }
}
