/* Sign-in, forgot password, reset password and sign-out pages (Views/Account/LoginV2, ForgotPassword, ResetPassword,
   SignOut). Standalone pages (Layout = null): no other stylesheet is needed. */
:root {
    --au-accent: #1b6ec2;
    --au-accent-dark: #155a9f;
    --au-accent-soft: #e8f1fb;
    --au-text: #1f2d3d;
    --au-muted: #6c757d;
    --au-border: #d5dbe1;
    --au-bg: #f4f7fb;
    --au-danger: #c0392b;
    --au-danger-soft: #fdecea;
    --au-ok: #2d7a22;
    --au-ok-soft: #e3f4e1;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "Lato", "Segoe UI", Roboto, Arial, sans-serif; color: var(--au-text); background: var(--au-bg); font-size: 15px; line-height: 1.5; }
a { color: var(--au-accent); }
a:hover, a:focus { color: var(--au-accent-dark); }
:focus-visible { outline: 3px solid rgba(27, 110, 194, .45); outline-offset: 2px; }

.au-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.au-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 56px;
            color: #fff; background: linear-gradient(140deg, #123f73 0%, #1b6ec2 60%, #2b8be0 100%); }
.au-brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
/* The logo in its brand colours, on a white badge so it reads on the blue panel. */
.au-brand-logo { display: inline-flex; align-self: flex-start; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); position: relative; z-index: 1; }
.au-brand-logo img { height: 34px; display: block; }
.au-brand h1 { font-size: 34px; line-height: 1.2; font-weight: 700; margin: 0 0 14px; max-width: 460px; }
.au-brand p { font-size: 16px; opacity: .9; margin: 0; max-width: 460px; }
.au-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.au-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.au-points i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.au-brand small { opacity: .75; position: relative; z-index: 1; }

.au-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.au-card { width: 100%; max-width: 420px; }
.au-mobile-logo { display: none; margin-bottom: 28px; }
.au-mobile-logo img { height: 34px; }
.au-card h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.au-card .au-lead { color: var(--au-muted); margin: 0 0 24px; }

.au-field { margin-bottom: 16px; }
.au-field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.au-input-wrap { position: relative; }
.au-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--au-border); border-radius: 10px; background: #fff; font-size: 15px; color: var(--au-text);
            transition: border-color .15s ease, box-shadow .15s ease; }
.au-input:focus { outline: none; border-color: var(--au-accent); box-shadow: 0 0 0 3px rgba(27, 110, 194, .16); }
.au-input[aria-invalid="true"] { border-color: var(--au-danger); }
.au-input.has-toggle { padding-right: 48px; }
.au-toggle { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 8px; background: none; color: var(--au-muted); cursor: pointer; }
.au-toggle:hover, .au-toggle:focus { background: var(--au-bg); color: var(--au-text); }
.au-field-error { color: var(--au-danger); font-size: 13px; margin-top: 6px; }
.au-hint { color: var(--au-muted); font-size: 13px; margin-top: 6px; }
.au-caps { color: #8a5a00; font-size: 13px; margin-top: 6px; }

.au-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -4px 0 20px; font-size: 14px; }
.au-btn { width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--au-accent); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
          display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s ease; }
.au-btn:hover, .au-btn:focus { background: var(--au-accent-dark); }
.au-btn[disabled] { opacity: .7; cursor: progress; }
.au-btn-light { background: #fff; color: var(--au-text); border: 1px solid var(--au-border); }
.au-btn-light:hover, .au-btn-light:focus { background: var(--au-bg); }
.au-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: au-spin .8s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }

.au-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.au-alert[hidden] { display: none; }
.au-alert.is-error { background: var(--au-danger-soft); color: var(--au-danger); }
.au-alert.is-ok { background: var(--au-ok-soft); color: var(--au-ok); }
.au-alert i { margin-top: 2px; }

.au-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 700; text-decoration: none; }
.au-foot { margin-top: 32px; color: var(--au-muted); font-size: 12px; }
.au-foot a { color: var(--au-muted); }
.au-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 991.98px) {
    .au-page { grid-template-columns: 1fr; }
    .au-brand { display: none; }
    .au-mobile-logo { display: block; }
    .au-main { align-items: flex-start; padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .au-spinner { animation: none; }
    .au-input, .au-btn { transition: none; }
}
