.admin-user-row {
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
}
.admin-user-row > div:first-child {
  flex: 1 1 300px;
}
.admin-user-row > div:first-child > strong {
  margin-bottom: 5px;
}
.admin-user-badges {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
  margin: 2px 0 0;
  border: 0;
}
.admin-user-badges legend {
  padding: 0 0 8px;
  color: #a9aab9;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.admin-badge-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
}
.admin-badge-choice {
  --badge-color: #65b8ff;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  margin: 0;
  border: 1px solid #363c49;
  border-radius: 12px;
  background: linear-gradient(125deg, #202734, #1c202a);
  cursor: pointer;
}
.admin-badge-choice--developer {
  --badge-color: #c0a2ff;
  background: linear-gradient(125deg, #2a2537, #211e2b);
}
.admin-badge-choice:has(input:checked) {
  border-color: var(--badge-color);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--badge-color) 12%, transparent);
}
.admin-badge-choice:has(input:focus-visible) {
  outline: 2px solid var(--badge-color);
  outline-offset: 3px;
}
.admin-badge-choice > .identity-badge {
  width: 34px;
  height: 34px;
}
.admin-badge-copy {
  flex: 1;
  min-width: 0;
}
.admin-badge-copy strong {
  display: block;
  color: #f0f1f8;
  font-size: 14px;
}
.admin-badge-copy small {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
}
.admin-badge-choice input[type='checkbox'] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 1.5px solid #687080;
  border-radius: 6px;
  background: #171b24;
  cursor: pointer;
}
.admin-badge-choice input[type='checkbox']:checked {
  background: var(--badge-color);
  border-color: var(--badge-color);
}
.admin-badge-choice input[type='checkbox']:checked::after {
  content: '';
  width: 5px;
  height: 10px;
  margin-top: -3px;
  border: solid #142033;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.admin-badge-choice input[type='checkbox']:focus {
  outline: none;
}
.admin-user-badges:disabled .admin-badge-choice {
  cursor: progress;
  opacity: 0.7;
}
.admin-badge-status {
  display: block;
  margin-top: 6px;
  min-height: 17px;
  color: #9cceb5;
  font-size: 12px;
}
.admin-badge-status.is-error {
  color: #ffb7c6;
}
@media (max-width: 540px) {
  .admin-badge-choices {
    grid-template-columns: 1fr;
  }
  .admin-user-row > div:first-child {
    flex-basis: 100%;
  }
}
@media (forced-colors: active) {
  .admin-badge-choice input[type='checkbox'] {
    appearance: auto;
  }
}
