.auth-form .signup-account-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  min-width: 0;
  margin: 5px 0 2px;
  padding: 0;
  border: 0;
}

.signup-account-type legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #d8dce4;
  font-size: 12px;
  font-weight: 800;
}

.auth-form .signup-account-choice {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start !important;
  gap: 4px 7px !important;
  min-width: 0;
  min-height: 78px;
  margin: 0 !important;
  padding: 10px 9px !important;
  border: 1px solid rgba(112, 126, 148, 0.28) !important;
  border-radius: 13px !important;
  background: linear-gradient(
    145deg,
    rgba(24, 29, 40, 0.94),
    rgba(11, 14, 21, 0.96)
  ) !important;
  color: #d8dce4 !important;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.signup-account-choice:has(input:checked) {
  border-color: rgba(255, 49, 91, 0.94) !important;
  background: linear-gradient(
    145deg,
    rgba(255, 49, 91, 0.2),
    rgba(181, 22, 255, 0.1)
  ) !important;
  box-shadow:
    0 0 0 1px rgba(255, 49, 91, 0.22),
    0 0 18px rgba(255, 49, 91, 0.2),
    inset 0 0 20px rgba(255, 49, 91, 0.05);
}

.signup-account-choice:has(input:focus-visible) {
  outline: 2px solid rgba(255, 91, 124, 0.92);
  outline-offset: 2px;
}

.signup-account-choice input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: #ff315b;
}

.signup-account-copy {
  display: contents;
}

.signup-account-copy strong {
  grid-column: 2;
  min-width: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.signup-account-copy > span {
  grid-column: 1 / -1;
  min-width: 0;
  color: #c7cbd5;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#authScreen #signupForm .signup-account-choice .signup-account-copy strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#authScreen #signupForm .signup-account-choice .signup-account-copy > span {
  color: #c7cbd5 !important;
  -webkit-text-fill-color: #c7cbd5 !important;
}

@media (max-width: 360px) {
  .auth-form .signup-account-type {
    gap: 6px;
  }

  .auth-form .signup-account-choice {
    gap: 4px 6px !important;
    padding: 9px 7px !important;
  }

  .signup-account-copy strong {
    font-size: 10.5px;
  }
}