@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Courier+Prime&display=swap');

:root {
  --wf-navy: #1e1b6e;
  --wf-navy-deep: #14124a;
  --wf-blue: #2563eb;
  --wf-pink: #fc125a;
  --wf-pink-deep: #d90f4e;
  --wf-gold: #faad00;
  --wf-surface: #ffffff;
  --wf-wash: #f8fafc;
  --wf-ink: #1e1b6e;
  --wf-muted: #64748b;
  --wf-line: #e2e8f0;
  --wf-font-display: 'Outfit', sans-serif;
  --wf-font-sans: 'Inter', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--wf-wash);
  color: var(--wf-ink);
  font-family: var(--wf-font-sans);
}

img { max-width: 100%; height: auto; }

.wf-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* ---- Left: navy brand panel ---- */
.wf-auth-side {
  width: 44%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .38), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(252, 18, 90, .28), transparent 46%),
    linear-gradient(160deg, var(--wf-navy) 0%, var(--wf-navy-deep) 100%);
  color: #fff;
}

.wf-auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.wf-auth-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.wf-auth-orb-navy {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(30, 27, 110, .9) 0%, rgba(30, 27, 110, 0) 72%);
  border: 18px solid rgba(255, 255, 255, .05);
}

.wf-auth-orb-blue {
  width: 220px;
  height: 220px;
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, .55) 0%, rgba(37, 99, 235, 0) 70%);
}

.wf-auth-orb-pink {
  width: 260px;
  height: 260px;
  bottom: -70px;
  left: -70px;
  background: radial-gradient(circle, rgba(252, 18, 90, .42) 0%, rgba(252, 18, 90, 0) 70%);
}

.wf-auth-orb-gold {
  width: 140px;
  height: 140px;
  bottom: 18%;
  right: 14%;
  background: radial-gradient(circle, rgba(250, 173, 0, .45) 0%, rgba(250, 173, 0, 0) 70%);
}

.wf-auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 36px;
  width: fit-content;
}

.wf-auth-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.wf-auth-logo-plate img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.wf-auth-brand b {
  font-family: var(--wf-font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.wf-auth-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 173, 0, .16);
  border: 1px solid rgba(250, 173, 0, .38);
  color: var(--wf-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wf-auth-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wf-gold);
  box-shadow: 0 0 0 4px rgba(250, 173, 0, .18);
}

.wf-auth-side h1 {
  position: relative;
  z-index: 1;
  font-family: var(--wf-font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
  overflow-wrap: anywhere;
}

.wf-auth-side h1 span { color: #ffb4c8; }

.wf-auth-side > p {
  position: relative;
  z-index: 1;
  margin: 0 0 36px;
  max-width: 440px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
}

.wf-features {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wf-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wf-features .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--wf-gold);
  font-size: 20px;
}

.wf-features li:nth-child(2) .icon { color: #93c5fd; }
.wf-features li:nth-child(3) .icon { color: #ff8fb0; }

.wf-features b {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.wf-features span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.45;
}

/* ---- Right: form wash ---- */
.wf-auth-main {
  width: 56%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
  background: var(--wf-wash);
}

.wf-auth-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 27, 110, .05) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.wf-auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  background: var(--wf-surface);
  border: 1px solid var(--wf-line);
  border-radius: 28px;
  padding: 44px 40px 40px;
  box-shadow: 0 24px 50px -16px rgba(30, 27, 110, .14);
  animation: wfAuthIn .75s cubic-bezier(.16, 1, .3, 1) both;
}

.wf-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--wf-navy), var(--wf-blue), var(--wf-pink), var(--wf-gold));
}

@keyframes wfAuthIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.wf-auth-card h2 {
  font-family: var(--wf-font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--wf-ink);
  margin: 8px 0 8px;
  text-align: center;
}

.wf-auth-card > .wf-auth-sub {
  margin: 0 0 28px;
  text-align: center;
  color: var(--wf-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.wf-field { position: relative; margin-bottom: 18px; }

.wf-field input {
  width: 100%;
  height: 56px;
  border: 1.5px solid var(--wf-line);
  background: var(--wf-wash);
  border-radius: 14px;
  padding: 22px 48px 8px 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--wf-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--wf-font-sans);
}

.wf-field input::placeholder { color: transparent; }

.wf-field label {
  position: absolute;
  left: 18px;
  top: 17px;
  font-size: 15px;
  color: #94a3b8;
  font-weight: 500;
  pointer-events: none;
  transition: all .2s ease;
}

.wf-field input:focus {
  border-color: var(--wf-pink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(252, 18, 90, .12);
}

.wf-field input:focus + label,
.wf-field input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--wf-pink);
}

