/**
 * te-auth.css — Universal Think Extra 9-Dot App Launcher & SSO Styles
 * Operated by Shri Laxmi Narayan Technologies (SLNT)
 */

:root {
  /* Modern Sovereign Identity & In-Portal Modal Color Tokens */
  --google-blue: #1a73e8;
  --google-blue-hover: #1557b0;
  --google-blue-light: #e8f0fe;
  --text-dark: #202124;
  --text-sub: #5f6368;
  --text-muted: #5f6368;
  --text-tertiary: #80868b;
  --border-subtle: #dadce0;
  --border-hover: #bdc1c6;

  --te-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --te-font-mono: 'JetBrains Mono', monospace;
  --te-bg-card: rgba(17, 24, 39, 0.94);
  --te-bg-hover: rgba(255, 255, 255, 0.06);
  --te-border: rgba(255, 255, 255, 0.12);
  --te-border-active: rgba(99, 102, 241, 0.4);
  --te-text: #f9fafb;
  --te-text-muted: #9ca3af;
  --te-text-subtle: #6b7280;
  --te-accent: #6366f1;
  --te-accent-glow: rgba(99, 102, 241, 0.25);
  --te-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
  --te-bg-card: rgba(255, 255, 255, 0.96);
  --te-bg-hover: rgba(0, 0, 0, 0.04);
  --te-border: rgba(0, 0, 0, 0.1);
  --te-border-active: rgba(79, 70, 229, 0.4);
  --te-text: #0f172a;
  --te-text-muted: #475569;
  --te-text-subtle: #94a3b8;
  --te-accent: #4f46e5;
  --te-accent-glow: rgba(79, 70, 229, 0.15);
  --te-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Universal User Profile / Login Pill Component */
.te-user-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--te-font);
}

.te-user-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--te-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--te-accent-glow);
}

.te-user-auth-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.te-user-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--te-bg-hover);
  border: 1px solid var(--te-border);
  color: var(--te-text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.te-user-profile-badge:hover {
  border-color: var(--te-border-active);
  background: rgba(255, 255, 255, 0.08);
}

.te-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #10b981);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.te-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* In-Page Universal SSO Modal Styles */
/* Native <dialog> Overlay & Responsive Positioning */
dialog.auth-modal-overlay {
  border: none;
  background: transparent;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 3vh, 24px);
  color: inherit;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

dialog.auth-modal-overlay[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}

dialog.auth-modal-overlay:modal {
  overscroll-behavior: contain;
}

dialog.auth-modal-overlay::backdrop {
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px; /* Slim by default for Sign In */
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 24px 48px -12px rgba(17, 24, 39, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: clamp(20px, 4vw, 32px) clamp(18px, 4vw, 32px) clamp(16px, 3vw, 24px);
  margin: auto;
  box-sizing: border-box;
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

dialog.auth-modal-overlay.open .auth-modal-card,
dialog.auth-modal-overlay[open] .auth-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Custom subtle scrollbar inside modal card */
.auth-modal-card::-webkit-scrollbar {
  width: 5px;
}
.auth-modal-card::-webkit-scrollbar-track {
  background: transparent;
}
.auth-modal-card::-webkit-scrollbar-thumb {
  background: #DADCE0;
  border-radius: 10px;
}

/* Single-column vertical layout matching Sign In (slim 440px width) */
.auth-form-grid {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.auth-form-grid > * {
  width: 100%;
  min-width: 0;
}

/* Tablet & Mobile Responsiveness: Seamlessly adapt to any screen */
@media (max-width: 580px) {
  dialog.auth-modal-overlay {
    padding: 0;
    align-items: flex-end; /* Bottom-sheet presentation on mobile */
  }

  .auth-modal-card {
    max-width: 100% !important;
    max-height: calc(100dvh - 20px);
    border-radius: 20px 20px 16px 16px;
    padding: 22px 18px 18px;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .auth-modal-header {
    margin-bottom: 16px;
  }

  .auth-modal-heading {
    font-size: 19px;
  }

  .auth-modal-subheading {
    font-size: 12.5px;
  }

  .auth-modal-tabs {
    margin-bottom: 14px;
  }

  .auth-modal-divider {
    margin: 12px 0;
  }

  .auth-turnstile-wrap {
    transform: scale(0.92);
    transform-origin: center center;
    margin: 4px 0;
  }
}

@media (max-width: 360px) {
  /* Ultra-small phones like iPhone SE / older Androids */
  .auth-modal-card {
    padding: 18px 14px 16px;
  }

  .auth-input-field {
    font-size: max(1rem, 1em);
    padding: 10px 12px;
  }

  .auth-turnstile-wrap {
    transform: scale(0.84);
    transform-origin: center center;
  }
}

.auth-optional-tag {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 11px;
}

/* Remember Me Checkbox */
.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -2px;
  margin-bottom: 2px;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.auth-checkbox-custom {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border-hover);
  border-radius: 5px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.auth-checkbox-input:focus-visible + .auth-checkbox-custom {
  outline: 2px solid var(--google-blue);
  outline-offset: 2px;
}

.auth-checkbox-input:checked + .auth-checkbox-custom {
  background: var(--google-blue);
  border-color: var(--google-blue);
}

.auth-checkbox-input:checked + .auth-checkbox-custom::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.auth-checkbox-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.15s ease;
}

.auth-checkbox-label:hover .auth-checkbox-text {
  color: var(--text-dark);
}

/* Password Recovery / WhatsApp Bridge View */
.auth-recovery-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.2s ease;
}

.auth-recovery-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}

.auth-recovery-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E8F0FE;
  color: var(--google-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-recovery-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.auth-recovery-desc {
  font-size: 12.5px;
  color: var(--text-sub);
}

.auth-recovery-instructions {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-sub);
  background: #F8F9FA;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin: 0;
}

.auth-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.24);
  transition: all 0.15s ease;
}

