/* Fewima Consulting – sign in and register */
:root{--ink:#14202e;--text:#1c2733;--mute:#5d6b7e;--line:#dfe3e9;--brand:#0f7a5a;--brand-d:#0b5c44;--rose:#b3261e}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--text);font-family:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--brand);font-weight:600}a:hover{color:var(--brand-d)}
h1,h2{margin:0;color:var(--ink);letter-spacing:-.02em;line-height:1.15}
:focus-visible{outline:2px solid #2f7bf5;outline-offset:2px}

.shell{display:grid;grid-template-columns:minmax(340px,42%) 1fr;min-height:100vh}

/* Brand panel */
.side{background:var(--ink);color:#c3ccda;padding:2.4rem 3rem;display:flex;flex-direction:column;justify-content:space-between}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:700;font-size:1.15rem;color:#fff}
.brand:hover{color:#fff}
.mark{width:34px;height:34px;border-radius:8px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700}
.side-copy h2{color:#fff;font-size:clamp(1.8rem,2.6vw,2.4rem);max-width:15ch}
.side-copy ul{list-style:none;margin:1.8rem 0 0;padding:0}
.side-copy li{position:relative;padding:.4rem 0 .4rem 1.8rem;font-size:1.02rem}
.side-copy li::before{content:"";position:absolute;left:0;top:.62rem;width:1.1rem;height:1.1rem;border-radius:50%;background:#1f3a35 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/70% no-repeat}
.side small{color:#8795a9;font-size:.82rem}

/* Form area */
.main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 1.5rem;gap:1.6rem}
.mobile-brand{display:none;color:var(--ink)}.mobile-brand:hover{color:var(--ink)}
.box{width:100%;max-width:400px}
.box h1{font-size:1.9rem}
.sub{color:var(--mute);margin:.5rem 0 1.8rem}

.field{margin-bottom:1.15rem}
label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.35rem;color:var(--ink)}
input{width:100%;font:inherit;padding:.7rem .85rem;border:1px solid #c3cad4;border-radius:8px;background:#fff;color:var(--text)}
input:hover{border-color:#9aa5b4}
input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,122,90,.16)}
.pw{position:relative}.pw input{padding-right:4.2rem}
.pw button{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--brand);font:600 .85rem inherit;font-family:inherit;padding:.4rem .6rem;cursor:pointer;border-radius:6px}
.pw button:hover{background:#eef6f2}
.field.bad input{border-color:var(--rose)}
small.help{display:block;color:var(--mute);margin-top:.3rem;font-size:.82rem}
small.err{display:block;color:var(--rose);margin-top:.3rem;font-size:.84rem;font-weight:500}

.btn{display:block;width:100%;padding:.8rem 1rem;margin-top:1.4rem;border:0;border-radius:8px;background:var(--brand);color:#fff;font:600 1rem inherit;font-family:inherit;cursor:pointer}
.btn:hover{background:var(--brand-d)}

.alt{margin:1.5rem 0 0;text-align:center;font-size:.95rem}
.alt.muted{margin-top:.6rem;color:var(--mute);font-size:.86rem}
.back{font-size:.88rem;color:var(--mute);font-weight:500;text-decoration:none}.back:hover{color:var(--ink)}

.flash{padding:.75rem .95rem;border-radius:8px;margin-bottom:1.3rem;font-size:.93rem;background:#e8eefb;color:#1d3f8a}
.flash a{color:inherit;text-decoration:underline}
.flash.success{background:#e1f4eb;color:var(--brand-d)}.flash.error{background:#fbe5e3;color:var(--rose)}

@media (max-width:860px){
  .shell{grid-template-columns:1fr}.side{display:none}
  .mobile-brand{display:flex}.main{justify-content:flex-start;padding-top:2rem}
}