/* Compact sun + pill theme switch (glass ↔ classic) */
.nrt-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  user-select: none;
}
.nrt-theme-sun {
  width: 18px;
  height: 18px;
  color: #8e8e93;
  display: grid;
  place-items: center;
}
.nrt-theme-sun svg {
  width: 18px;
  height: 18px;
  display: block;
}
.nrt-theme-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d1d6;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.nrt-theme-toggle .nrt-theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3a3a3c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}
.nrt-theme-toggle[aria-checked="true"] {
  background: #48484a;
}
.nrt-theme-toggle[aria-checked="true"] .nrt-theme-knob {
  transform: translateX(18px);
  background: #f2f2f7;
}
body.theme-classic .nrt-theme-sun,
body.master.theme-classic .nrt-theme-sun {
  color: #a1a1a1;
}
body.theme-classic .nrt-theme-toggle,
body.master.theme-classic .nrt-theme-toggle {
  background: #3a3a3c;
}
body.theme-classic .nrt-theme-toggle[aria-checked="true"],
body.master.theme-classic .nrt-theme-toggle[aria-checked="true"] {
  background: #636366;
}

/* User ID availability mark */
.nrt-id-field {
  position: relative;
  display: grid;
  gap: 0.3rem;
}
.nrt-id-field .nrt-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nrt-id-field .nrt-id-row input {
  flex: 1 1 auto;
  min-width: 0;
}
.nrt-id-tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
}
.nrt-id-tick.is-ok {
  color: #fff;
  background: #34c759;
  border-color: #34c759;
}
.nrt-id-tick.is-bad {
  color: #fff;
  background: #ff3b30;
  border-color: #ff3b30;
}
.nrt-id-status {
  margin: 0;
  font-size: 12px;
  color: #6e6e73;
  min-height: 1.1em;
}
.nrt-id-status.is-ok { color: #248a3d; }
.nrt-id-status.is-bad { color: #d70015; }
body.theme-classic .nrt-id-status,
body.master.theme-classic .nrt-id-status { color: #a1a1a1; }
body.theme-classic .nrt-id-status.is-ok,
body.master.theme-classic .nrt-id-status.is-ok { color: #30d158; }
body.theme-classic .nrt-id-status.is-bad,
body.master.theme-classic .nrt-id-status.is-bad { color: #ff6961; }
