/* "Signed in via Keycloak" badge (see stimulus-app.js's session-badge controller). Only
 * rendered when AgentGateway's oidc policy is actually gating this site — see
 * hooks/stimulus.py and AGENTS.md's Authentication section. */
.session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 0.75rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--md-primary-bg-color);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.session-badge:hover,
.session-badge:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.session-badge::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: #4caf50;
}
