/**
 * Auth21 — UI pública (login, consent, oauth-login)
 * Fonte: Plus Jakarta Sans (carregada na página)
 */
:root {
  --a21-bg0: #060608;
  --a21-card: rgba(18, 18, 22, 0.78);
  --a21-border: rgba(255, 255, 255, 0.09);
  --a21-text: #f4f4f5;
  --a21-muted: #a1a1aa;
  /* Ícone Auth21 — acentos */
  --a21-brand-green: #1b7e3d;
  --a21-brand-red: #c4121a;
  --a21-brand-blue: #1010a6;
  --a21-brand-yellow: #f7f95e;
  --a21-accent: #1b7e3d;
  --a21-accent-dim: rgba(27, 126, 61, 0.18);
  --a21-danger-bg: rgba(239, 68, 68, 0.12);
  --a21-danger-border: rgba(239, 68, 68, 0.35);
  --a21-danger-text: #fecaca;
  --a21-radius: 20px;
  --a21-radius-sm: 12px;
}

body.auth21-public {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--a21-bg0);
  color: var(--a21-text);
  -webkit-font-smoothing: antialiased;
}

.auth21-public {
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

/* Orbes de fundo */
.auth21-public__orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  z-index: 0;
}
.auth21-public__orb--a {
  width: min(56vw, 420px);
  height: min(56vw, 420px);
  background: radial-gradient(circle, color-mix(in srgb, var(--a21-brand-green) 32%, transparent) 0%, transparent 70%);
  top: -12%;
  right: -8%;
}
.auth21-public__orb--b {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  background: radial-gradient(circle, color-mix(in srgb, var(--a21-brand-blue) 26%, transparent) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
}
.auth21-public__orb--c {
  width: min(40vw, 280px);
  height: min(40vw, 280px);
  background: radial-gradient(circle, color-mix(in srgb, var(--a21-brand-yellow) 18%, transparent) 0%, transparent 70%);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.38;
}

.auth21-public__grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

.auth21-public__main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.auth21-public__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.auth21-public__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45) inset;
  isolation: isolate;
}
.auth21-public__mark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
  background: conic-gradient(
    from 225deg,
    var(--a21-brand-green),
    var(--a21-brand-red),
    var(--a21-brand-yellow),
    var(--a21-brand-blue),
    var(--a21-brand-green)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.auth21-public__mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.auth21-public__title-block {
  text-align: left;
}
.auth21-public__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #71717a;
  margin: 0 0 0.125rem;
}
.auth21-public__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}

.auth21-public__by {
  margin: 0.1875rem 0 0;
  padding: 0;
  font-size: 0.625rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--a21-brand-blue) 28%, #71717a);
  text-align: left;
}

.auth21-public__card {
  border-radius: var(--a21-radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--a21-card);
  border: 1px solid var(--a21-border);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 32px 64px -32px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.auth21-public__lead {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--a21-muted);
}

.auth21-public__alert {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--a21-radius-sm);
  font-size: 0.8125rem;
  line-height: 1.45;
  border: 1px solid var(--a21-danger-border);
  background: var(--a21-danger-bg);
  color: var(--a21-danger-text);
}

.auth21-public__field {
  margin-bottom: 1.125rem;
}
.auth21-public__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 0.5rem;
}
.auth21-public__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #fafafa;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--a21-radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth21-public__input::placeholder {
  color: #52525b;
}
.auth21-public__input:focus {
  border-color: color-mix(in srgb, var(--a21-brand-green) 48%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--a21-brand-green) 14%, transparent);
}

.auth21-public__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.8125rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #04120c;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--a21-brand-green) 22%, #ecfdf5) 0%,
    color-mix(in srgb, var(--a21-brand-green) 35%, #b8e8c8) 100%
  );
  border: none;
  border-radius: var(--a21-radius-sm);
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 24px -8px color-mix(in srgb, var(--a21-brand-green) 45%, transparent);
  transition: transform 0.15s, filter 0.15s;
}
.auth21-public__btn:hover {
  filter: brightness(1.05);
}
.auth21-public__btn:active {
  transform: scale(0.99);
}

