:root { --ink: #0e1f19; --txt: #41504a; --dark: #00342a; --green: #00634a; --mint: #34b48b; --lime: #c4d82d; --bg: #eef1ed; --red: #b23a1e; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--green); } a:hover { color: var(--dark); }

.wrap { min-height: 100%; display: flex; flex-wrap: wrap; }

.brand { flex: 1 1 420px; background: var(--dark); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.brand .mark { width: 72px; height: auto; display: block; }
.brand .copy { max-width: 520px; }
.brand .eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--lime); }
.brand .eyebrow span { letter-spacing: 0; margin-left: 6px; }
.brand h1 { margin: 0 0 16px; font-size: 52px; line-height: 58px; font-weight: 500; letter-spacing: -1px; }
.brand .lead { margin: 0; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.82); }
.brand .by { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); }

.panel { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.card { width: 100%; max-width: 400px; display: flex; flex-direction: column; }
.card .logo { height: 48px; width: auto; align-self: flex-start; margin-bottom: 40px; }
.head h2 { margin: 0 0 8px; font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -.5px; }
.head p { margin: 0 0 28px; font-size: 15px; line-height: 22px; color: var(--txt); }

label { font-size: 13px; font-weight: 500; margin: 0 0 6px; }
input { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(14,31,25,.2); border-radius: 4px; margin-bottom: 18px; }
input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,99,74,.18); }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.show { position: absolute; right: 4px; top: 4px; height: 40px; min-width: 64px; padding: 0 12px; border: 0; border-radius: 3px; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--green); cursor: pointer; }
.show:hover { background: rgba(0,99,74,.08); }

.go { height: 48px; margin-top: 6px; border: 0; border-radius: 4px; background: var(--dark); color: #fff; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.go:hover { background: var(--green); }
.go:focus-visible, .show:focus-visible { outline: 3px solid rgba(0,99,74,.35); outline-offset: 2px; }
.go[disabled] { opacity: .6; cursor: progress; }

.msg { margin: 0 0 18px; padding: 12px 14px; border-radius: 4px; font-size: 14px; line-height: 20px; background: rgba(200,79,36,.1); color: var(--red); }
.msg.info { background: rgba(52,180,139,.14); color: var(--green); }
.help { margin: 24px 0 0; font-size: 13px; color: var(--txt); }

@media (max-width: 900px) {
  .brand { flex-basis: 100%; padding: 28px 24px; gap: 20px; }
  .brand h1 { font-size: 34px; line-height: 40px; }
  .brand .lead, .brand .by { display: none; }
  .brand .mark { width: 48px; }
  .card .logo { display: none; }
  .panel { padding: 32px 24px 48px; align-items: flex-start; }
}
