:root {
  color-scheme: light;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

@keyframes morph-1 {
  0%, 100% {
    transform: translate(0%, 0%) scale(1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    transform: translate(30%, 20%) scale(1.15);
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    transform: translate(-20%, 40%) scale(0.9);
    border-radius: 70% 30% 50% 50% / 30% 50% 70% 50%;
  }
  75% {
    transform: translate(10%, -20%) scale(1.05);
    border-radius: 40% 60% 30% 60% / 60% 30% 60% 40%;
  }
}

@keyframes morph-2 {
  0%, 100% {
    transform: translate(0%, 0%) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  33% {
    transform: translate(-25%, 30%) scale(1.2);
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
  }
  66% {
    transform: translate(20%, -25%) scale(0.95);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  }
}

@keyframes morph-3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%;
  }
  25% {
    transform: translate(-35%, -30%) scale(1.25);
    border-radius: 45% 55% 45% 55% / 55% 45% 55% 45%;
  }
  50% {
    transform: translate(-65%, -40%) scale(0.85);
    border-radius: 65% 35% 65% 35% / 35% 65% 35% 65%;
  }
  75% {
    transform: translate(-40%, -60%) scale(1.1);
    border-radius: 35% 65% 35% 65% / 65% 35% 65% 35%;
  }
}

@keyframes morph-4 {
  0%, 100% {
    transform: translate(0%, 0%) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  20% {
    transform: translate(40%, -30%) scale(1.1);
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
  }
  40% {
    transform: translate(-30%, 20%) scale(0.9);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  }
  60% {
    transform: translate(25%, 30%) scale(1.05);
    border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%;
  }
  80% {
    transform: translate(-20%, -15%) scale(0.95);
    border-radius: 45% 55% 45% 55% / 55% 45% 55% 45%;
  }
}

@keyframes morph-5 {
  0%, 100% {
    transform: translate(0%, 0%) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  30% {
    transform: translate(-30%, -40%) scale(1.15);
    border-radius: 65% 35% 65% 35% / 35% 65% 35% 65%;
  }
  60% {
    transform: translate(25%, 20%) scale(0.88);
    border-radius: 35% 65% 35% 65% / 65% 35% 65% 35%;
  }
}

.animate-morph-1 {
  animation: morph-1 20s ease-in-out infinite;
}

.animate-morph-2 {
  animation: morph-2 25s ease-in-out infinite;
}

.animate-morph-3 {
  animation: morph-3 30s ease-in-out infinite;
}

.animate-morph-4 {
  animation: morph-4 22s ease-in-out infinite;
}

.animate-morph-5 {
  animation: morph-5 28s ease-in-out infinite;
}

.js-hidden {
  display: none !important;
}

.sabertyt-btn-primary {
  background-color: #2563eb;
  background-image: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sabertyt-btn-primary:hover {
  background-image: linear-gradient(90deg, #2563eb, #1d4ed8);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.3);
}

.sabertyt-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}

.sabertyt-btn-primary:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.sabertyt-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

/* Fallbacks to keep primary CTAs visible even if Tailwind is not applied. */
.bg-primary-600,
button.bg-primary-600,
a.bg-primary-600 {
  background-color: #2f5cf4;
  color: #ffffff;
  border: 1px solid rgba(47, 92, 244, 0.2);
  box-shadow: 0 14px 24px rgba(47, 92, 244, 0.25);
}

.bg-primary-700,
button.bg-primary-700,
a.bg-primary-700 {
  background-color: #2547c6;
  color: #ffffff;
}

.hover\:bg-primary-700:hover {
  background-color: #2547c6;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-slate-200 {
  border-color: #e2e8f0;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-500 {
  color: #64748b;
}

.bg-white {
  background-color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.text-slate-400 {
  color: #94a3b8;
}

.inline-flex {
  display: inline-flex;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-3 {
  gap: 12px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-5 {
  padding-left: 20px;
  padding-right: 20px;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.h-10 {
  height: 40px;
}

.h-11 {
  height: 44px;
}

.w-full {
  width: 100%;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-xl {
  border-radius: 12px;
}

.font-semibold {
  font-weight: 600;
}

.transition {
  transition: all 0.2s ease;
}

.hover\\:bg-slate-100:hover {
  background-color: #f1f5f9;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.14), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(249, 115, 22, 0.1), transparent 28%),
    linear-gradient(135deg, #eef4ff 0%, #f8fafc 46%, #fff7ed 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) 24px clamp(48px, 8vw, 96px);
  position: relative;
  overflow-x: hidden;
  height: auto;
}

.login-orbs {
  display: none;
}

.login-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(88, 124, 255, 0.35);
  top: -140px;
  left: -120px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: rgba(148, 163, 255, 0.35);
  top: -120px;
  right: -160px;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: rgba(255, 198, 184, 0.35);
  top: 45%;
  left: 35%;
}

.orb-4 {
  width: 480px;
  height: 480px;
  background: rgba(255, 180, 150, 0.3);
  bottom: -160px;
  left: -140px;
}

.orb-5 {
  width: 420px;
  height: 420px;
  background: rgba(137, 166, 255, 0.35);
  bottom: -140px;
  right: -120px;
}

.login-container {
  width: min(1200px, 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  position: relative;
  z-index: 1;
  height: auto;
}

.login-page .login-left {
  align-items: flex-start;
  justify-content: flex-start;
}

.login-page .login-right {
  align-items: flex-start;
}

.login-page .login-left-content {
  height: auto;
  justify-content: flex-start;
}

.login-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.login-left-content {
  max-width: 560px;
  padding: 0 24px;
  margin-left: 24px;
}

.login-left-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-text-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.login-brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.18);
}

.login-brand--mobile img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.login-brand-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d5be6;
}

.login-brand-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #d148c6;
}

.login-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(231, 237, 255, 0.9);
  color: #4762f0;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.login-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4762f0;
}

.login-pill-text {
  font-size: 12px;
  font-weight: 600;
}

.login-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #3b5ae0;
  margin-bottom: 12px;
}

.login-section-title--small {
  font-size: 20px;
}

.login-section-text {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 12px;
}

.login-highlight {
  color: #3556d6;
  font-weight: 700;
}

.login-highlight-accent {
  color: #d148c6;
  font-weight: 700;
}

.login-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-info-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.login-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.08);
}

.login-info-card--secondary {
  background: rgba(255, 255, 255, 0.66);
}

.login-info-number {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4c6fff;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.login-info-card--secondary .login-info-number {
  background: #5b6475;
}

.login-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.login-right-inner {
  width: 100%;
}

.login-right-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.login-container--single {
  justify-content: center;
}

.register-page .login-container {
  align-items: flex-start;
}

.register-page,
.forgot-page {
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}

.login-right--single {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-brand--center {
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.forgot-brand {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.forgot-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e9efff;
  color: #3556d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}

.forgot-icon--success {
  background: #dcfce7;
  color: #15803d;
}

.forgot-info-box {
  background: rgba(219, 234, 254, 0.7);
  border-color: rgba(59, 130, 246, 0.35);
}

.login-page.complete-page {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.login-page.complete-page .complete-container {
  width: 100%;
  max-width: 980px;
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-page.complete-page .login-right--single {
  width: 100%;
  max-width: 980px;
  flex: 0 1 980px;
  align-items: center;
  justify-content: center;
}

.login-page.complete-page .complete-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.login-page.complete-page .complete-card,
.login-page.complete-page .login-card.complete-card {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.complete-card-body {
  padding: 32px;
}

.complete-header {
  text-align: center;
}

.complete-brand {
  margin-bottom: 18px;
}

.complete-pill {
  margin-bottom: 18px;
}

.complete-title {
  font-size: 28px;
  font-weight: 700;
  color: #2f3b5f;
}

.complete-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

.complete-form label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.complete-form [data-error-wrapper] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.complete-form input,
.complete-form select {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #d7ddea;
  background: #ffffff;
  padding: 12px 14px;
  font-size: 15px;
  color: #1f2937;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.complete-form input::placeholder {
  color: #94a3b8;
}

.complete-form input:focus,
.complete-form select:focus {
  outline: none;
  border-color: #4c6fff;
  box-shadow: 0 0 0 3px rgba(76, 111, 255, 0.2);
}

.complete-alert {
  border-radius: 14px;
}

.complete-section {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.08);
}

.complete-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #3556d6;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.complete-step {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.complete-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.complete-actions {
  margin-top: 8px;
}

.complete-note {
  font-size: 13px;
  color: #6b7280;
}

.complete-footer {
  text-align: center;
}

.complete-help {
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .complete-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .complete-card-body {
    padding: 26px;
  }

  .complete-title {
    font-size: 24px;
  }

  .complete-section {
    padding: 20px;
  }
}
.login-card {
  position: relative;
  width: min(460px, 100%);
  border-radius: 24px;
  overflow: hidden;
}

.login-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.72);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}

.login-card-body {
  position: relative;
  padding: 32px;
}

.login-card-header {
  margin-bottom: 24px;
  text-align: center;
}

.login-card-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0;
}

.login-card-subtitle {
  font-size: 14px;
  color: #64748b;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-field {
  width: 100%;
}

.login-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.login-required {
  color: #ef4444;
}

.login-input-wrap {
  position: relative;
}

.login-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d7ddea;
  background: #ffffff;
  padding: 13px 46px 13px 14px;
  font-size: 15px;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.login-input::placeholder {
  color: #94a3b8;
}

.login-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.login-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  z-index: 2;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.login-input-wrap .login-toggle {
  top: 50%;
  transform: translateY(-50%);
}

.login-toggle:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.login-toggle:focus,
.login-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.login-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
}

.login-toggle[data-state='hidden'] .login-toggle-icon--hide {
  display: none;
}

.login-toggle[data-state='visible'] .login-toggle-icon--show {
  display: none;
}

.login-button {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  background-color: #2563eb !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 62%, #1e40af 100%) !important;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.login-button:hover {
  background-image: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.34);
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.26);
}

.login-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 18px 34px rgba(37, 99, 235, 0.28);
}

