.auth-form fieldset.auth-account-type {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  margin: 8px 0 4px;
  padding: 10px;
  border: 1px solid rgba(107, 118, 136, 0.35);
  border-radius: 12px;
  color: #d8dce4;
}

.auth-form fieldset.auth-account-type > legend {
  padding: 0 6px;
  color: #aeb7c5;
  font-size: 12px;
  font-weight: 700;
}

.auth-form .auth-account-choice {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(107, 118, 136, 0.42);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.auth-form .auth-account-choice + .auth-account-choice {
  margin-top: 0 !important;
}

.auth-form .auth-account-choice:has(input:checked) {
  border-color: rgba(255, 49, 91, 0.86);
  background: rgba(255, 49, 91, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 49, 91, 0.38);
}

.auth-form .auth-account-choice:focus-within {
  outline: 2px solid #ff315b;
  outline-offset: 2px;
}

.auth-form .auth-account-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #ff315b;
}

@media (prefers-reduced-motion: reduce) {
  .auth-form .auth-account-choice {
    transition: none;
  }
}

.auth-account-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.auth-account-copy strong {
  color: #f3f5f8;
  font-size: 13px;
  font-weight: 700;
}

.auth-account-copy span {
  color: #9ca7b7;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