.auth21-public__btn--ghost {
  margin-top: 0.75rem;
  background: transparent;
  color: var(--a21-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.auth21-public__btn--ghost:hover {
  color: #e4e4e7;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.auth21-public__footer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: #52525b;
}
.auth21-public__footer a {
  color: #a1a1aa;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(161, 161, 170, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
.auth21-public__footer a:hover {
  color: #d4d4d8;
  border-bottom-color: #d4d4d8;
}

/* Hub de contas (oauth-login) */
.auth21-public__hub-title {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #52525b;
  margin: 0 0 1rem;
}
.auth21-public__account-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: #fafafa;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--a21-radius-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.auth21-public__account-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: color-mix(in srgb, var(--a21-brand-green) 28%, rgba(255, 255, 255, 0.12));
}
.auth21-public__account-btn span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #71717a;
}
.auth21-public__link-quiet {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #52525b;
  cursor: pointer;
}
.auth21-public__link-quiet:hover {
  color: #a1a1aa;
}

/* Consent (authorize) */
.auth21-consent {
  --consent-accent: var(--a21-accent);
  max-width: 440px;
  margin: 0 auto;
}
.auth21-consent__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.auth21-consent__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.auth21-consent__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth21-consent__logo-fallback {
  font-size: 1.125rem;
  font-weight: 700;
  color: #a1a1aa;
}
.auth21-consent h1 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.375rem;
  color: #fff;
}
.auth21-consent__subtitle {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #a1a1aa;
}
.auth21-consent__subtitle strong {
  color: #e4e4e7;
  font-weight: 600;
}
.auth21-consent__scopes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.auth21-consent__scopes li {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.auth21-consent__user {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--a21-radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}
.auth21-consent__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--consent-accent);
  color: #022c22;
  flex-shrink: 0;
}
.auth21-consent__remember {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #a1a1aa;
  cursor: pointer;
}
.auth21-consent__remember input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--consent-accent);
  flex-shrink: 0;
}
.auth21-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.auth21-consent__btn-primary {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--a21-radius-sm);
  cursor: pointer;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--a21-brand-green) 18%, #ecfdf5) 0%,
    color-mix(in srgb, var(--a21-brand-green) 42%, #a8dcc0) 100%
  );
  color: #04120c;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 28px -10px color-mix(in srgb, var(--a21-brand-green) 40%, transparent);
  transition: filter 0.15s, transform 0.15s;
}
.auth21-consent__btn-primary:hover {
  filter: brightness(1.08);
}
.auth21-consent__btn-primary:active {
  transform: scale(0.99);
}
.auth21-consent__btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.auth21-consent__btn-secondary {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--a21-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.auth21-consent__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e4e4e7;
}
.auth21-consent__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.6875rem;
  color: #52525b;
  letter-spacing: 0.04em;
}

.auth21-public__main--consent {
  max-width: 440px;
}

.auth21-consent__user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fafafa;
}
.auth21-consent__user-email {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #71717a;
}

/* Marca IdP no oauth-login */
.auth21-public__idp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.auth21-public__idp-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
}
.auth21-public__idp-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .auth21-public__btn,
  .auth21-consent__btn-primary {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Layout em duas colunas — login / registo organização (tema claro, sem OAuth social)
   -------------------------------------------------------------------------- */
.auth21-public.auth21-public--split {
  --a21-split-bg: #f4f4f5;
  --a21-split-panel: #ffffff;
  --a21-split-border: #e4e4e7;
  --a21-split-text: #18181b;
  --a21-split-muted: #71717a;
  --a21-split-green: #059669;
  --a21-split-green-dim: #d1fae5;
  --a21-split-radius: 12px;
  margin: 0;
  min-height: 100vh;
  padding: 0;
  display: block;
  background: var(--a21-split-bg);
  color: var(--a21-split-text);
  overflow-x: hidden;
}

.auth21-public--split .auth21-public__grid,
.auth21-public--split .auth21-public__orb {
  display: none;
}

.a21-split {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .a21-split {
    grid-template-columns: minmax(280px, 1fr) minmax(400px, 1.1fr);
  }
}

.a21-split__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fafafa;
  border-bottom: 1px solid var(--a21-split-border);
  overflow: hidden;
}

@media (min-width: 900px) {
  .a21-split__brand {
    border-bottom: none;
    border-right: 1px solid var(--a21-split-border);
    min-height: 100vh;
  }
}

.a21-split__watermark {
  position: absolute;
  inset: 10% -20% auto -10%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.a21-split__watermark img {
  width: min(90vw, 420px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(1);
}

.a21-split__back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--a21-split-border);
  color: var(--a21-split-text);
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}
.a21-split__back:hover {
  background: var(--a21-split-green-dim);
  border-color: color-mix(in srgb, var(--a21-split-green) 35%, var(--a21-split-border));
}

.a21-split__back-spacer {
  height: 40px;
  margin-bottom: 1rem;
}

.a21-split__brand-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .a21-split__brand-inner {
    justify-content: center;
    padding-bottom: 2rem;
  }
}

.a21-split__logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.a21-split__logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--a21-split-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--a21-split-green) 55%, transparent);
}
.a21-split__logo-box img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.a21-split__name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--a21-split-text);
}

.a21-split__by {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a21-split-muted);
}

.a21-split__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--a21-split-muted);
}