.login-button:disabled {
  filter: saturate(0.85);
  transform: none;
}

.login-button-icon,
.login-secondary-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.login-button-icon svg,
.login-secondary-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.login-button-spinner {
  width: 18px;
  height: 18px;
  display: none;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  animation: login-spin 0.8s linear infinite;
}

.login-button[data-loading='true'] .login-button-spinner {
  display: inline-flex;
}

.login-button[data-loading='true'] .login-button-icon {
  display: none;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-link {
  color: #a855f7;
  font-weight: 600;
  text-decoration: none;
}

.login-link:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.login-divider {
  position: relative;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.login-divider-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.login-divider-line div {
  background: #e2e8f0;
  height: 1px;
  width: 100%;
}

.login-divider-text {
  background: rgba(255, 255, 255, 0.88);
  padding: 0 14px;
}

.login-secondary-button {
  min-height: 48px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1d4ed8;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.login-secondary-button:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.login-secondary-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 12px 24px rgba(15, 23, 42, 0.08);
}

.login-alert {
  border-radius: 14px;
}

.login-alert-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-field-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e11d48;
}

.login-mobile-brand {
  display: none;
  justify-content: center;
  text-align: center;
}

.login-forgot,
.login-register {
  text-align: center;
}

@media (max-width: 1024px) {
  .login-container {
    flex-direction: column;
    gap: 40px;
    padding: 12px 0;
  }

  .login-left {
    display: none;
  }

  .login-mobile-brand {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 840px) {
  .login-orbs {
    display: none;
  }
}

@media (max-height: 820px) {
  .login-page {
    padding-top: 28px;
    padding-bottom: 40px;
  }
}

.register-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.register-feature-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.08);
}

.register-feature-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.register-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #4c6fff;
}

.register-feature-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.register-feature-title {
  font-size: 12px;
  font-weight: 700;
  color: #3556d6;
}

.register-feature-text {
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
}

.register-feature-card--accent .register-feature-icon {
  background: #f97316;
}

.register-feature-card--accent .register-feature-title {
  color: #ea580c;
}

.register-feature-card--tertiary .register-feature-icon {
  background: #c026d3;
}

.register-feature-card--tertiary .register-feature-title {
  color: #a21caf;
}

.register-feature-card--secondary .register-feature-icon {
  background: #64748b;
}

