:root {
  --sofl-ink: #0f172a;
  --sofl-ink-2: #111827;
  --sofl-muted: #6b7280;
  --sofl-line: #e5e7eb;
  --sofl-soft-line: #f0f2f5;
  --sofl-bg: #f8fafc;
  --sofl-card: #ffffff;
  --sofl-navy: #071426;
  --sofl-navy-2: #0b1d35;
  --sofl-primary: #d4a843;
  --sofl-gold-deep: #c9982f;
  --sofl-gold-soft: #e7c873;
  --sofl-gold-wash: #fff8e7;
  --sofl-success: #10b981;
  --sofl-danger: #ef4444;
  --sofl-warning: #f59e0b;
  --sofl-radius: 16px;
  --sofl-radius-sm: 12px;
  --sofl-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  --sofl-shadow-soft: 0 14px 40px rgba(15, 23, 42, .08);
  --sofl-transition: 180ms ease;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--sofl-ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(212, 168, 67, .10), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, var(--sofl-bg) 54%, #fff8e6 100%);
}

a {
  color: var(--sofl-ink);
  font-weight: 650;
  text-decoration: none;
  transition: color var(--sofl-transition), opacity var(--sofl-transition), transform var(--sofl-transition);
}

a:hover { color: var(--sofl-gold-deep); }

.sofl-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(480px, 1.05fr) minmax(420px, .95fr);
}

.sofl-auth-brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    padding: 52px clamp(42px, 5.4vw, 82px) 56px;
    color: #ffffff;
    background: radial-gradient(circle at 68% 48%, rgba(22, 46, 78, 0.22), transparent 28%), radial-gradient(circle at 78% 40%, rgba(32, 58, 94, 0.18), transparent 30%), radial-gradient(circle at 12% 22%, rgba(18, 40, 72, 0.30), transparent 28%), linear-gradient(145deg, #020817 0%, #041225 30%, #06172d 55%, #081b33 75%, #030b18 100%);
}

/*.sofl-auth-brand-panel::before {
  content: "";
  position: absolute;
  left: -25%;
  top: 9%;
  width: 73%;
  height: 73%;
  border: 1px solid rgba(231, 200, 115, .20);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 34px rgba(212, 168, 67, .15));
  pointer-events: none;
}

.sofl-auth-brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, .035) 28.1% 28.25%, transparent 28.35%),
    linear-gradient(300deg, transparent 0 64%, rgba(231, 200, 115, .06) 64.1% 64.22%, transparent 64.35%);
  opacity: 0;
  pointer-events: none;
}*/

.sofl-brand-lockup,
.sofl-auth-story,
.sofl-auth-visual { position: relative; z-index: 1; }

.sofl-hero-ornaments {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sofl-gold-arc {
  position: absolute;
  border: 1px solid rgba(231, 200, 115, .22);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 18px rgba(212, 168, 67, .12));
}

.sofl-gold-arc-1 {
  left: -23%;
  bottom: 6%;
  width: 58%;
  height: 34%;
}

.sofl-gold-arc-2 {
  left: -17%;
  bottom: 13%;
  width: 49%;
  height: 28%;
  opacity: .7;
}

.sofl-gold-arc-3 {
  left: -10%;
  top: 27%;
  width: 33%;
  height: 23%;
  opacity: .42;
}

.sofl-market-line {
  position: absolute;
  left: 7%;
  width: 36%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 200, 115, .52), transparent);
  transform-origin: left center;
  opacity: .64;
}

.sofl-market-line::before,
.sofl-market-line::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(231, 200, 115, .78);
  box-shadow: 0 0 16px rgba(231, 200, 115, .28);
}

.sofl-market-line::before { left: 24%; }
.sofl-market-line::after { left: 68%; }

.sofl-market-line-1 {
  bottom: 23%;
  transform: rotate(-12deg);
}

.sofl-market-line-2 {
  bottom: 30%;
  width: 28%;
  transform: rotate(-24deg);
  opacity: .36;
}

.sofl-gold-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(231, 200, 115, .78);
  box-shadow: 0 0 18px rgba(231, 200, 115, .42);
}

.particle-1 { left: 18%; top: 34%; opacity: .74; }
.particle-2 { left: 38%; top: 18%; opacity: .48; }
.particle-3 { left: 56%; top: 62%; opacity: .55; }
.particle-4 { left: 12%; bottom: 28%; opacity: .42; }

