.auth-recovery-link {
  display: block;
  width: fit-content;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #72dfb4;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.auth-feedback {
  margin: 4px 0;
  padding: 10px 12px;
  border-left: 3px solid #ff9c9c;
  color: #ffb4b4;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.auth-feedback.auth-success {
  border-color: #72dfb4;
  color: #72dfb4;
}
.auth-recovery-link.hidden,
.auth-feedback.hidden,
#resetConfirmField.hidden {
  display: none;
}
.toast { z-index: 110; }
.registration-code {
  min-width: 0;
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}
.registration-code.hidden {
  display: none;
}
.registration-code label {
  margin: 0;
  font-size: 13px;
}
.registration-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  align-items: stretch;
  gap: 8px;
}
.registration-code-row input {
  width: 100%;
  min-width: 0;
  height: 44px;
  box-sizing: border-box;
  border-radius: 6px;
  letter-spacing: 0;
}
.registration-code-row button {
  width: 156px;
  height: 44px;
  padding: 0 8px;
  border: 1px solid #4b5563;
  border-radius: 6px;
  background: #24282f;
  color: #f9fafb;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}
.registration-code-row button:disabled {
  opacity: 0.6;
  cursor: default;
}
.registration-code-status {
  margin: 0;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #b8c4be;
  overflow-wrap: anywhere;
}
.registration-code-status.code-error {
  color: #ff9c9c;
}
.auth-card {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
@media (max-width: 360px) {
  .registration-code-row {
    grid-template-columns: minmax(0, 1fr) 128px;
  }
  .registration-code-row button {
    width: 128px;
    font-size: 12px;
  }
}