.register-feature-card--secondary .register-feature-title {
  color: #475569;
}

.register-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.register-stat-card {
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.06);
}

.register-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #3a5cf5;
}

.register-stat-value--tertiary {
  color: #c026d3;
}

.register-stat-value--accent {
  color: #f97316;
}

.register-stat-label {
  font-size: 12px;
  color: #64748b;
}

.register-hint {
  font-size: 12px;
  color: #64748b;
}

.register-terms {
  margin-top: 4px;
}

.register-strength {
  margin-top: 6px;
}

.register-alert-success {
  background: rgba(236, 253, 245, 0.9);
  border-color: rgba(16, 185, 129, 0.35);
  color: #047857;
}

@media (max-width: 640px) {
  .register-features {
    grid-template-columns: 1fr;
  }

  .register-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .login-page {
    padding: 24px 16px;
  }

  .login-card-body {
    padding: 26px;
  }

  .login-section-title {
    font-size: 22px;
  }

  .login-card-title {
    font-size: 22px;
  }
}

/* Reference-inspired split login screen. Scoped to login only. */
.login-page--split {
  min-height: 100vh;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4.25rem);
  background:
    radial-gradient(circle at 88% 52%, rgba(205, 95, 214, 0.45), transparent 26rem),
    linear-gradient(120deg, #594ee8 0%, #6653e1 50%, #9a58cf 100%);
  overflow: hidden;
}

.login-page--split .login-container {
  width: min(63.5rem, 100%);
  min-height: min(35.75rem, calc(100vh - 5rem));
  gap: 0;
  align-items: stretch;
  justify-content: center;
  background: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 1.75rem 4.5rem rgba(37, 20, 103, 0.28);
}

.login-page--split .login-left,
.login-page--split .login-right {
  flex: 1 1 50%;
  width: 50%;
  padding: 0;
  align-items: stretch;
  justify-content: center;
}

.login-page--split .login-left {
  display: flex;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 139, 112, 0.52), transparent 6rem),
    linear-gradient(135deg, rgba(95, 91, 228, 0.92) 0%, rgba(132, 99, 222, 0.92) 46%, rgba(245, 126, 131, 0.9) 100%);
}

.login-page--split .login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 62%);
  pointer-events: none;
}

.login-page--split .login-left-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(2.25rem, 5vw, 4rem);
  justify-content: center;
  color: #ffffff;
}

.login-page--split .login-left-stack {
  position: relative;
  z-index: 1;
  min-height: 100%;
  justify-content: center;
  gap: 1.7rem;
}

.login-page--split .login-brand-panel {
  position: absolute;
  top: -5.75rem;
  left: clamp(1.5rem, 3vw, 2.25rem);
  width: min(28rem, calc(100% - 3rem));
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 1rem 2.5rem rgba(47, 29, 126, 0.18);
  backdrop-filter: blur(14px);
}

.register-page.login-page--split .login-brand-panel {
  top: -3.25rem;
}

.register-page.login-page--split .login-card-title {
  display: none;
}

.register-page.login-page--split .login-text-stack {
  margin-top: 2.25rem;
}

.login-page--split .login-brand {
  margin: 0;
  width: 100%;
}

.login-page--split .login-brand img:first-child {
  width: 4rem;
  height: 4rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.1rem;
  box-shadow: 0 1rem 2rem rgba(41, 28, 120, 0.28);
}

.login-page--split .login-brand img:nth-child(2) {
  width: 14.5rem;
  height: auto;
  max-height: 4rem;
  object-fit: contain;
  padding: 0.3rem 0.55rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  filter: none;
  opacity: 1;
  box-shadow: 0 0.85rem 1.7rem rgba(41, 28, 120, 0.18);
}

.login-page--split .login-brand-subtitle,
.login-page--split .login-pill {
  display: none;
}

.login-page--split .login-section-title {
  margin: 0 0 0.65rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}

.login-page--split .login-section-title::before {
  content: none;
}

.login-page--split .login-section-title {
  display: none;
}

.login-page--split .login-section-title::before {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.login-page--split .login-text-stack {
  position: relative;
  z-index: 3;
  max-width: 28rem;
  gap: 0.35rem;
}

.login-page--split .login-project-glass {
  max-width: 31rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08) 48%, rgba(125, 211, 252, 0.16)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 1.4rem 3rem rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  overflow: hidden;
}

.login-page--split .login-project-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.42), transparent 9rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 34%);
  opacity: 0.82;
  pointer-events: none;
}

.login-page--split .login-project-glass::after {
  content: '';
  position: absolute;
  width: 9rem;
  height: 9rem;
  right: -3.2rem;
  bottom: -4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.34), transparent 68%);
  filter: blur(0.2rem);
  pointer-events: none;
}

.login-page--split .login-section-text {
  position: relative;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.32;
  text-align: justify;
  text-align-last: left;
}

