/* VEER·MAR auth — verbatim from prototype veermar-auth.html. */
:root{
  --ink:#1A1A1A;--grey:#6E6E6E;--line:#E8E6E2;--bg:#FFFFFF;--soft:#F6F4F1;
  --nude:#B68A6E;--nude-dk:#8F6A52;--sale:#C0392B;--ok:#3F8F5B;
  --f:'Manrope',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--f);color:var(--ink);background:var(--bg);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}svg{display:block}

.auth{flex:1;display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
.vside{position:relative;overflow:hidden;background:var(--ink)}
.vside .ph{position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=1100&q=80') center/cover;opacity:.55}
.vside .lay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(26,26,26,.3),rgba(26,26,26,.75))}
.vside .vc{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(30px,4vw,54px);color:#fff}
.vside .vlogo{font-size:26px;font-weight:800;letter-spacing:.05em}.vside .vlogo span{color:var(--nude)}
.vside .vmid h2{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:800;line-height:1.1;letter-spacing:-.01em;margin-bottom:16px;max-width:18ch}
.vside .vmid p{opacity:.82;font-size:15px;max-width:38ch}
.vside .perks{display:flex;flex-direction:column;gap:14px;margin-top:30px}
.vside .perk{display:flex;align-items:center;gap:12px;font-size:14px;opacity:.9}
.vside .perk .ic{width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--nude);flex-shrink:0}
.vside .perk .ic svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;fill:none}
.vside .vfoot{font-size:12px;opacity:.6}

.fside{display:flex;align-items:center;justify-content:center;padding:clamp(24px,4vw,60px)}
.formbox{width:100%;max-width:400px}
.mlogo{display:none;font-size:24px;font-weight:800;letter-spacing:.04em;margin-bottom:30px;text-align:center}
.mlogo span{color:var(--nude)}
.ftitle{font-size:clamp(1.6rem,2.6vw,2rem);font-weight:800;letter-spacing:-.01em;margin-bottom:8px}
.fsub{color:var(--grey);font-size:14px;margin-bottom:28px}
.fsub a{color:var(--nude-dk);font-weight:700;border-bottom:1px solid var(--nude);cursor:pointer}

.field{margin-bottom:16px}
.field label{display:block;font-size:12px;font-weight:600;color:var(--grey);margin-bottom:6px}
.field label .req{color:var(--sale)}
.inpwrap{position:relative}
.field input{width:100%;height:50px;border:1px solid var(--line);padding:0 16px;font-family:var(--f);font-size:14px;outline:none;transition:.15s}
.field input:focus{border-color:var(--ink)}
.field.haseye input{padding-right:48px}
.eye{position:absolute;right:0;top:0;height:50px;width:46px;display:flex;align-items:center;justify-content:center;color:var(--grey);cursor:pointer;background:none;border:none}
.eye:hover{color:var(--ink)}.eye svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none}
.hint{font-size:11px;color:var(--grey);margin-top:6px}
.err{font-size:11px;color:var(--sale);margin-top:6px}
.field.invalid input{border-color:var(--sale)}

.strength{display:flex;gap:5px;margin-top:8px}
.strength i{height:3px;flex:1;background:var(--line);border-radius:2px;transition:.2s}
.strength.s1 i:nth-child(1){background:var(--sale)}
.strength.s2 i:nth-child(-n+2){background:#E0922B}
.strength.s3 i:nth-child(-n+3){background:var(--nude)}
.strength.s4 i{background:var(--ok)}
.strength-l{font-size:11px;color:var(--grey);margin-top:5px}

.frow{display:flex;align-items:center;justify-content:space-between;margin:6px 0 22px;flex-wrap:wrap;gap:8px}
.remember{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer}
.remember input{width:17px;height:17px;accent-color:var(--nude)}
.forgot{font-size:13px;color:var(--nude-dk);font-weight:600;cursor:pointer}
.forgot:hover{text-decoration:underline}

.submit{width:100%;background:var(--ink);color:#fff;border:none;height:54px;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;transition:.2s}
.submit:hover{background:var(--nude-dk)}
.divider{display:flex;align-items:center;gap:14px;margin:24px 0;color:var(--grey);font-size:12px}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line)}
.social{display:flex;gap:12px}
.sbtn{flex:1;height:50px;border:1px solid var(--line);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:13px;transition:.2s}
.sbtn:hover{border-color:var(--ink)}
.consent{font-size:12px;color:var(--grey);margin-top:20px;line-height:1.6}
.consent a{color:var(--nude-dk);border-bottom:1px solid var(--nude)}
.backlink{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--grey);margin-bottom:22px;cursor:pointer}
.backlink:hover{color:var(--ink)}.backlink svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none}
.sent-ic{width:64px;height:64px;border-radius:50%;background:rgba(63,143,91,.12);color:var(--ok);display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.sent-ic svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.6;fill:none}
.alert{background:rgba(192,57,43,.08);border:1px solid rgba(192,57,43,.2);color:var(--sale);font-size:13px;padding:11px 14px;margin-bottom:18px;border-radius:2px}
.alert.ok{background:rgba(63,143,91,.08);border-color:rgba(63,143,91,.25);color:var(--ok)}
.panel{display:none}.panel.on{display:block}

@media(max-width:900px){.auth{grid-template-columns:1fr}.vside{display:none}.mlogo{display:block}.fside{padding:36px 22px}}