.auth-whatsapp-btn:hover {
  background: #20BA5A;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Turnstile Bot Protection Container */
.auth-turnstile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 4px;
  min-height: 68px;
  width: 100%;
}

.auth-turnstile-wrap > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-turnstile-wrap iframe {
  border-radius: 8px !important;
}

/* Password Strength Meter */
.pw-meter-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: -4px;
  margin-bottom: 2px;
}

.pw-meter-track {
  display: flex;
  gap: 4px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #F1F3F4;
}

.pw-meter-segment {
  flex: 1;
  height: 100%;
  background: #E8EAED;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.pw-meter-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.pw-meter-text {
  font-weight: 500;
  color: var(--text-sub);
}

.pw-match-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.pw-match-badge.matched {
  background: #E6F4EA;
  color: #137333;
}

.pw-match-badge.mismatched {
  background: #FCE8E6;
  color: #C5221F;
}

.auth-modal-overlay.open .auth-modal-card {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #F8F9FA;
  color: var(--text-sub);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-modal-close:hover {
  background: #E8EAED;
  color: var(--text-dark);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-modal-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.auth-modal-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.auth-modal-heading {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-modal-subheading {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Tabs: Sign In / Create Account */
.auth-modal-tabs {
  display: flex;
  background: #F1F3F4;
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 20px;
  gap: 2px;
}

.auth-modal-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-modal-tab.active {
  background: #FFFFFF;
  color: var(--google-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 1-Click Google OAuth Button */
.auth-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-hover);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-google-btn:hover {
  background: #F8F9FA;
  border-color: #BCC1C8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.auth-google-btn .google-svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Divider */
.auth-modal-divider {
  display: flex;
  align-items: center;
  margin: 18px 0;
  text-align: center;
}

.auth-modal-divider::before,
.auth-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.auth-modal-divider span {
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* Forms & Inputs */
.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.auth-input-with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-with-toggle .auth-input-field {
  padding-inline-end: 46px;
}

.auth-pw-visibility-btn {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.auth-pw-visibility-btn:hover {
  color: var(--text-dark);
}

.auth-pw-visibility-btn:focus-visible {
  outline: 2px solid var(--google-blue);
  outline-offset: 2px;
}

.auth-input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.auth-link-subtle {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--google-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link-subtle:focus-visible,
.auth-google-btn:focus-visible,
.auth-modal-tab:focus-visible,
.auth-modal-close:focus-visible,
.auth-submit-btn:focus-visible,
.auth-accounts-anchor:focus-visible {
  outline: 2px solid var(--google-blue);
  outline-offset: 2px;
}

.auth-input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  font-size: max(1rem, 1em);
  line-height: 1.35;
  color: var(--text-dark);
  background: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  font-family: inherit;
}

.auth-input-field:focus-visible {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 3px var(--google-blue-light);
}

.auth-input-field:is(:user-invalid, .user-invalid-fallback) {
  border-color: #d93025;
  background-color: #fff8f7;
}

.auth-input-field:is(:user-valid, .user-valid-fallback) {
  border-color: #188038;
}

.auth-field-error {
  display: none;
  font-size: 12px;
  line-height: 1.35;
  color: #c5221f;
  font-weight: 500;
  overflow-wrap: break-word;
}

.auth-field-error.visible {
  display: block;
}

.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

@media (pointer: coarse) {
  .auth-input-field,
  .auth-submit-btn,
  .auth-google-btn {
    min-height: 48px;
  }
}

.auth-submit-btn {
  margin-top: 6px;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  background: var(--google-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-submit-btn:hover:not(:disabled) {
  background: var(--google-blue-hover);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.28);
}

.auth-submit-btn:disabled,
.auth-google-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

/* Feedback banners */
.auth-modal-reason {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
  color: #174ea6;
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.auth-modal-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
  overflow-wrap: break-word;
}

.auth-modal-alert-error {
  background: #FEECEB;
  color: #C5221F;
  border: 1px solid #FAD2CF;
}

.auth-modal-alert-success {
  background: #E6F4EA;
  color: #137333;
  border: 1px solid #CEEAD6;
}

/* Hybrid Escape Hatch & Trust Footer */
.auth-modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.auth-hub-redirect {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.auth-accounts-anchor {
  color: var(--google-blue);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
}

.auth-accounts-anchor:hover {
  text-decoration: underline;
}

.auth-modal-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.auth-modal-trust svg {
  color: #137333;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  dialog.auth-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .auth-modal-card {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 24px 18px 20px;
    max-height: 92dvh;
    overflow-y: auto;
  }
}

.te-signout-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.te-signout-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: #ef4444;
}

/* Dark theme overrides synchronized with GATE AG html.dark */
html.dark {
  --google-blue: #3b82f6;
  --google-blue-hover: #2563eb;
  --google-blue-light: rgba(59, 130, 246, 0.2);
  --text-dark: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-tertiary: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.22);
  --border-hover: rgba(148, 163, 184, 0.38);
}

html.dark .auth-modal-card {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

html.dark .auth-modal-close {
  background: #1e293b;
  color: #cbd5e1;
}

html.dark .auth-modal-close:hover {
  background: #334155;
  color: #ffffff;
}

html.dark .auth-modal-tabs {
  background: #1e293b;
}

html.dark .auth-modal-tab.active {
  background: #0f172a;
  color: #60a5fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

html.dark .auth-google-btn {
  background: #1e293b;
  color: #f8fafc;
}

html.dark .auth-google-btn:hover {
  background: #273549;
  border-color: rgba(148, 163, 184, 0.45);
}

html.dark .auth-input-field {
  background: #020617;
  color: #f8fafc;
}

html.dark .auth-input-field::placeholder {
  color: #94a3b8;
}

html.dark .auth-input-field:is(:user-invalid, .user-invalid-fallback) {
  border-color: #f87171;
  background-color: rgba(127, 29, 29, 0.22);
}

html.dark .auth-input-field:is(:user-valid, .user-valid-fallback) {
  border-color: #34d399;
}

html.dark .auth-field-error {
  color: #fca5a5;
}

html.dark .auth-modal-reason {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

html.dark .auth-checkbox-custom {
  background: #020617;
}

html.dark .auth-recovery-icon-circle {
  background: rgba(59, 130, 246, 0.16);
}

html.dark .auth-recovery-instructions {
  background: #1e293b;
}

html.dark .pw-meter-track {
  background: #1e293b;
}

html.dark .pw-meter-segment {
  background: #334155;
}

html.dark .pw-match-badge.matched,
html.dark .auth-modal-alert-success {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

html.dark .pw-match-badge.mismatched,
html.dark .auth-modal-alert-error {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

/* Honeypot Anti-Bot Trap (Hidden from users and screen-readers) */
.auth-hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}
