:root {
  color-scheme: light;
  --text: #28231f;
  --muted: #736b64;
  --border: #e8e2dc;
  --accent: #bf9c75;
  --accent-dark: #806044;
  --accent-soft: #f4ebe2;
  --danger: #b63c43;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f7f5f2; color: var(--text); }
button, input, select { font: inherit; }
.auth-layout { display: grid; grid-template-columns: minmax(280px, 420px) minmax(320px, 460px); justify-content: center; align-items: center; gap: 64px; min-height: 100vh; padding: 40px; }
.auth-brand { display: flex; align-items: center; gap: 16px; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 8px; background: #28231f; color: #fff; font-size: 23px; font-weight: 800; }
.auth-brand div { display: grid; gap: 5px; }
.auth-brand strong { font-size: 23px; }
.auth-brand span:last-child { color: var(--muted); font-size: 13px; }
.auth-panel { padding: 32px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 18px 48px rgba(40,35,31,.08); }
.auth-heading { margin-bottom: 24px; }
.auth-heading p { margin: 0 0 8px; color: var(--accent-dark); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.auth-heading h1 { margin: 0 0 8px; font-size: 27px; letter-spacing: 0; }
.auth-heading > span { color: var(--muted); font-size: 13px; line-height: 1.5; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; }
label > span:first-child { color: var(--muted); font-size: 11px; font-weight: 700; }
input, select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d8d0c8; border-radius: 7px; background: #fff; color: var(--text); }
input:focus, select:focus, button:focus-visible { outline: 2px solid rgba(191,156,117,.45); outline-offset: 1px; border-color: var(--accent); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 88px; }
.password-field button { position: absolute; top: 4px; right: 4px; height: 36px; border: 0; background: transparent; color: var(--accent-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
.primary-button { height: 44px; border: 0; border-radius: 7px; background: #28231f; color: #fff; font-weight: 750; cursor: pointer; }
.primary-button:hover { background: #403832; }
.primary-button:disabled { opacity: .55; cursor: wait; }
.form-error { margin: 0; padding: 10px 12px; border-left: 3px solid var(--danger); background: #fff1f1; color: var(--danger); font-size: 12px; }
@media (max-width: 760px) { .auth-layout { grid-template-columns: 1fr; gap: 30px; padding: 24px; } .auth-brand { justify-content: center; } .auth-panel { padding: 24px; } }
/* ZUMED brand alignment */
:root { --accent: #0f8786; --accent-dark: #075f66; --accent-soft: #dff0ef; }
.brand-mark { background: #123f45; }
.auth-heading p, .auth-brand strong { color: var(--accent-dark); }
.primary-button { background: var(--accent-dark); }
.primary-button:hover { background: #0f8786; }
