/* Desktop composition adapted from the live ONEUEX authentication template. */
.wf-auth-desktop-title, .wf-desktop-back, .wf-desktop-auth-promo { display: none; }
@media (min-width: 641px) {
  html[data-site-theme] body .wf-auth-shell { --auth-blue: #1769f6 !important; z-index: 1000000; background: #08090b; }
  .wf-desktop-auth-stage { display: flex; align-items: flex-start; justify-content: center; width: min(calc(100% - 64px), 1336px); min-height: 100%; margin: 0 auto; padding: clamp(36px, 6vh, 64px) 0 72px; }
  .wf-auth-shell .wf-auth-main { --auth-bg: #08090b; --auth-panel: #08090b; --auth-field: #1b1e25; --auth-line: #2b3039; --auth-muted: #9ca4b2; --auth-text: #f5f7fa; width: 448px; max-width: 100%; min-height: 0; margin: 0; padding: 32px; border: 1px solid #252a33; border-radius: 16px; background: #11141b; color: var(--auth-text); }
  .wf-auth-shell .wf-auth-topbar { height: auto; margin: 0 0 28px; }
  .wf-auth-shell .wf-auth-close { display: inline-flex; width: auto; height: auto; min-height: 24px; flex: none; color: var(--auth-muted); font-size: 14px; }
  .wf-auth-shell .wf-auth-close:hover { background: transparent; color: var(--auth-text); }
  .wf-auth-close > i, .wf-auth-shell .wf-auth-art, .wf-auth-mobile-title { display: none; }
  .wf-desktop-back, .wf-auth-desktop-title { display: inline; }
  .wf-auth-shell .wf-auth-header { align-items: flex-start; margin: 0 0 28px; }
  .wf-auth-shell .wf-auth-title { color: var(--auth-text); font-size: 30px; font-weight: 650; line-height: 1.25; text-align: left; }
  .wf-auth-shell .wf-demo-account { min-height: 44px; margin-bottom: 24px; border-color: var(--auth-line); background: var(--auth-field); color: var(--auth-text); font-size: 13px; }
  .wf-auth-shell .wf-field { gap: 10px; color: var(--auth-muted); font-size: 14px; line-height: 22px; }
  .wf-auth-shell .wf-control { height: 52px; border-color: var(--auth-line); border-radius: 10px; background: var(--auth-panel); }
  .wf-auth-shell .wf-control input { padding-left: 16px; color: var(--auth-text); font-size: 15px; }
  .wf-auth-shell .wf-control input::placeholder { color: var(--auth-muted); }
  .wf-auth-shell .wf-eye { border: 0; background: transparent; }
  .wf-auth-shell .wf-auth-form, .wf-auth-shell .wf-fields { gap: 22px; }
  html[data-site-theme] body .wf-auth-shell .wf-submit { min-height: 48px; border-radius: 10px; background: #1769f6 !important; color: #fff !important; font-size: 15px !important; }
  html[data-site-theme] body .wf-auth-shell .wf-submit:hover { background: #0758df !important; }
  html[data-site-theme] body .wf-auth-shell :is(.wf-switch button,.wf-consent a,.wf-send-code) { color: #1769f6 !important; }
  html[data-site-theme] body .wf-auth-shell .wf-control:focus-within { border-color: #1769f6 !important; box-shadow: 0 0 0 3px #1769f621 !important; }
  .wf-auth-shell .wf-switch { margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: 14px; }
  .wf-auth-shell .wf-or { color: var(--auth-muted); }
  .wf-auth-shell .wf-wallet-login { border-radius: 10px; background: var(--auth-field); color: var(--auth-text); }
  .wf-auth-shell .wf-wallet-panel { padding-top: 120px; }
  .wf-desktop-auth-stage-register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 474px); gap: clamp(32px, 6vw, 88px); }
  .wf-desktop-auth-promo { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding-left: clamp(0px, 3.5vw, 48px); }
  .wf-desktop-auth-promo > img { display: block; align-self: center; width: min(100%, 520px, calc(100svh - 280px)); min-width: 260px; height: auto; aspect-ratio: 1; object-fit: contain; }
  .wf-desktop-auth-promo h2 { margin: 0; color: #f7f8fa; font-size: clamp(30px, 3vw, 39px); font-weight: 650; line-height: 1.28; }
  .wf-desktop-auth-promo p { margin: 16px 0 32px; color: #a6aab3; font-size: 17px; line-height: 1.6; }
  .wf-desktop-auth-promo a { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; border-bottom: 1px solid #858b96; color: #f1f2f5; font-size: 16px; text-decoration: none; }
  .wf-auth-shell .wf-register { --auth-bg: #fff; --auth-panel: #fff; --auth-field: #f1f2f4; --auth-line: #dce0e5; --auth-muted: #636973; --auth-text: #17191e; width: 474px; padding: 36px 44px; border: 0; border-radius: 20px; background: #fff; color: #17191e; color-scheme: light; }
  .wf-register .wf-auth-topbar { display: none; }
  .wf-auth-shell .wf-register .wf-auth-title { color: #17191e; font-size: 32px; }
  .wf-auth-shell .wf-register .wf-auth-header { margin-bottom: 26px; }
  .wf-auth-shell .wf-register .wf-control { border-radius: 12px; }
  .wf-register .wf-control input:-webkit-autofill { -webkit-text-fill-color: #17191e; box-shadow: 0 0 0 1000px #fff inset; }
  .wf-auth-shell .wf-register-tabs { margin-bottom: 24px; }
  .wf-auth-shell .wf-register-tab { color: #737b88; font-size: 15px; }
  .wf-auth-shell .wf-register-tab.active { color: #17191e; }
  .wf-register .wf-register-tab.active::after { background: #1769f6; }
  .wf-auth-shell .wf-register .wf-demo-account { color: #30343a; }
  .wf-register .wf-demo-account:hover, .wf-register .wf-send-code:hover { background: #e8ebef; }
  .wf-register .wf-eye { color: #737b88; }
  .wf-register .wf-eye:hover { color: #17191e; }
  .wf-register .wf-consent { color: #747b86; }
  html[data-site-theme] body .wf-auth-shell .wf-register .wf-submit { border-radius: 999px; }
  .wf-auth-shell .wf-register .wf-message { color: #c62439; }
  .wf-auth-shell .wf-register .wf-message.success { color: #008653; }
  html[data-site-theme="light"] body .wf-auth-shell { background: #f6f7f9; }
  html[data-site-theme="light"] .wf-auth-shell .wf-login { --auth-bg: #fff; --auth-panel: #fff; --auth-field: #f1f2f4; --auth-line: #dce0e5; --auth-muted: #636973; --auth-text: #17191e; border-color: #dce0e5; background: #fff; color-scheme: light; }
  html[data-site-theme="light"] .wf-desktop-auth-promo h2 { color: #17191e; }
  html[data-site-theme="light"] .wf-desktop-auth-promo p { color: #636973; }
  html[data-site-theme="light"] .wf-desktop-auth-promo a { color: #30343a; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .wf-desktop-auth-stage-register { display: flex; }
  .wf-desktop-auth-promo { display: none; }
}
@media (min-width: 641px) and (max-height: 760px) {
  .wf-desktop-auth-stage { padding-top: 28px; }
  .wf-auth-shell .wf-login { padding-block: 26px; }
  .wf-login .wf-auth-topbar { margin-bottom: 20px; }
  .wf-auth-shell .wf-login .wf-auth-header { margin-bottom: 22px; }
}
