/* Override Clerk's username collection screen */
[data-testid="username-field"],
input[name="username"],
.cl-field[data-name="username"],
.cl-formField:has(input[name="username"]) {
  display: none !important;
}

/* Hide the entire "Fill in missing fields" screen */
.cl-signUp-start:has([data-testid="username-field"]),
.cl-main:has([data-testid="username-field"]) {
  display: none !important;
}

/* Auto-click continue if username field is hidden */
.cl-formButtonPrimary:has-text("Continue") {
  pointer-events: auto !important;
}

/* Fix Clerk footer text visibility for light mode */
.cl-footerAction__signUp,
.cl-footerAction__signIn,
.cl-footerAction,
.cl-footer {
  color: #4b5563 !important;
}

.cl-footerAction span,
.cl-footer span,
.cl-footerAction p,
.cl-footer p {
  color: #4b5563 !important;
}