.sofl-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.sofl-brand-mark:hover { color: #ffffff; opacity: .9; }

.sofl-auth-logo {
  width: min(330px, 72vw);
  height: auto;
  object-fit: contain;
}

.sofl-brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.sofl-brand-name {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.sofl-brand-subtitle {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
  font-weight: 600;
}

.sofl-auth-visual {
  min-height: 295px;
  display: grid;
  place-items: center;
}

.visual-card {
  width: min(360px, 76%);
  min-height: 188px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
}

.visual-kicker {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: .92;
  letter-spacing: 0;
}

.visual-card small {
  display: block;
  max-width: 220px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
  line-height: 1.5;
}

.visual-orbit {
  position: absolute;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(231, 200, 115, .98), rgba(201, 152, 47, .92));
  color: #111827;
  box-shadow: 0 18px 45px rgba(201, 152, 47, .30);
}

.orbit-1 { top: 24px; left: 14%; }
.orbit-2 { right: 13%; top: 64px; }
.orbit-3 { bottom: 22px; left: 22%; }

.visual-path {
  position: absolute;
  width: 74%;
  height: 74%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.sofl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(231, 200, 115, .95);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1.4;
  text-shadow: 0 0 18px rgba(212, 168, 67, .18);
  text-transform: uppercase;
}

.sofl-auth-story h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.35rem, 5.55vw, 4rem);
  line-height: .98;
  font-weight: 600;
/*  letter-spacing: .02em;*/
  text-shadow: 0 20px 54px rgba(0, 0, 0, .30), 0 0 26px rgba(255, 255, 255, .06);
}

.sofl-auth-story p {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
  line-height: 1.72;
  font-weight: 540;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.sofl-auth-story .sofl-auth-supporting-copy {
  max-width: 520px;
  margin-top: 10px;
  color: rgba(226, 234, 245, .70);
  font-size: .98rem;
  line-height: 1.68;
  font-weight: 520;
}

.sofl-auth-products {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 0;
/*  margin-top: auto;
  padding-top: min(22vh, 190px);*/
  color: rgba(245, 248, 252, .78);
  font-size: .88rem;
  font-weight: 740;
  letter-spacing: .01em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .26);
}

.sofl-auth-products span {
  display: inline-flex;
  align-items: center;
}

.sofl-auth-products span + span::before {
  content: "|";
  width: auto;
  height: auto;
  margin: 0 12px;
  color: rgba(231, 200, 115, .88);
  background: transparent;
  text-shadow: 0 0 12px rgba(231, 200, 115, .35);
}

.sofl-trust-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .84);
  font-size: .94rem;
  font-weight: 600;
}

.sofl-trust-list i {
  margin-right: 10px;
  color: var(--sofl-success);
}

.sofl-auth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 32px;
}

.sofl-auth-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
}

.sofl-auth-stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
}

.sofl-auth-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  font-weight: 650;
}

.sofl-auth-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 36px clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 12%, rgba(231, 200, 115, .13), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(15, 23, 42, .045), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 251, 244, .97) 48%, rgba(247, 249, 252, .99));
}

.sofl-auth-topline {
  width: min(100%, 510px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto 22px;
  color: var(--sofl-muted);
  font-size: .86rem;
  font-weight: 650;
}

.sofl-secure-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sofl-secure-strip > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 168, 67, .24);
  border-radius: 12px;
  color: #8a6519;
  background: linear-gradient(135deg, #fffaf0, #ffffff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.sofl-secure-strip strong,
.sofl-secure-strip small {
  display: block;
}

.sofl-secure-strip strong {
  color: var(--sofl-ink);
  font-size: .86rem;
  line-height: 1.2;
}

.sofl-secure-strip small {
  margin-top: 2px;
  color: #7a8798;
  font-size: .76rem;
  font-weight: 650;
}

.sofl-explore-link i {
  color: currentColor;
  font-size: .78rem;
  transition: transform var(--sofl-transition);
}

.sofl-explore-link:hover i {
  transform: translateX(3px);
}

.auth-card {
  width: min(100%, 510px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(226, 219, 202, .92);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 239, .90)),
    #fffdf8;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .12), 0 1px 0 rgba(255, 255, 255, .85) inset;
}

.auth-card.auth-card-compact {
  max-width: 470px;
  padding: clamp(26px, 3.4vw, 38px);
}

.auth-header {
  margin-bottom: 26px;
}

.auth-card-compact .auth-header {
  margin-bottom: 20px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--sofl-gold-deep);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-title {
    margin: 0;
    color: var(--sofl-ink);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    line-height: 1.16;
    font-weight: 820;
    letter-spacing: 0;
}

