/* QLNPL — shared sign-in pages (admin + client portal). */
:root { --a-900:#052e2b; --a-800:#0b4d43; --a-700:#116b58; --a-600:#16896d; --a-500:#1fa883; --a-400:#56c9a3; --a-100:#e4f7f0; --ink:#0c1614; --ink-2:#33423d; --ink-3:#5f6e68; --line:#dbe7e2; --bg:#f4f8f6; --red:#b42318; --red-bg:#fde8e6; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.au { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* Brand panel */
.au-brand { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--a-900) 0%, var(--a-800) 45%, var(--a-600) 100%); color: #fff; padding: 3rem 3.2rem; display: flex; flex-direction: column; justify-content: space-between; }
.au-brand::before, .au-brand::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.au-brand::before { width: 520px; height: 520px; right: -180px; top: -160px; }
.au-brand::after { width: 380px; height: 380px; left: -140px; bottom: -120px; background: rgba(86,201,163,.12); }
.au-brand > * { position: relative; z-index: 1; }
.au-logo { display: inline-flex; align-items: center; gap: .9rem; }
.au-logo span.chip { background: #fff; border-radius: 14px; padding: 8px 12px; display: grid; place-items: center; }
.au-logo img { height: 40px; width: auto; display: block; }
.au-logo b { font-size: 1.05rem; line-height: 1.2; } .au-logo small { display: block; opacity: .75; font-weight: 600; font-size: .74rem; letter-spacing: .04em; }
.au-pitch h1 { font-size: 2.1rem; line-height: 1.18; letter-spacing: -.02em; margin: 0 0 1rem; font-weight: 800; max-width: 22ch; }
.au-pitch p { opacity: .85; font-size: 1.02rem; line-height: 1.6; max-width: 46ch; margin: 0 0 1.8rem; }
.au-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.au-points li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.au-points i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; font-size: 1.05rem; }
.au-points small { display: block; opacity: .75; font-weight: 500; margin-top: 1px; }
.au-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .8rem; opacity: .85; }
.au-date b { display: block; font-size: .95rem; }

/* Form side */
.au-side { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.au-card { width: 100%; max-width: 420px; }
.au-mobile-logo { display: none; margin-bottom: 1.4rem; }
.au-card h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .35rem; }
.au-card .sub { color: var(--ink-3); margin: 0 0 1.8rem; line-height: 1.5; }
.au-alert { display: flex; gap: .6rem; align-items: flex-start; background: var(--red-bg); color: var(--red); border: 1px solid #f3b9b3; border-radius: 12px; padding: .8rem 1rem; font-size: .88rem; font-weight: 600; margin-bottom: 1.2rem; }
.au-field { margin-bottom: 1.1rem; }
.au-field label { display: block; font-weight: 700; font-size: .82rem; margin-bottom: .4rem; color: var(--ink-2); }
.au-input { position: relative; }
.au-input > i.lead { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 1.05rem; pointer-events: none; }
.au-input input { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 3rem 0 2.8rem; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.au-input input:focus { outline: 0; border-color: var(--a-500); box-shadow: 0 0 0 4px var(--a-100); }
.au-input .eye { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 10px; font-size: 1.1rem; }
.au-input .eye:hover { background: var(--a-100); color: var(--a-700); }
.au-btn { width: 100%; height: 52px; border: 0; border-radius: 12px; background: var(--a-600); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .6rem; box-shadow: 0 8px 20px rgba(22,137,109,.3); transition: background .15s, transform .1s; }
.au-btn:hover { background: var(--a-700); } .au-btn:active { transform: translateY(1px); } .au-btn[disabled] { opacity: .7; cursor: progress; }
.au-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: au-sp .7s linear infinite; }
@keyframes au-sp { to { transform: rotate(360deg); } }
.au-divider { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0; color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.au-divider::before, .au-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-google { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; color: var(--ink-2); }
.au-google:hover { background: var(--bg); border-color: var(--a-400); } .au-google img { width: 20px; height: 20px; }
.au-help { margin-top: 1.6rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-3); font-size: .86rem; line-height: 1.55; display: flex; gap: .7rem; }
.au-help i { color: var(--a-600); font-size: 1.1rem; margin-top: 1px; } .au-help a { color: var(--a-700); font-weight: 700; }
.au-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; font-size: .86rem; color: var(--ink-3); flex-wrap: wrap; }
.au-links a:hover { color: var(--a-700); }
.au-secure { margin-top: 1.4rem; text-align: center; color: var(--ink-3); font-size: .76rem; display: flex; align-items: center; justify-content: center; gap: .4rem; }
:focus-visible { outline: 2px solid var(--a-500); outline-offset: 2px; border-radius: 8px; }

@media (max-width: 960px) {
  .au { grid-template-columns: 1fr; }
  .au-brand { display: none; }
  .au-side { align-items: flex-start; padding: 2rem 1.2rem 3rem; min-height: 100vh; background: linear-gradient(180deg, #e9f6f0 0, var(--bg) 220px); }
  .au-mobile-logo { display: flex; align-items: center; gap: .7rem; }
  .au-mobile-logo img { height: 38px; } .au-mobile-logo b { font-size: 1rem; line-height: 1.2; } .au-mobile-logo small { display: block; color: var(--ink-3); font-weight: 600; font-size: .72rem; }
  .au-card h2 { font-size: 1.45rem; }
  .au-input input, .au-btn, .au-google { height: 54px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* phones: 16px fields (no iOS zoom) and comfortable link targets */
@media (max-width:900px){
  .au-input input,.au-field input,.au-field select,.au-field textarea{font-size:16px}
  .au-links a{min-height:36px;display:inline-flex;align-items:center}
}
