/* Sign in and set password: split hero layout. */
/* ---- Sign in and set password ------------------------------------------------------------ */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.hero { flex: 1 1 560px; min-width: 0; min-height: 560px; position: relative; overflow: hidden; background: var(--hero); color: #ffffff; padding: 40px 56px 56px; display: flex; flex-direction: column; gap: 64px; }
.hero-pattern { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: auto; display: block; pointer-events: none; }
.hero-brand { position: relative; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; align-self: flex-start; }
.hero-brand img { width: 52px; height: 50px; }
.hero-brand .wm-name { font-size: 26px; color: #d3d6d8; }
.hero-brand .wm-sub { font-size: 11px; color: #4cc9f5; }
.hero-copy { position: relative; max-width: 500px; display: flex; flex-direction: column; gap: 18px; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: .14em; color: #8ED8F8; }
.hero-copy h1 { font-size: 40px; line-height: 1.12; letter-spacing: -.01em; color: #ffffff; }
.hero-copy p { margin: 0; font-size: 17px; color: #cfe3ec; }
.hero-copy ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: #e8f2f7; }
.hero-copy li { display: flex; align-items: center; gap: 12px; }
.hero-ico { width: 34px; height: 34px; flex: none; border-radius: 8px; background: rgba(142, 216, 248, .14); color: #8ED8F8; display: inline-flex; align-items: center; justify-content: center; }
.auth-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 48px 24px; }
.authcard { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.authcard .intro { display: flex; flex-direction: column; gap: 6px; }
.authcard h2 { font-size: 24px; }
.authcard p { margin: 0; color: var(--muted); }
.authcard .formerr { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--danger); background: var(--danger-bg); color: var(--danger); font-size: 14px; }
.authcard .formok { padding: 10px 12px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-size: 14px; }
.flabel { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.finput { width: 100%; height: 46px; font-size: 15px; font-weight: 400; background: var(--surface); border: 1px solid var(--field); border-radius: 8px; padding: 0 12px; }
.pwfield { display: flex; flex-direction: column; gap: 6px; }
.pwwrap { position: relative; }
.pwwrap .finput { padding-right: 76px; }
.pwtoggle { position: absolute; right: 1px; top: 1px; height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; color: var(--accent); background: transparent; border: 0; border-radius: 0 8px 8px 0; cursor: pointer; }
.authcard .btn { height: 46px; font-size: 16px; width: 100%; }
.authcard .help { border-top: 1px solid var(--line-2); padding-top: 16px; }
.authcard .help p { font-size: 14px; }
.authcard .hint { font-size: 13px; margin-top: -10px; }
.auth-foot { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }


@media (max-width: 760px) {
  .hero { min-height: 0; flex-basis: 100%; padding: 28px 20px 120px; gap: 28px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy p { font-size: 15.5px; }
  .hero-copy ul { display: none; }
  .auth-main { padding: 24px 16px 40px; }
  .authcard { padding: 24px 20px; }
}