.login-page--split .login-highlight,
.login-page--split .login-highlight-accent {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.login-page--split .login-left-stack > div:last-child {
  display: none;
}

.login-abstract-art {
  position: absolute;
  left: -1.5rem;
  right: -1.5rem;
  bottom: -9.5rem;
  width: calc(100% + 3rem);
  height: 38%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.92;
  pointer-events: none;
}

.login-art-pill,
.login-art-line {
  position: absolute;
  display: block;
  border-radius: 999px;
  transform: rotate(-45deg);
}

.login-art-pill {
  width: 10.8rem;
  height: 3.2rem;
  background: linear-gradient(90deg, #ff896f, #ffb15e);
  opacity: 0.9;
}

.login-art-pill--one {
  left: -1.8rem;
  bottom: 2.1rem;
}

.login-art-pill--two {
  left: 12.8rem;
  bottom: 2.8rem;
  background: linear-gradient(90deg, #ffb15e, #d76bd1);
}

.login-art-pill--three {
  right: 3rem;
  bottom: 3.2rem;
}

.login-art-line {
  width: 8.5rem;
  height: 0.35rem;
  background: #ffb15e;
}

.login-art-line--one {
  left: 1.8rem;
  bottom: 2.6rem;
}

.login-art-line--two {
  left: 12rem;
  bottom: 6.9rem;
}

.login-art-line--three {
  right: 7.5rem;
  bottom: 5.3rem;
}

.login-art-line--four {
  right: 0.8rem;
  bottom: 1.3rem;
}

.login-page--split .login-right {
  background: #ffffff;
}

.login-page--split .login-right-inner {
  width: min(22rem, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-page--split .login-card {
  width: 100%;
  border-radius: 0;
  overflow: visible;
}

.login-page--split .login-card-bg {
  display: none;
}

.login-page--split .login-card-body {
  padding: 0;
}

.login-page--split .login-card-header {
  margin-bottom: 1.55rem;
}

.login-page--split .login-card-title {
  color: #7c70ef;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.login-page--split .login-card-subtitle,
.login-page--split .login-label,
.login-page--split .login-required,
.login-page--split .login-divider {
  display: none;
}

.login-page--split .login-form {
  align-items: center;
  gap: 0.9rem;
}

.login-page--split .login-field {
  width: 100%;
}

.login-page--split .login-input-wrap::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  z-index: 2;
  background: #7c70ef;
  pointer-events: none;
}

.login-page--split .login-field--email .login-input-wrap::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.login-page--split .login-field--password .login-input-wrap::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='10' width='12' height='10' rx='2'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3Cpath d='M12 14v2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='10' width='12' height='10' rx='2'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3Cpath d='M12 14v2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.login-page--split .login-input {
  height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: #ece8ff;
  padding: 0.7rem 3.15rem 0.7rem 3.2rem;
  color: #3f3a63;
  font-size: 0.9rem;
  box-shadow: none;
}

.login-page--split .login-input::placeholder {
  color: rgba(83, 75, 123, 0.68);
  opacity: 1;
}

.login-page--split .login-input:focus {
  border: 0;
  background: #f1edff;
  box-shadow: 0 0 0 0.22rem rgba(124, 112, 239, 0.16);
}

.login-page--split .login-toggle {
  right: 0.58rem;
  top: 50%;
  width: 1.95rem;
  height: 1.95rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7c70ef;
  box-shadow: none;
}

.login-page--split .login-toggle:hover,
.login-page--split .login-toggle:focus-visible {
  background: rgba(124, 112, 239, 0.12);
  box-shadow: none;
}

.login-page--split .login-forgot {
  width: 100%;
  margin-top: -0.05rem;
  text-align: center;
}

.login-page--split .login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #ddd8ff;
  border-radius: 999px;
  background: #faf8ff;
  color: #6f63e8;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0.45rem 1rem rgba(124, 112, 239, 0.1);
}

.login-page--split .login-link:hover {
  border-color: #c7bfff;
  background: #f1edff;
  color: #5d52d7;
  text-decoration: none;
}

.login-page--split .login-button {
  width: min(15.5rem, 100%);
  min-height: 2.85rem;
  margin-top: 0.1rem;
  border: 0;
  border-radius: 999px;
  background-color: #8a73ed !important;
  background-image: linear-gradient(90deg, #d46bae 0%, #7a6fee 100%) !important;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 1rem 1.7rem rgba(124, 112, 239, 0.28);
}

.login-page--split .login-button:hover {
  background-image: linear-gradient(90deg, #c55da6 0%, #685ee0 100%) !important;
  transform: translateY(-1px);
}

.login-page--split .login-button-icon,
.login-page--split .login-secondary-icon {
  display: none;
}

.login-page--split .login-register {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.login-page--split .login-register p {
  margin: 0;
  color: #777187;
  font-size: 0.78rem;
  font-weight: 700;
}

.login-page--split .login-secondary-button {
  width: min(15.5rem, 100%);
  min-height: 2.75rem;
  gap: 0.5rem;
  border: 1px solid #cfc8ff;
  border-radius: 999px;
  background: #ffffff;
  background-image: none;
  color: #675be2;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 0.8rem 1.45rem rgba(124, 112, 239, 0.12);
}

.login-page--split .login-secondary-button:hover {
  border-color: #a99fff;
  background: #f7f4ff;
  color: #584dd2;
  transform: translateY(-1px);
}

.login-page--split .login-secondary-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.login-page--split .login-alert {
  width: 100%;
  border-radius: 0.9rem;
}

.login-page--split .login-field-error {
  width: 100%;
  font-size: 0.72rem;
}

@media (max-width: 1024px) {
  .login-page--split .login-container {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .login-page--split .login-left,
  .login-page--split .login-right {
    width: 100%;
  }

  .login-page--split .login-left {
    display: flex;
    min-height: 22rem;
  }

  .login-page--split .login-right {
    padding: 3rem 1.5rem;
  }

  .login-page--split .login-mobile-brand {
    display: none;
  }
}

@media (max-width: 640px) {
  .login-page--split {
    padding: 1rem;
  }

  .login-page--split .login-left {
    min-height: 18rem;
  }

  .login-page--split .login-left-content {
    padding: 2rem;
  }

  .login-page--split .login-section-title::before {
    font-size: 2rem;
  }

  .login-page--split .login-section-text {
    font-size: 0.92rem;
  }
}

.auth-single-page {
  min-height: 100vh;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4.25rem);
  background:
    radial-gradient(circle at 88% 52%, rgba(205, 95, 214, 0.45), transparent 26rem),
    linear-gradient(120deg, #594ee8 0%, #6653e1 50%, #9a58cf 100%);
  overflow: hidden;
}

.auth-single-page .login-container--single,
.auth-reset-page > .flex {
  width: min(36rem, 100%);
  min-height: auto;
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 1.75rem 4.5rem rgba(37, 20, 103, 0.28);
}

.auth-reset-page > .flex {
  margin: 0 auto;
}

.auth-single-page .login-right--single,
.auth-single-page .login-right-inner--center {
  width: 100%;
}

.auth-single-page .forgot-brand,
.auth-reset-page .mb-6.text-center:first-child {
  width: min(28rem, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(124, 112, 239, 0.16);
  border-radius: 1.25rem;
  background: #faf8ff;
  box-shadow: 0 1rem 2.5rem rgba(47, 29, 126, 0.1);
}

.auth-single-page .forgot-brand img:first-child,
.auth-reset-page .mb-6.text-center:first-child img:first-child {
  width: 4rem;
  height: 4rem;
  border-radius: 1.1rem;
}

.auth-single-page .forgot-brand img:nth-child(2),
.auth-reset-page .mb-6.text-center:first-child img:nth-child(2) {
  width: 14rem;
  max-height: 4rem;
  object-fit: contain;
}

.auth-single-page .login-card,
.auth-reset-page .relative > .absolute + .relative {
  width: 100%;
  border-radius: 0 0 2rem 2rem;
  overflow: hidden;
}

.auth-single-page .login-card-bg,
.auth-reset-page .relative > .absolute {
  border: 0;
  border-radius: 0 0 2rem 2rem;
  background: #ffffff;
  box-shadow: none;
}

.auth-single-page .login-card-body,
.auth-reset-page .relative > .absolute + .relative {
  padding: 2rem;
}

.auth-single-page .login-card-title,
.auth-reset-page h2 {
  color: #7c70ef;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-single-page .login-card-subtitle,
.auth-reset-page p {
  color: #6f6880;
}

.auth-single-page .forgot-icon,
.auth-reset-page [data-reset-state] .w-16,
.auth-reset-page [data-reset-state="form"] .w-12 {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  background: #ece8ff;
  color: #7c70ef;
}

.auth-single-page .login-form,
.auth-reset-page form {
  align-items: center;
  gap: 0.95rem;
}

.auth-single-page .login-field,
.auth-reset-page .login-field {
  width: 100%;
}

.auth-single-page .login-input-wrap::before,
.auth-reset-page .login-input-wrap::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  z-index: 2;
  background: #7c70ef;
  pointer-events: none;
}

.auth-single-page .login-field--email .login-input-wrap::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.auth-single-page .login-field--password .login-input-wrap::before,
.auth-reset-page .login-field--password .login-input-wrap::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='10' width='12' height='10' rx='2'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3Cpath d='M12 14v2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='10' width='12' height='10' rx='2'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3Cpath d='M12 14v2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.auth-single-page .login-input,
.auth-reset-page .login-input {
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #ece8ff;
  padding: 0.7rem 1rem 0.7rem 3.2rem;
  color: #3f3a63;
  font-size: 0.9rem;
  box-shadow: none;
}

.auth-single-page .login-input:focus,
.auth-reset-page .login-input:focus {
  border: 0;
  background: #f1edff;
  box-shadow: 0 0 0 0.22rem rgba(124, 112, 239, 0.16);
}

.auth-single-page .login-input::placeholder,
.auth-reset-page .login-input::placeholder {
  color: rgba(83, 75, 123, 0.68);
  opacity: 1;
}

.auth-single-page .login-button,
.auth-reset-page .login-button,
.auth-reset-page [data-reset-state="invalid"] a:first-child,
.auth-reset-page [data-reset-state="success"] a {
  width: min(16rem, 100%);
  min-height: 2.85rem;
  border: 0;
  border-radius: 999px;
  background-color: #8a73ed !important;
  background-image: linear-gradient(90deg, #d46bae 0%, #7a6fee 100%) !important;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 1rem 1.7rem rgba(124, 112, 239, 0.28);
}

.auth-single-page .login-link,
.auth-reset-page .login-link,
.auth-reset-page [data-reset-state="invalid"] a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #ddd8ff;
  border-radius: 999px;
  background: #faf8ff;
  color: #6f63e8;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.register-page .register-terms .login-link {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #675be2;
  font-size: inherit;
  text-decoration: underline;
  box-shadow: none;
}

/* Polished auth actions. */
.login-page .login-button,
.login-page .login-secondary-button,
.auth-single-page .login-button,
.auth-reset-page .login-button,
.auth-reset-page [data-reset-state="invalid"] a:first-child,
.auth-reset-page [data-reset-state="success"] a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.login-page .login-button::before,
.auth-single-page .login-button::before,
.auth-reset-page .login-button::before,
.auth-reset-page [data-reset-state="invalid"] a:first-child::before,
.auth-reset-page [data-reset-state="success"] a::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 48%);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

.login-page .login-button:hover,
.auth-single-page .login-button:hover,
.auth-reset-page .login-button:hover,
.auth-reset-page [data-reset-state="invalid"] a:first-child:hover,
.auth-reset-page [data-reset-state="success"] a:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow: 0 1.2rem 2rem rgba(124, 112, 239, 0.34);
}

.login-page .login-button:active,
.auth-single-page .login-button:active,
.auth-reset-page .login-button:active,
.auth-reset-page [data-reset-state="invalid"] a:first-child:active,
.auth-reset-page [data-reset-state="success"] a:active {
  transform: translateY(0);
  box-shadow: 0 0.65rem 1.2rem rgba(124, 112, 239, 0.24);
}

.login-page .login-button:focus-visible,
.login-page .login-secondary-button:focus-visible,
.login-page .login-link:focus-visible,
.auth-single-page .login-link:focus-visible,
.auth-reset-page .login-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.22rem rgba(124, 112, 239, 0.2), 0 0.9rem 1.55rem rgba(124, 112, 239, 0.16);
}

.login-page .login-secondary-button:hover,
.login-page .login-link:hover,
.auth-single-page .login-link:hover,
.auth-reset-page .login-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.8rem 1.45rem rgba(124, 112, 239, 0.14);
}

.login-page .login-button:disabled,
.auth-single-page .login-button:disabled,
.auth-reset-page .login-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.72);
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

/* Blue brand system for auth views. */
.login-page {
  --auth-primary: #2563eb;
  --auth-primary-dark: #1d4ed8;
  --auth-secondary: #38bdf8;
  --auth-primary-soft: #eff6ff;
  --auth-secondary-soft: #ecfeff;
  --auth-gradient: linear-gradient(90deg, var(--auth-secondary) 0%, var(--auth-primary) 100%);
}

.login-page--split,
.auth-single-page {
  background:
    radial-gradient(circle at 88% 52%, rgba(56, 189, 248, 0.34), transparent 26rem),
    linear-gradient(120deg, #2563eb 0%, #3b82f6 50%, #38bdf8 100%);
}

.login-page--split .login-left {
  background:
    radial-gradient(circle at 78% 30%, rgba(125, 211, 252, 0.5), transparent 6rem),
    linear-gradient(135deg, rgba(37, 99, 235, 0.93) 0%, rgba(59, 130, 246, 0.92) 48%, rgba(56, 189, 248, 0.88) 100%);
}

.login-page--split .login-brand img:nth-child(2) {
  box-shadow: 0 0.85rem 1.7rem rgba(37, 99, 235, 0.16);
}

.login-page--split .login-card-title,
.auth-single-page .login-card-title,
.auth-reset-page h2 {
  color: var(--auth-primary);
}

.login-page--split .login-input-wrap::before,
.auth-single-page .login-input-wrap::before,
.auth-reset-page .login-input-wrap::before {
  background: var(--auth-primary);
}

.login-page--split .login-field--identificacion .login-input-wrap::before {
  content: none;
  display: none;
}

.login-page--split .login-identification-icon {
  color: var(--auth-primary);
  opacity: 0.9;
}

.login-page--split .login-identification-icon svg {
  width: 1.12rem;
  height: 1.12rem;
  stroke-width: 1.85;
}

.login-page--split .login-input,
.auth-single-page .login-input,
.auth-reset-page .login-input {
  background: var(--auth-primary-soft);
  color: #1e3a8a;
}

.login-page--split .login-input:focus,
.auth-single-page .login-input:focus,
.auth-reset-page .login-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.16);
}

.login-page--split .login-toggle,
.login-page--split .login-link,
.auth-single-page .login-link,
.auth-reset-page .login-link,
.auth-reset-page [data-reset-state="invalid"] a:last-child {
  color: var(--auth-primary);
}

.login-page--split .login-link,
.auth-single-page .login-link,
.auth-reset-page .login-link,
.auth-reset-page [data-reset-state="invalid"] a:last-child {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.login-page--split .login-link:hover,
.auth-single-page .login-link:hover,
.auth-reset-page .login-link:hover {
  border-color: #93c5fd;
  background: #dbeafe;
  color: var(--auth-primary-dark);
}

.login-page--split .login-button,
.auth-single-page .login-button,
.auth-reset-page .login-button,
.auth-reset-page [data-reset-state="invalid"] a:first-child,
.auth-reset-page [data-reset-state="success"] a {
  background-color: var(--auth-primary) !important;
  background-image: var(--auth-gradient) !important;
  box-shadow: 0 1rem 1.7rem rgba(37, 99, 235, 0.28);
}

.login-page .login-button:hover,
.auth-single-page .login-button:hover,
.auth-reset-page .login-button:hover,
.auth-reset-page [data-reset-state="invalid"] a:first-child:hover,
.auth-reset-page [data-reset-state="success"] a:hover {
  box-shadow: 0 1.2rem 2rem rgba(37, 99, 235, 0.34);
}

.login-page--split .login-secondary-button {
  border-color: #bfdbfe;
  color: var(--auth-primary);
  background: #ffffff;
  box-shadow: 0 0.8rem 1.45rem rgba(37, 99, 235, 0.12);
}

.login-page--split .login-secondary-button:hover {
  border-color: #93c5fd;
  background: var(--auth-primary-soft);
  color: var(--auth-primary-dark);
}

.auth-single-page .forgot-icon,
.auth-reset-page [data-reset-state] .w-16,
.auth-reset-page [data-reset-state="form"] .w-12 {
  background: var(--auth-primary-soft);
  color: var(--auth-primary);
}

.login-page .login-button:focus-visible,
.login-page .login-secondary-button:focus-visible,
.login-page .login-link:focus-visible,
.auth-single-page .login-link:focus-visible,
.auth-reset-page .login-link:focus-visible {
  box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2), 0 0.9rem 1.55rem rgba(37, 99, 235, 0.16);
}

/* Terms view in the same split auth layout. */
.terms-page.login-page--split {
  overflow: auto;
}

.terms-page.login-page--split .terms-container {
  width: min(72rem, 100%);
  min-height: min(42rem, calc(100vh - 5rem));
}

.terms-page.login-page--split .login-left {
  flex-basis: 40%;
  width: 40%;
}

.terms-page.login-page--split .terms-right {
  flex-basis: 60%;
  width: 60%;
}

.terms-page.login-page--split .terms-brand-panel {
  width: min(24rem, calc(100% - 2rem));
}

.terms-page.login-page--split .terms-brand,
.terms-page.login-page--split .terms-brand-lockup {
  width: 100%;
  min-width: 0;
}

.terms-page.login-page--split .terms-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  flex-shrink: 1 !important;
}

.terms-page.login-page--split .terms-brand-wordmark {
  width: min(100%, 14rem) !important;
  max-width: 100% !important;
  flex: 1 1 auto;
  min-width: 0;
}

.terms-page .terms-brand--mobile .terms-brand-lockup {
  justify-content: center;
}

.terms-page.login-page--split .login-left-stack > div:last-child {
  display: block;
}

.terms-page.login-page--split .terms-right-inner {
  width: min(43rem, 100%);
  max-width: 43rem;
  align-items: stretch;
}

.terms-page.login-page--split .terms-card {
  display: flex;
  width: 100%;
  max-height: calc(100vh - 8rem);
}

.terms-page.login-page--split .terms-card-body {
  width: 100%;
  max-height: calc(100vh - 8rem);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.terms-page .terms-card-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--auth-primary-soft);
  color: var(--auth-primary);
}

.terms-page .terms-card-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.terms-page .terms-title {
  color: var(--auth-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.terms-page .terms-subtitle {
  color: #334155;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.2;
}

.terms-page .terms-date {
  color: #64748b;
  font-size: 0.82rem;
}

.terms-page .terms-card-body section {
  margin-bottom: 1.4rem;
}

.terms-page .terms-svg-icon {
  width: 1rem;
  height: 1rem;
}

.terms-page .terms-icon-chip,
.terms-page .terms-section-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.terms-page .terms-icon-chip {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
}

.terms-page .terms-icon-chip--primary,
.terms-page .terms-section-badge--primary {
  background: #dbeafe;
  color: #2563eb;
}

.terms-page .terms-icon-chip--secondary,
.terms-page .terms-section-badge--secondary {
  background: #e2e8f0;
  color: #334155;
}

.terms-page .terms-icon-chip--tertiary,
.terms-page .terms-section-badge--tertiary {
  background: #f5d0fe;
  color: #a21caf;
}

.terms-page .terms-icon-chip--accent,
.terms-page .terms-section-badge--accent {
  background: #ffedd5;
  color: #ea580c;
}

.terms-page .terms-icon-chip--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.terms-page .terms-icon-chip--green {
  background: #dcfce7;
  color: #15803d;
}

.terms-page .terms-icon-chip--purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.terms-page .terms-icon-chip--orange {
  background: #ffedd5;
  color: #c2410c;
}

.terms-page .terms-icon-chip--warning {
  background: #fef3c7;
  color: #b45309;
}

.terms-page .terms-intro-card {
  margin-bottom: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(191, 219, 254, 0.75);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(250, 245, 255, 0.92));
  box-shadow: 0 0.9rem 1.9rem rgba(37, 99, 235, 0.08);
}

.terms-page .terms-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.terms-page .terms-summary-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.55rem 1.4rem rgba(15, 23, 42, 0.06);
}

.terms-page .terms-summary-card h3,
.terms-page .terms-topic-card h4,
.terms-page .terms-mini-card h4,
.terms-page .terms-right-card h4,
.terms-page .terms-contact-card h4,
.terms-page .terms-notice-card h4 {
  margin: 0 0 0.2rem;
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
}

.terms-page .terms-summary-card p,
.terms-page .terms-topic-card p,
.terms-page .terms-mini-card p,
.terms-page .terms-right-card p,
.terms-page .terms-contact-card p,
.terms-page .terms-notice-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.terms-page .terms-section-shell {
  padding: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 0.95rem 2.2rem rgba(15, 23, 42, 0.05);
}

.terms-page .terms-section-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.terms-page .terms-section-badge {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
}

.terms-page .terms-section-badge .terms-svg-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.terms-page .terms-section-kicker {
  margin: 0 0 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.terms-page .terms-section-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 800;
}

.terms-page .terms-section-title--primary {
  color: #1d4ed8;
}

.terms-page .terms-section-title--secondary {
  color: #334155;
}

.terms-page .terms-section-title--tertiary {
  color: #a21caf;
}

.terms-page .terms-section-title--accent {
  color: #c2410c;
}

.terms-page .terms-panel-list {
  display: grid;
  gap: 0.85rem;
}

.terms-page .terms-panel {
  padding: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0.45rem 1.15rem rgba(15, 23, 42, 0.04);
}

.terms-page .terms-panel-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.terms-page .terms-card-body h3,
.terms-page .terms-panel-head h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #1e293b;
}