.wf-field .wf-field-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b6c0cf;
  font-size: 19px;
  pointer-events: none;
}

.wf-field .wf-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 19px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.wf-field .wf-eye:hover {
  color: var(--wf-pink);
  background: rgba(252, 18, 90, .06);
}

.wf-auth-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 2px 0 18px;
  font-size: 13.5px;
}

.wf-forgot {
  color: var(--wf-pink);
  font-weight: 700;
  text-decoration: none;
}

.wf-forgot:hover { text-decoration: underline; }

.wf-captcha-box {
  background: var(--wf-wash);
  border: 1.5px dashed rgba(148, 163, 184, .35);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}

.wf-captcha-box .form-group { margin-bottom: 0; }
.wf-captcha-box .mb-2 > div { border-radius: 10px !important; overflow: hidden; }

.wf-captcha-box .form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 12px 0 6px;
  text-align: left;
}

.wf-captcha-box input,
.wf-captcha-box .form-control {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--wf-line);
  background: #fff;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
  color: var(--wf-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.wf-captcha-box input:focus,
.wf-captcha-box .form-control:focus {
  border-color: var(--wf-pink);
  box-shadow: 0 0 0 4px rgba(252, 18, 90, .12);
}

.wf-auth-submit {
  width: 100%;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wf-pink), var(--wf-pink-deep));
  color: #fff;
  font-family: var(--wf-font-sans);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.wf-auth-submit:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(252, 18, 90, .55);
}

.wf-auth-submit:disabled,
.wf-auth-submit.disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wf-auth-register {
  text-align: center;
  font-size: 14px;
  color: var(--wf-muted);
  margin: 22px 0 0;
}

.wf-auth-register a {
  color: var(--wf-pink);
  font-weight: 800;
  text-decoration: none;
}

.wf-auth-register a:hover { text-decoration: underline; }

.wf-auth-home-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.wf-auth-home-btn:hover { color: var(--wf-navy); }

/* ---- 6-digit code ---- */
.wf-code-label {
  display: block;
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.verification-code {
  display: flex;
  position: relative;
  z-index: 1;
  height: 56px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.verification-code::after {
  position: absolute;
  content: '';
  right: 0;
  top: 0;
  width: 16px;
  height: 56px;
  background: var(--wf-surface);
  z-index: 2;
  pointer-events: none;
}

.verification-code input {
  position: absolute;
  height: 56px;
  width: calc(100% + 80px);
  left: 0;
  background: transparent;
  border: none;
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: 46px;
  text-indent: 2px;
  z-index: 1;
  padding-left: 20px;
  font-family: 'Courier Prime', monospace;
  color: var(--wf-navy) !important;
  caret-color: var(--wf-pink);
}

.verification-code input:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.boxes {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  z-index: -1;
}

.verification-code span {
  height: 56px;
  width: calc((100% / 6) - 6px);
  background: var(--wf-wash);
  border: 1.5px solid var(--wf-line);
  border-radius: 12px;
  text-align: center;
  line-height: 56px;
  color: #cbd5e1;
  font-weight: 700;
}

.wf-auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 13.5px;
}

.wf-auth-links a {
  color: var(--wf-pink);
  font-weight: 700;
  text-decoration: none;
}

.wf-auth-links a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .wf-auth-wrap { flex-direction: column; }
  .wf-auth-side,
  .wf-auth-main { width: 100%; }
  .wf-auth-side { padding: 40px 24px 36px; min-height: auto; }
  .wf-auth-side h1 { font-size: 28px; }
  .wf-auth-brand b { font-size: 22px; }
  .wf-auth-main { padding: 32px 20px 48px; }
  .wf-features { display: none; }
}

@media (max-width: 600px) {
  .wf-auth-card {
    padding: 36px 22px 28px;
    border-radius: 20px;
  }
  .verification-code input {
    padding-left: 16px;
    letter-spacing: 38px;
    font-size: 20px !important;
  }
}
