/* admin-overlay.css — nur sichtbar wenn body.msc-admin-active. */

.msc-admin-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  user-select: text;
}

.msc-admin-badge__id {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-admin-badge__btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.12s ease;
}

.msc-admin-badge__btn:hover,
.msc-admin-badge__btn:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.msc-admin-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  animation: msc-admin-toast-in 0.2s ease-out;
}

@keyframes msc-admin-toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