.terms-page .terms-card-body p,
.terms-page .terms-card-body li {
  font-size: 0.86rem;
  line-height: 1.6;
}

.terms-page .terms-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding-left: 0 !important;
  list-style: none;
}

.terms-page .terms-list--compact {
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.terms-page .terms-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
}

.terms-page .terms-list-icon {
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.08rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
}

.terms-page .terms-list-icon .terms-svg-icon {
  width: 0.78rem;
  height: 0.78rem;
}

.terms-page .terms-list-icon--warn {
  background: #ffedd5;
  color: #ea580c;
}

.terms-page .terms-topic-grid,
.terms-page .terms-mini-grid,
.terms-page .terms-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.terms-page .terms-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.terms-page .terms-topic-card,
.terms-page .terms-mini-card,
.terms-page .terms-right-card,
.terms-page .terms-contact-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.98);
}

.terms-page .terms-topic-card-head,
.terms-page .terms-right-card,
.terms-page .terms-contact-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.terms-page .terms-topic-card--blue {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.98));
  border-color: #bfdbfe;
}

.terms-page .terms-topic-card--green {
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.95), rgba(255, 255, 255, 0.98));
  border-color: #bbf7d0;
}

.terms-page .terms-topic-card--purple {
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.95), rgba(255, 255, 255, 0.98));
  border-color: #e9d5ff;
}

