/* SunNex login page (website). Split screen: brand panel + form card. */
:root { --navy: #0b1f4b; --navy-2: #13306e; --blue: #1d47a0; --gold: #f2b705; --orange: #f26b1d; --ink: #1b2440; --muted: #5b6684; --line: #dfe5f2; --red: #d92d36; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
.au-body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #f3f6fc; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.au-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* Brand panel */
.au-brand { position: relative; overflow: hidden; color: #fff; padding: 40px 56px; display: flex; flex-direction: column;
    background: radial-gradient(900px 500px at 110% -10%, rgba(242, 107, 29, .55), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(29, 71, 160, .9), transparent 60%), linear-gradient(140deg, #081737 0%, #0b1f4b 45%, #13306e 100%); }
.au-brand::before, .au-brand::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(242, 183, 5, .28); }
.au-brand::before { width: 520px; height: 520px; right: -180px; bottom: -200px; }
.au-brand::after { width: 320px; height: 320px; right: -80px; bottom: -100px; border-color: rgba(255, 255, 255, .14); }
.au-brand__logo { display: inline-flex; align-self: flex-start; background: #fff; border-radius: 16px; padding: 8px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); position: relative; z-index: 1; }
.au-brand__logo img { height: 58px; width: auto; display: block; }
.au-brand__body { margin: auto 0; max-width: 520px; position: relative; z-index: 1; padding: 30px 0; }
.au-brand__eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .04em; margin: 0 0 12px; }
.au-brand h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; font-weight: 800; margin: 0 0 30px; }
.au-brand h1 em { font-style: normal; color: var(--gold); }
.au-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.au-points li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 14px 16px; backdrop-filter: blur(4px); }
.au-points span { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(180deg, #ffcf3a, #e9a800); color: var(--navy); }
.au-points div { font-size: 14px; color: #d5def3; }
.au-points strong { display: block; font-size: 15.5px; color: #fff; }
.au-brand__foot { margin: 0; font-size: 13px; color: #a9b8dc; position: relative; z-index: 1; }

/* Form panel */
.au-main { display: grid; place-items: center; padding: 32px 20px; }
.au-card { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 36px 34px 28px; box-shadow: 0 24px 60px rgba(11, 31, 75, .12); border: 1px solid #eef1f8; }
.au-card__logo { display: none; margin: 0 auto 14px; }
.au-card__logo img { height: 60px; width: auto; display: block; margin: 0 auto; }
.au-card h2 { margin: 0; font-size: 26px; font-weight: 700; color: var(--navy); }
.au-sub { margin: 4px 0 22px; color: var(--muted); }
.au-field { margin-bottom: 16px; }
.au-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: #2b3657; }
.au-field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.au-input { position: relative; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfcff; transition: border-color .15s, box-shadow .15s; }
.au-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 71, 160, .12); background: #fff; }
.au-input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217, 45, 54, .1); }
.au-input > i { padding-left: 14px; font-size: 18px; color: #8792b0; }
.au-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 12px; font: inherit; color: var(--ink); }
.au-input input::placeholder { color: #a3adc6; font-size: 14px; }
.au-input button { border: 0; background: none; padding: 10px 14px; font-size: 18px; color: #8792b0; cursor: pointer; border-radius: 0 14px 14px 0; }
.au-input button:hover { color: var(--blue); }
.au-caps { color: #9a6400 !important; }
.au-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 14px; }
.au-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.au-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.au-check span { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #b9c2da; display: inline-grid; place-items: center; background: #fff; transition: .15s; }
.au-check input:checked + span { background: var(--blue); border-color: var(--blue); }
.au-check input:checked + span::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.au-check input:focus-visible + span { box-shadow: 0 0 0 4px rgba(29, 71, 160, .2); }
.au-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; padding: 14px 18px; border-radius: 14px; color: #fff;
    background: linear-gradient(180deg, #ff8a2e, #ee5a0a); box-shadow: 0 10px 22px rgba(238, 90, 10, .3); transition: transform .15s, box-shadow .15s; }
.au-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(238, 90, 10, .38); }
.au-btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.au-btn--ghost { background: #eef2fb; color: var(--navy); box-shadow: none; font-size: 15px; }
.au-btn--ghost:hover { background: #e3e9f8; box-shadow: none; }
.au-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #9aa5c1; font-size: 13px; }
.au-divider::before, .au-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-alert { display: flex; gap: 10px; align-items: flex-start; background: #fdecec; color: #9b1c23; border: 1px solid #f6c5c8; border-radius: 12px; padding: 11px 13px; font-size: 14px; margin-bottom: 16px; }
.au-alert--ok { background: #e7f7ee; color: #116b3d; border-color: #bfe6cf; }
.au-alert i { font-size: 17px; margin-top: 1px; }
.au-foot { margin: 20px 0 10px; font-size: 13px; color: var(--muted); text-align: center; }
.au-back { display: flex; justify-content: center; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; color: var(--blue); }
.au-back:hover { text-decoration: underline; }

@media (max-width: 991px) {
    .au-shell { grid-template-columns: 1fr; }
    .au-brand { display: none; }
    .au-body { background: linear-gradient(180deg, #0b1f4b 0, #13306e 240px, #f3f6fc 240px); }
    .au-main { align-items: start; padding-top: 44px; }
    .au-card__logo { display: block; }
    .au-card h2, .au-sub { text-align: center; }
}
@media (max-width: 480px) { .au-card { padding: 28px 20px 22px; border-radius: 20px; } .au-card h2 { font-size: 23px; } }
.au-field small[hidden] { display: none; }