.auth-subtitle {
  margin: 9px 0 0;
  color: var(--sofl-muted);
  font-size: .96rem;
  line-height: 1.58;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-card-compact .auth-form {
  gap: 12px;
}

.form-group,
.auth-field {
  display: grid;
  gap: 8px;
}

.auth-label,
.form-group label {
  color: var(--sofl-ink-2);
  font-size: .88rem;
  font-weight: 720;
}

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

.auth-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .95rem;
  line-height: 1;
  pointer-events: none;
  transition: color var(--sofl-transition);
}

.form-control,
.form-select,
.auth-input {
  min-height: 42px;
  border: 1px solid #d8dfeb;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, .94);
  color: var(--sofl-ink);
  font-size: .95rem;
  font-weight: 520;
  outline: 0;
  transition: border-color var(--sofl-transition), box-shadow var(--sofl-transition), background-color var(--sofl-transition), transform var(--sofl-transition);
}

.auth-input-wrap .form-control,
.auth-input-wrap .auth-input {
  padding-left: 44px;
  padding-right: 44px;
}

.form-control::placeholder {
  color: #9aa7b8;
  font-weight: 500;
}

.form-control:focus,
.form-select:focus,
.auth-input:focus {
  border-color: rgba(201, 152, 47, .78);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 168, 67, .13), 0 10px 24px rgba(15, 23, 42, .055);
  outline: 0;
}

.form-control:focus-visible,
.form-select:focus-visible,
.auth-input:focus-visible {
  outline: 0;
}

.auth-card .form-control.is-invalid:focus,
.auth-card .form-control.input-validation-error:focus {
  border-color: rgba(201, 152, 47, .78);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, .13), 0 10px 24px rgba(15, 23, 42, .055);
}

.auth-card input:-webkit-autofill,
.auth-card input:-webkit-autofill:hover,
.auth-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--sofl-ink);
  box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 4px rgba(212, 168, 67, .10);
  transition: background-color 9999s ease-out;
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--sofl-gold-deep);
}

.field-validation-error,
.text-danger {
  color: var(--sofl-danger) !important;
  font-size: .84rem;
  font-weight: 650;
}

.validation-summary-errors {
  padding: 14px 16px;
  border: 1px solid rgba(239, 68, 68, .16);
  border-radius: 14px;
  background: rgba(239, 68, 68, .07);
  color: #991b1b;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 18px;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: -6px 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(185, 28, 28, .16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(254, 242, 242, .92), rgba(255, 250, 239, .72));
  color: #7f1d1d;
  box-shadow: 0 14px 28px rgba(127, 29, 29, .06), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.auth-alert > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(239, 68, 68, .10);
  color: #b91c1c;
  font-size: .92rem;
}

.auth-alert strong,
.auth-alert span {
  display: block;
}

.auth-alert strong {
  color: #651414;
  font-size: .88rem;
  font-weight: 820;
  line-height: 1.25;
}

.auth-alert span {
  margin-top: 3px;
  color: #8f2d2d;
  font-size: .86rem;
  font-weight: 620;
  line-height: 1.45;
}

.password-toggle {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: transparent;
  outline: 0;
  transition: background-color var(--sofl-transition), color var(--sofl-transition), transform var(--sofl-transition);
}

.password-toggle:hover,
.password-toggle:focus {
  color: var(--sofl-gold-deep);
  background: var(--sofl-gold-wash);
}

.password-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(212, 168, 67, .18);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: -2px 0 2px;
}

.form-check {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 0;
}

.form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin: .15rem 0 0;
  border-color: #cbd5e1;
  cursor: pointer;
  flex: 0 0 auto;
}

.form-check-input:checked {
  border-color: var(--sofl-primary);
  background-color: var(--sofl-primary);
}

.form-check-input:focus,
.form-check-input:focus-visible {
  border-color: var(--sofl-gold-deep);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, .14);
  outline: 0;
}

.form-check-label {
  color: #334155;
  font-size: .9rem;
  line-height: 1.55;
  font-weight: 620;
  cursor: pointer;
}

.auth-terms {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  margin-top: -2px;
  padding: 2px 0;
}

.auth-terms .form-check-input {
  grid-column: 1;
}

.auth-terms .form-check-label {
  grid-column: 2;
}

.auth-terms [data-valmsg-for],
.auth-terms .field-validation-error {
  grid-column: 2;
  margin-top: -2px;
}

.auth-terms .sofl-link {
  color: #7c5a12;
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 67, .38);
  text-underline-offset: 3px;
}

.auth-terms .sofl-link:hover,
.auth-terms .sofl-link:focus-visible {
  color: var(--sofl-gold-deep);
  text-decoration-color: currentColor;
}