.terms-page .terms-topic-card--orange {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.98));
  border-color: #fed7aa;
}

.terms-page .terms-notice-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px solid #fde68a;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(254, 252, 232, 0.95), rgba(255, 255, 255, 0.98));
}

.terms-page .terms-footer {
  margin-top: 0.9rem;
}

.terms-page .terms-footer-note {
  max-width: 34rem;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.terms-page .terms-footer {
  margin-top: 0.75rem;
}

.terms-page .terms-back-button {
  width: min(15rem, 100%);
  min-height: 2.75rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff !important;
  background-image: none !important;
  color: var(--auth-primary);
  box-shadow: 0 0.8rem 1.45rem rgba(37, 99, 235, 0.12);
}

.terms-page .terms-back-button .terms-svg-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.terms-page .terms-back-button:hover {
  border-color: #93c5fd;
  background: var(--auth-primary-soft) !important;
  color: var(--auth-primary-dark);
}

@media (max-width: 1024px) {
  .terms-page .terms-highlights-grid {
    grid-template-columns: 1fr;
  }

  .terms-page .terms-contact-grid {
    grid-template-columns: 1fr;
  }

  .terms-page.login-page--split .login-left {
    display: none;
  }

  .terms-page.login-page--split .login-left,
  .terms-page.login-page--split .terms-right {
    width: 100%;
  }

  .terms-page.login-page--split .terms-right {
    flex-basis: 100%;
    padding: 2rem 1.5rem;
  }

  .terms-page.login-page--split .login-mobile-brand {
    display: block;
  }

  .terms-page.login-page--split .terms-card,
  .terms-page.login-page--split .terms-card-body {
    max-height: none;
  }

  .terms-page.login-page--split .terms-card-body {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .terms-page .terms-topic-grid,
  .terms-page .terms-mini-grid,
  .terms-page .terms-rights-grid {
    grid-template-columns: 1fr;
  }

  .terms-page .terms-section-head,
  .terms-page .terms-notice-card,
  .terms-page .terms-footer-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .terms-page .terms-footer-note {
    text-align: center;
    align-items: center;
  }

  .terms-page .terms-summary-card,
  .terms-page .terms-right-card,
  .terms-page .terms-contact-card {
    padding: 0.9rem;
  }

  .terms-page.login-page--split .terms-right {
    padding: 1.5rem 1rem;
  }

  .terms-page .terms-brand-lockup {
    gap: 0.6rem;
  }

  .terms-page .terms-brand-wordmark {
    width: min(100%, 11.75rem) !important;
  }

  .terms-page .terms-card-body p,
  .terms-page .terms-card-body li {
    font-size: 0.82rem;
  }
}

/* Mobile-first correction for the split login screen. */
@media (max-width: 1024px) {
  .login-page--split:not(.terms-page) {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    background:
      radial-gradient(circle at 20% 8%, rgba(219, 234, 254, 0.95), transparent 13rem),
      linear-gradient(180deg, #eff6ff 0%, #f8fafc 54%, #ecfeff 100%);
  }

  .login-page--split:not(.terms-page) .login-container {
    display: block;
    width: min(28rem, 100%);
    min-height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .login-page--split:not(.terms-page) .login-left {
    display: none !important;
  }

  .login-page--split:not(.terms-page) .login-right {
    width: 100%;
    min-height: auto;
    padding: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
  }

  .login-page--split:not(.terms-page) .login-right-inner {
    display: block;
    width: 100%;
  }

  .login-page--split:not(.terms-page) .login-mobile-brand {
    display: flex;
    margin: 0 0 0.9rem;
  }

  .login-page--split:not(.terms-page) .login-brand--mobile {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(147, 197, 253, 0.55);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0.9rem 2rem rgba(37, 99, 235, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .login-page--split:not(.terms-page) .login-brand--mobile > div:first-child {
    min-width: 0;
    justify-content: center;
  }

  .login-page--split:not(.terms-page) .login-brand--mobile img:first-child {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    box-shadow: 0 0.65rem 1.2rem rgba(37, 99, 235, 0.18);
  }

  .login-page--split:not(.terms-page) .login-brand--mobile img:nth-child(2) {
    width: min(12.75rem, calc(100vw - 8.5rem));
    max-height: 3.1rem;
    padding: 0.25rem 0.4rem;
    border-radius: 0.8rem;
    background: #ffffff;
    box-shadow: none;
  }

  .login-page--split:not(.terms-page) .login-card {
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 1.35rem 3.25rem rgba(15, 23, 42, 0.14);
  }

  .login-page--split:not(.terms-page) .login-card-bg {
    display: block;
    border: 1px solid rgba(191, 219, 254, 0.72);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
  }

  .login-page--split:not(.terms-page) .login-card-body {
    padding: clamp(1.25rem, 5vw, 1.75rem);
  }

  .login-page--split:not(.terms-page) .login-card-header {
    margin-bottom: 1.15rem;
  }

  .login-page--split:not(.terms-page) .login-card-title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.15;
    color: #1d4ed8;
  }

  .login-page--split:not(.terms-page) .login-card-subtitle {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .login-page--split:not(.terms-page) .login-form {
    align-items: stretch;
    gap: 1rem;
  }

  .login-page--split:not(.terms-page) .login-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #334155;
    font-size: 0.88rem;
  }

  .login-page--split:not(.terms-page) .login-required {
    display: inline;
  }

  .login-page--split:not(.terms-page) .login-input {
    height: 3rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.78rem 3.1rem 0.78rem 3rem;
    color: #0f172a;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  .login-page--split:not(.terms-page) .login-field--identificacion .login-input {
    padding-left: 3rem;
  }

  .login-page--split:not(.terms-page) .login-identification-icon {
    left: 1rem;
  }

  .login-page--split:not(.terms-page) .login-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.15);
  }

  .login-page--split:not(.terms-page) .login-toggle {
    right: 0.45rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.75rem;
    background: #eff6ff;
  }

  .login-page--split:not(.terms-page) .login-forgot {
    margin-top: -0.15rem;
  }

  .login-page--split:not(.terms-page) .login-link {
    width: 100%;
    min-height: 2.5rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
  }

  .login-page--split:not(.terms-page) .login-button,
  .login-page--split:not(.terms-page) .login-secondary-button {
    width: 100%;
    min-height: 3rem;
    border-radius: 0.95rem;
    font-size: 0.96rem;
    text-transform: none;
  }

  .login-page--split:not(.terms-page) .login-register {
    gap: 0.65rem;
    margin-top: 0;
  }

  .login-page--split:not(.terms-page) .login-register p {
    font-size: 0.88rem;
  }

  .login-page--split:not(.terms-page) .login-secondary-icon {
    display: inline-flex;
  }

  .login-page--split:not(.terms-page) .login-alert,
  .login-page--split:not(.terms-page) .login-field-error {
    font-size: 0.84rem;
    line-height: 1.35;
  }
}

@media (max-width: 420px) {
  .login-page--split:not(.terms-page) {
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  }

  .login-page--split:not(.terms-page) .login-mobile-brand {
    margin-bottom: 0.7rem;
  }

  .login-page--split:not(.terms-page) .login-brand--mobile {
    padding: 0.65rem;
    border-radius: 1rem;
  }

  .login-page--split:not(.terms-page) .login-brand--mobile img:first-child {
    width: 2.45rem;
    height: 2.45rem;
  }

  .login-page--split:not(.terms-page) .login-brand--mobile img:nth-child(2) {
    width: min(11.5rem, calc(100vw - 7.3rem));
    max-height: 2.7rem;
  }

  .login-page--split:not(.terms-page) .login-card-body {
    padding: 1.1rem;
  }

  .login-page--split:not(.terms-page) .login-card-header {
    margin-bottom: 1rem;
  }

  .login-page--split:not(.terms-page) .login-form {
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .auth-login-body #elens-btn {
    top: 0.65rem !important;
    right: 0.65rem !important;
    bottom: auto !important;
    left: auto !important;
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 1rem !important;
    padding: 0.3rem !important;
  }

  .auth-login-body #elens-btn img {
    border-radius: 0.7rem !important;
  }

  .auth-login-body #elens-panel {
    top: 4.15rem !important;
    right: 0.75rem !important;
    bottom: auto !important;
    left: 0.75rem !important;
    width: auto !important;
    max-width: calc(100vw - 1.5rem) !important;
    max-height: calc(100vh - 5rem) !important;
  }
}
