/* Панель демо-стенда: учётные записи на странице входа и плашка «Демо-стенд». */
.demo-accounts {
  box-sizing: border-box;
  margin: 0 24px 24px;
  padding: 12px 14px;
  border: 1px dashed #1d5bbf;
  border-radius: 6px;
  background: #f2f6fd;
  font-size: 13px;
  color: #0f2747;
  overflow: hidden;
}
.demo-accounts *, .demo-accounts *::before, .demo-accounts *::after { box-sizing: border-box; }
.demo-accounts-title { font-weight: 700; margin-bottom: 6px; }
.demo-account-list { display: flex; flex-direction: column; }
.demo-account {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 6px; margin: 0 -6px; border-radius: 4px; cursor: pointer;
  border-top: 1px solid #dde5f2;
}
.demo-account:first-child { border-top: 0; }
.demo-account:hover { background: #e3ecfa; }
.demo-account-text { flex: 1 1 auto; min-width: 0; }
.demo-account-role { font-weight: 600; line-height: 1.3; }
.demo-account-creds {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; margin-top: 3px; color: #4a5a72;
}
.demo-pair { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.demo-label { font-size: 11px; }
.demo-account code {
  font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; background: #fff;
  border: 1px solid #d3dcea; border-radius: 3px; padding: 0 4px; white-space: nowrap; color: #0f2747;
}
.demo-account .demo-use {
  flex: 0 0 auto; font-size: 12px; padding: 4px 12px; border: 1px solid #1d5bbf; border-radius: 4px;
  background: #1d5bbf; color: #fff; cursor: pointer;
}
.demo-account .demo-use:hover { background: #0f2747; border-color: #0f2747; }
.demo-note { margin: 8px 0 0; color: #4a5a72; line-height: 1.45; }
.demo-badge {
  position: fixed; right: 12px; bottom: 12px; z-index: 9999;
  padding: 6px 12px; border-radius: 16px; background: #0f2747; color: #fff;
  font-size: 12px; box-shadow: 0 2px 8px rgba(15, 39, 71, .3); pointer-events: none; opacity: .92;
}
@media (max-width: 480px) {
  .demo-accounts { margin: 0 12px 16px; }
  .demo-badge span { display: none; }
}
