/* The bar an administrator sees while acting as a user (impersonation). Fixed to the bottom of the
   window, so it stays out of every page's layout (the body is a grid on most pages). */
.impersonation-bar {
  align-items: center;
  background: #8a3b00;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.5rem 1rem;
  inset-block-end: 16px;
  inset-inline: 16px;
  justify-content: center;
  margin-inline: auto;
  max-inline-size: 960px;
  padding: 0.5rem 1rem;
  position: fixed;
  text-align: center;
  z-index: 9998;
}

.impersonation-bar form {
  display: inline;
}

.impersonation-bar__stop {
  background: #fff;
  border: 0;
  border-radius: 6px;
  color: #8a3b00;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}

.impersonation-bar__stop:hover {
  background: #fde7d6;
}