.auth-row .sofl-link {
  color: #334155;
  font-size: .9rem;
  font-weight: 680;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 760;
  letter-spacing: 0;
  transition: transform var(--sofl-transition), box-shadow var(--sofl-transition), background-color var(--sofl-transition), border-color var(--sofl-transition), color var(--sofl-transition);
}

.btn:hover { transform: translateY(-1px); }

.btn:focus,
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(212, 168, 67, .14);
}

.auth-card .btn-primary,
.auth-card .sofl-btn-primary {
  min-height: 42px;
  border-radius: 8px;
  border-color: #c89a33 !important;
  background: linear-gradient(180deg, #e6bf5f, #d4a843) !important;
  color: #0b1220 !important;
  font-size: .94rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(201, 152, 47, .26), 0 1px 0 rgba(255, 255, 255, .35) inset !important;
}

.auth-card .btn-primary:hover,
.auth-card .sofl-btn-primary:hover,
.auth-card .sofl-btn-primary:focus {
  border-color: #b98725 !important;
  background: linear-gradient(180deg, #edca6f, #c9982f) !important;
  color: #071426 !important;
  box-shadow: 0 22px 44px rgba(201, 152, 47, .34), 0 0 0 4px rgba(212, 168, 67, .12) !important;
}

.auth-card .btn-outline,
.auth-card .btn-outline-secondary,
.auth-card .sofl-btn-outline {
  border: 1px solid #dbe3ef;
  background: rgba(255, 255, 255, .88) !important;
  color: var(--sofl-ink) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04) !important;
}

.auth-card .btn-outline:hover,
.auth-card .btn-outline-secondary:hover,
.auth-card .sofl-btn-outline:hover,
.auth-card .sofl-btn-outline:focus {
  border-color: rgba(212, 168, 67, .55) !important;
  background: #fffaf0 !important;
  color: var(--sofl-ink) !important;
  box-shadow: 0 13px 28px rgba(15, 23, 42, .08) !important;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  font-weight: 720;
}

.google-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: .14rem;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 6px 0;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--sofl-soft-line);
}

.auth-links,
.auth-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--sofl-muted);
  font-size: .92rem;
}

.auth-links-divided {
  position: relative;
  margin-top: 22px;
  padding-top: 18px;
}

.auth-links-divided::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, .26), rgba(226, 232, 240, .9), transparent);
}

.sofl-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sofl-ink);
  font-weight: 760;
}

.sofl-link:hover,
.sofl-link:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.sofl-link:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, .16);
}

.auth-back-link {
  color: #475569;
  font-size: .9rem;
  font-weight: 760;
}

.auth-back-link i {
  font-size: .78rem;
  color: #9a7324;
  transition: transform var(--sofl-transition), color var(--sofl-transition);
}

.auth-back-link:hover i,
.auth-back-link:focus-visible i {
  color: var(--sofl-gold-deep);
  transform: translateX(-3px);
}

.auth-trust-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.55;
  font-weight: 560;
}

.auth-trust-message i {
  margin-top: 2px;
  color: rgba(154, 115, 36, .78);
}

.auth-trust-message-subtle {
  max-width: 96%;
  margin-inline: auto;
}

.auth-create-link {
  font-size: .98rem;
  color: var(--sofl-ink);
}

.auth-create-link i {
  font-size: .82rem;
  transition: transform var(--sofl-transition);
}

.auth-create-link:hover i {
  transform: translateX(3px);
}

.alert {
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 640;
}

.alert-success {
  border-color: rgba(16, 185, 129, .22);
  background: rgba(16, 185, 129, .09);
  color: #047857;
}

.alert-danger {
  border-color: rgba(239, 68, 68, .18);
  background: rgba(239, 68, 68, .08);
  color: #b91c1c;
}

.alert-info {
  border-color: rgba(212, 168, 67, .24);
  background: rgba(255, 248, 231, .82);
  color: #7c5a12;
}

.password-strength {
  display: grid;
  gap: 8px;
  margin-top: 1px;
}

.strength-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.strength-track span {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background-color var(--sofl-transition), transform var(--sofl-transition);
}

.password-strength[data-strength="1"] span:nth-child(-n + 1) { background: var(--sofl-danger); }
.password-strength[data-strength="2"] span:nth-child(-n + 2) { background: var(--sofl-warning); }
.password-strength[data-strength="3"] span:nth-child(-n + 3) { background: var(--sofl-primary); }
.password-strength[data-strength="4"] span:nth-child(-n + 4) { background: var(--sofl-success); }

.strength-copy {
  color: var(--sofl-muted);
  font-size: .8rem;
  font-weight: 650;
}

