[data-supabase-auth-root][hidden] {
  display: none !important;
}

[data-supabase-auth-otp-field][hidden] {
  display: none !important;
}

.supabase-auth-target {
  display: grid;
  gap: 1rem;
  min-height: 13.75rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
}

.supabase-auth-target__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.35;
}

.supabase-auth-target__form,
.supabase-auth-target__field {
  display: grid;
  gap: 0.75rem;
}

.supabase-auth-target__label {
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 700;
}

.supabase-auth-target__control {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #94a3b8;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
}

.supabase-auth-target__action {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #0f172a;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.supabase-auth-target__action--primary {
  background: #0f172a;
  color: #ffffff;
}

.supabase-auth-target__control:focus-visible,
.supabase-auth-target__action:focus-visible,
.supabase-auth-target__switch a:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

.supabase-auth-target__control:disabled,
.supabase-auth-target__action:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.supabase-auth-target__status {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
}

.supabase-auth-target__switch {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
}

.supabase-auth-target__switch a {
  color: #0f172a;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.supabase-auth-target__status[data-tone="error"] {
  color: #991b1b;
}

.supabase-auth-target__status[data-tone="success"] {
  color: #166534;
}