.a21-split__foot-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.8125rem;
}
.a21-split__foot-links a {
  color: var(--a21-split-muted);
  text-decoration: none;
  font-weight: 500;
}
.a21-split__foot-links a:hover {
  color: var(--a21-split-green);
}

.a21-split__panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--a21-split-panel);
}

@media (min-width: 900px) {
  .a21-split__panel {
    align-items: center;
  }
}

.a21-split__panel-inner {
  width: 100%;
  max-width: 400px;
}

.a21-split__h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--a21-split-text);
}

.a21-split__sub {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--a21-split-muted);
}

.a21-split__alert {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--a21-split-radius);
  font-size: 0.8125rem;
  line-height: 1.45;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.a21-split__hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--a21-split-muted);
}

.a21-split__field {
  margin-bottom: 1.125rem;
}

.a21-split__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--a21-split-text);
  margin-bottom: 0.4rem;
}

.a21-split__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--a21-split-text);
  background: #fff;
  border: 1px solid var(--a21-split-border);
  border-radius: var(--a21-split-radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.a21-split__input::placeholder {
  color: #a1a1aa;
}
.a21-split__input:focus {
  border-color: var(--a21-split-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--a21-split-green) 18%, transparent);
}

.a21-split__pw {
  position: relative;
}
.a21-split__pw .a21-split__input {
  padding-right: 4.5rem;
}
.a21-split__pw-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  min-width: 3.25rem;
  padding: 0.35rem 0.4rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--a21-split-muted);
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: inherit;
}
.a21-split__pw-toggle-txt {
  pointer-events: none;
}
.a21-split__pw-toggle:hover {
  background: var(--a21-split-bg);
  color: var(--a21-split-text);
}

.a21-split__row-actions {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 1.25rem;
}
.a21-split__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--a21-split-green);
  text-decoration: none;
}
.a21-split__link:hover {
  text-decoration: underline;
}

.a21-split__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--a21-split-green);
  border: none;
  border-radius: var(--a21-split-radius);
  cursor: pointer;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--a21-split-green) 50%, transparent);
  transition: background 0.15s, transform 0.12s;
}
.a21-split__btn:hover {
  background: #047857;
}
.a21-split__btn:active {
  transform: scale(0.99);
}

.a21-split__btn--outline {
  margin-top: 0.75rem;
  display: inline-flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--a21-split-green);
  background: #fff;
  border: 2px solid var(--a21-split-green);
  border-radius: var(--a21-split-radius);
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.a21-split__btn--outline:hover {
  background: var(--a21-split-green-dim);
  color: #047857;
  border-color: #047857;
}

.a21-split__switch {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--a21-split-muted);
}
.a21-split__switch a {
  color: var(--a21-split-green);
  font-weight: 600;
  text-decoration: none;
}
.a21-split__switch a:hover {
  text-decoration: underline;
}

.a21-split__copyright {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.6875rem;
  color: #a1a1aa;
  letter-spacing: 0.02em;
}

/* Campos herdados do tema escuro dentro do split — re-mapear */
.auth21-public--split .auth21-public__field {
  margin-bottom: 1.125rem;
}
.auth21-public--split .auth21-public__label {
  color: var(--a21-split-text);
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.8125rem;
  font-weight: 600;
}
.auth21-public--split .auth21-public__input {
  color: var(--a21-split-text);
  background: #fff;
  border: 1px solid var(--a21-split-border);
}
.auth21-public--split .auth21-public__input:focus {
  border-color: var(--a21-split-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--a21-split-green) 18%, transparent);
}
.auth21-public--split .auth21-public__hint {
  color: var(--a21-split-muted);
  font-size: 0.75rem;
}
.auth21-public--split .auth21-public__hint code {
  font-size: 0.6875rem;
  background: var(--a21-split-bg);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.auth21-public--split .auth21-public__btn {
  margin-top: 0.5rem;
  color: #fff;
  background: var(--a21-split-green);
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--a21-split-green) 50%, transparent);
}
.auth21-public--split .auth21-public__btn:hover {
  filter: none;
  background: #047857;
}
.auth21-public--split .auth21-public__alert {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.auth21-public--split .auth21-public__input:read-only {
  background: #f4f4f5;
  color: var(--a21-split-text);
  cursor: text;
}

.auth21-public--split input[type="radio"] {
  accent-color: var(--a21-split-green);
}

.auth21-public--split .a21-split__scroll {
  max-height: min(70vh, 640px);
  overflow-y: auto;
  padding-right: 0.25rem;
  margin-right: -0.25rem;
}

@media (max-width: 899px) {
  .auth21-public--split .a21-split__scroll {
    max-height: none;
    overflow: visible;
  }
}