.confirm-match-message {
  color: #047857 !important;
}

.password-requirements {
  display: grid;
  gap: 9px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: .84rem;
  font-weight: 620;
}

.password-requirements li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.password-requirements i { color: #cbd5e1; }
.password-requirements li.is-met { color: #047857; }
.password-requirements li.is-met i { color: var(--sofl-success); }

.success-card,
.empty-state {
  text-align: center;
}

.success-icon,
.state-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .11), rgba(212, 168, 67, .14));
  color: var(--sofl-success);
  font-size: 2rem;
}

.state-icon.state-danger {
  background: rgba(239, 68, 68, .10);
  color: var(--sofl-danger);
}

.state-icon.state-info {
  background: var(--sofl-gold-wash);
  color: var(--sofl-primary);
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 18px 0;
  padding: 10px 14px;
  border: 1px solid rgba(212, 168, 67, .30);
  border-radius: 999px;
  background: var(--sofl-gold-wash);
  color: var(--sofl-ink);
  font-weight: 760;
  word-break: break-word;
}

.otp-code-input {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .28rem;
}

.auth-mini-grid {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 12px;
}

.premium-table-shell,
.sofl-dashboard-shell {
  border: 1px solid var(--sofl-line);
  border-radius: var(--sofl-radius);
  background: var(--sofl-card);
  box-shadow: var(--sofl-shadow-soft);
}

.premium-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--sofl-soft-line);
}

.premium-table-search {
  min-width: min(330px, 100%);
}

.premium-table {
  margin: 0;
  vertical-align: middle;
}

.premium-table thead th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sofl-soft-line);
  color: #64748b;
  background: #f8fafc;
  font-size: .75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.premium-table tbody td {
  padding: 16px 18px;
  border-color: var(--sofl-soft-line);
  color: #334155;
  font-weight: 560;
}

.premium-table tbody tr {
  transition: background-color var(--sofl-transition), transform var(--sofl-transition);
}

.premium-table tbody tr:hover {
  background: #fffaf0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}

.status-badge.success { background: rgba(16, 185, 129, .10); color: #047857; }
.status-badge.warning { background: rgba(245, 158, 11, .12); color: #92400e; }
.status-badge.danger { background: rgba(239, 68, 68, .10); color: #b91c1c; }
.status-badge.info { background: var(--sofl-gold-wash); color: #7c5a12; }

.premium-pagination .page-link {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border-color: var(--sofl-line);
  color: #475569;
  font-weight: 760;
}

.premium-pagination .page-item.active .page-link {
  border-color: var(--sofl-gold-deep);
  background: var(--sofl-primary);
  color: var(--sofl-ink);
}

.sofl-sidebar {
  width: 280px;
  min-height: 100vh;
  padding: 20px 14px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #0f172a, #111827);
}

.sofl-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .72);
  font-weight: 720;
}

.sofl-sidebar-link:hover,
.sofl-sidebar-link.active {
  background: rgba(212, 168, 67, .14);
  color: #ffffff;
}

.sofl-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--sofl-line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.cta-section {
  padding: 28px;
  border: 1px solid rgba(212, 168, 67, .24);
  border-radius: var(--sofl-radius);
  background: linear-gradient(135deg, #ffffff, #fffaf0);
  box-shadow: var(--sofl-shadow-soft);
}

@media (max-width: 1100px) {
  .sofl-auth-shell {
    grid-template-columns: minmax(360px, .85fr) minmax(400px, 1fr);
  }

  .sofl-auth-brand-panel {
    padding: 38px 32px;
  }

  .sofl-auth-visual {
    min-height: 230px;
  }
}

@media (max-width: 900px) {
  .sofl-auth-shell {
    display: block;
    min-height: 100vh;
  }

  .sofl-auth-brand-panel {
    min-height: auto;
    padding: 28px 22px;
  }

  .sofl-auth-visual,
  .sofl-auth-stats {
    display: none;
  }

  .sofl-auth-story h1 {
    max-width: 640px;
    font-size: 2rem;
  }

  .sofl-auth-story p,
  .sofl-trust-list {
    display: none;
  }

  .sofl-auth-products {
    margin-top: 18px;
    padding-top: 0;
    font-size: .82rem;
  }

  .sofl-auth-content {
    padding: 24px 16px 36px;
  }

  .sofl-auth-topline {
    margin-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .sofl-auth-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .auth-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .auth-mini-grid {
    grid-template-columns: 1fr;
  }

  .auth-row,
  .premium-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
.form-check .form-check-input {
    margin-left: 0;
}
