/* Sign-in, store sign-in and sign-up pages (Login/Login.aspx, Login/SignUp.aspx).
   Staff pages: body.au-staff. A customer's store sign-in (/b2b/<store>): body.au-store, colours from
   Store Settings > Storefront sign-in page arrive as --panel / --btn / --ptext (StorefrontPage.Css). */
:root {
  --au-nav: #0f1b2e;
  --au-sky: #38b6ff;
  --au-sky-600: #1497e6;
  --au-ring: rgba(56, 182, 255, .32);
  --au-orange: #b85a0b;
  --au-orange-600: #9a4a08;
  --au-ink: #0f172a;
  --au-ink-2: #334155;
  --au-muted: #64748b;
  --au-line: #e2e8f0;
  --au-line-2: #d5deea;
  --au-page: #eef2f7;
  --au-soft: #f8fafc;
  --au-red: #b91c1c;
  --panel: #0f766e;
  --btn: #0f766e;
  --ptext: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.au-page {
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  color: var(--au-ink);
  background: var(--au-page);
}
.au-page a { color: var(--au-sky-600); }
.au-page svg { flex-shrink: 0; }

/* ---------- layout: staff ---------- */
.au { display: grid; grid-template-columns: minmax(400px, 46%) 1fr; min-height: 100vh; }
.au-brand {
  position: relative; overflow: hidden; color: #dbe4f0; padding: 44px 52px 32px; display: flex; flex-direction: column;
  background:
    radial-gradient(70% 45% at 15% 0%, rgba(56, 182, 255, .22), transparent 60%),
    radial-gradient(60% 40% at 100% 100%, rgba(56, 182, 255, .12), transparent 60%),
    linear-gradient(170deg, #142640 0%, #0b1626 70%);
}
.au-brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.au-brand > * { position: relative; z-index: 1; }
.au-logo img.printveez-brand-logo { display: block; width: 216px; max-width: 100%; height: auto; }
.au-copy { margin: auto 0; padding: 40px 0; max-width: 520px; }
.au-h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.12; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.au-h1 em { font-style: normal; color: var(--au-sky); }
.au-tag { margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: #b6c4d8; }
.au-journey { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; background: rgba(255, 255, 255, .05); border: 1px solid rgba(125, 180, 240, .22); border-radius: 14px; padding: 12px 14px; margin-bottom: 26px; }
.au-journey .ch { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--au-ink); font-weight: 800; font-size: 13px; }
.au-journey .ch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.au-journey .ar { color: #6b86a8; font-weight: 800; }
.au-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.au-feat li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.au-feat .fi { width: 38px; height: 38px; border-radius: 11px; background: rgba(56, 182, 255, .14); border: 1px solid rgba(56, 182, 255, .3); display: grid; place-items: center; color: var(--au-sky); }
.au-feat .fi svg { width: 18px; height: 18px; }
.au-feat b { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.au-feat span { color: #94a8c4; font-size: 13.5px; }
.au-legal { font-size: 12.5px; color: #7f93ae; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.au-legal a { color: #b6c4d8; text-decoration: none; }
.au-legal a:hover { color: #fff; }

.au-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 18px; }
.au-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--au-line); border-radius: 18px; padding: 32px 32px 26px; box-shadow: 0 24px 48px -20px rgba(15, 27, 46, .22); position: relative; }
.au-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--au-sky), #182a46); }
.au-card h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: var(--au-ink); }
.au-sub { margin: 4px 0 22px; color: var(--au-muted); font-size: 15px; font-weight: 500; }
.au-help { display: flex; gap: 8px; align-items: center; color: var(--au-muted); font-size: 13px; }
.au-help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--au-ink-2); text-decoration: none; }
.au-help a:hover { color: var(--au-sky-600); }
.au-help svg { width: 16px; height: 16px; color: #ef4444; }
.au-mlegal { display: none; }

/* ---------- form parts ---------- */
.au-google { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--au-line-2); border-radius: 10px; background: #fff; color: var(--au-ink-2) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.au-google:hover { background: var(--au-soft); border-color: #94a3b8; }
.au-google svg { width: 18px; height: 18px; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #94a3b8; font-size: 12.5px; font-weight: 700; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--au-line); }
.au-fld { margin-bottom: 14px; }
.au-fld > label, .au-fld > span:first-child { display: block; font-size: 13px; font-weight: 700; color: var(--au-ink-2); margin-bottom: 6px; }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au-inp { position: relative; }
.au-inp > svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: #94a3b8; pointer-events: none; }
.au-page input.LoginText, .au-page select.LoginText {
  width: 100%; height: 44px; border: 1px solid var(--au-line-2); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px;
  color: var(--au-ink); background: #fff; outline: none; box-shadow: none;
}
.au-inp > input.LoginText { padding-left: 40px; }
.au-inp.au-pw > input.LoginText { padding-right: 44px; }
.au-page input.LoginText::placeholder { color: #94a3b8; }
.au-page .LoginText:focus { border-color: var(--au-sky); box-shadow: 0 0 0 3px var(--au-ring); }
.au-eye { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; color: var(--au-muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.au-eye:hover { background: var(--au-soft); color: var(--au-ink); }
.au-eye svg { width: 18px; height: 18px; }
.au-eye .off, .au-eye.on .on { display: none; }
.au-eye.on .off { display: block; }
.validation-msg { display: block; font-size: 12.5px; font-weight: 600; color: var(--au-red); margin-top: 5px; }
.au-hint { font-size: 12.5px; color: var(--au-muted); margin-top: 6px; }
.au-opts { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; flex-wrap: wrap; }
.au-tick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--au-ink-2); cursor: pointer; font-weight: 600; margin: 0; }
.au-tick input { width: 17px; height: 17px; margin: 0; accent-color: var(--au-sky-600); }
.au-forgot { font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--au-sky-600); }
.au-forgot:hover { text-decoration: underline; }
.au-page .Loginbuttoscss {
  width: 100%; height: 46px; border: 0; border-radius: 10px; font: inherit; font-weight: 800; font-size: 15.5px; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: var(--au-orange); box-shadow: 0 8px 18px -8px rgba(184, 90, 11, .7); -webkit-appearance: none; appearance: none;
}
.au-page .Loginbuttoscss:hover { background: var(--au-orange-600); }
.au-page .Loginbuttoscss img { height: 20px; width: auto; }
.au-loader { display: none; }
.au-loader .Loginbuttoscss { cursor: wait; opacity: .92; }
#div_InvalidMsg, .au-msg {
  gap: 10px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; line-height: 1.4;
}
#div_InvalidMsg { background: #fef2f2; border: 1px solid #fecaca; color: var(--au-red); }
#div_InvalidMsg[style*="block"] { display: flex !important; }
#div_InvalidMsg img { display: none; }
#div_InvalidMsg::before, .au-msg::before { content: "!"; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.au-msg { display: flex; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.au-msg::before { content: "\2713"; }
.au-store .au-msg { background: #eaf6ff; border-color: #bfe3fb; color: #075985; }
.au-store .au-msg::before { content: "i"; }
/* Forgot / Reset password: divMsg gets "msg msg-error" or "msg msg-ok" from the code-behind */
.au-page .msg { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.au-page .msg::before { flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.au-page .msg-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--au-red); }
.au-page .msg-error::before { content: "!"; }
.au-page .msg-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.au-page .msg-ok::before { content: "\2713"; }
.au-badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: #eaf6ff; color: var(--au-sky-600); border: 1px solid #bfe3fb; }
.au-badge svg { width: 22px; height: 22px; }
.au-small .au-card h2 { font-size: 24px; }
.au-store .au-badge { background: color-mix(in srgb, var(--btn) 12%, white); border-color: color-mix(in srgb, var(--btn) 30%, white); color: color-mix(in srgb, var(--btn) 80%, black); }
.au-store .au-alt a { color: color-mix(in srgb, var(--btn) 80%, black); }
.au-store.au-light-btn .au-alt a, .au-store.au-light-btn .au-badge { color: color-mix(in srgb, var(--btn) 40%, black); }
.au-store .au-alt + .au-storehelp { margin-top: 0; }
.au-alt { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--au-line); text-align: center; color: var(--au-muted); font-size: 14px; }
.au-alt a { font-weight: 800; text-decoration: none; }
.au-alt a:hover { text-decoration: underline; }
.au-meter { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.au-meter-bars { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.au-meter-bars span { height: 5px; border-radius: 3px; background: var(--au-line); }
.au-meter-label { font-size: 12.5px; font-weight: 700; min-width: 52px; text-align: right; }
.au-meter.weak .bar-1 { background: #ef4444; }
.au-meter.medium .bar-1, .au-meter.medium .bar-2 { background: #f59e0b; }
.au-meter.strong .bar-1, .au-meter.strong .bar-2, .au-meter.strong .bar-3 { background: #22c55e; }
.au-meter.weak .au-meter-label { color: #dc2626; }
.au-meter.medium .au-meter-label { color: #b45309; }
.au-meter.strong .au-meter-label { color: #15803d; }
.au-signup .au-card { max-width: 480px; }
.au-signup .au-tag { margin-bottom: 30px; }
.au-actions { margin-top: 20px; }
.au-terms { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--au-muted); line-height: 1.45; }
.au-terms a { font-weight: 700; text-decoration: none; }

/* busy overlay (Google / creating account) */
.eprint-busy-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 9999; align-items: center; justify-content: center; }
.eprint-busy-overlay.is-on { display: flex; }
.eprint-busy-card { background: #fff; border-radius: 12px; padding: 22px 28px; min-width: 260px; text-align: center; box-shadow: 0 16px 40px rgba(15, 23, 42, .2); }
.eprint-busy-spin { width: 28px; height: 28px; border: 3px solid var(--au-line); border-top-color: var(--au-orange); border-radius: 50%; margin: 0 auto 12px; animation: auSpin .7s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }
.eprint-busy-card p { margin: 0; font-size: 15px; font-weight: 600; color: var(--au-ink); }

/* ---------- a customer's store sign-in ---------- */
body.au-store { background: radial-gradient(50% 60% at 0% 0%, color-mix(in srgb, var(--panel) 14%, transparent), transparent 70%), radial-gradient(50% 60% at 100% 100%, color-mix(in srgb, var(--panel) 10%, transparent), transparent 70%), #f4f6f9; }
.au-store form { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.au-store .au { width: 100%; max-width: 940px; min-height: 0; grid-template-columns: 44% 1fr; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--au-line); box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .3); }
.au-store .au-brand { background: var(--panel); color: var(--ptext); padding: 36px 34px; gap: 22px; }
.au-store .au-brand::after { inset: auto -90px -90px auto; width: 260px; height: 260px; border-radius: 50%; background: none; border: 40px solid color-mix(in srgb, var(--ptext) 8%, transparent); -webkit-mask-image: none; mask-image: none; }
.au-store .au-h1, .au-store .au-legal { display: none; }
.au-store .au-copy { margin: auto 0 0; padding: 0; }
.au-store .au-tag { margin: 0 0 22px; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--ptext); max-width: 18ch; }
.au-store .storefront-logo { display: block; max-width: 220px; max-height: 96px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }
.au-store .storefront-monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--ptext); color: var(--panel); font-weight: 800; font-size: 24px; }
.au-store .eprint-login-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-store .eprint-login-features li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--ptext) 82%, transparent); }
.au-store .eprint-login-features li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--ptext) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.au-store.au-light .eprint-login-features li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.au-store .au-side { background: #fff; padding: 40px 44px 30px; align-items: stretch; justify-content: flex-start; }
.au-store .au-card { max-width: none; border: 0; box-shadow: none; padding: 0; flex: 1; display: flex; flex-direction: column; }
.au-store .au-card::before, .au-store .au-help, .au-store .au-mlegal { display: none; }
.au-store .au-card h2 { font-size: 28px; }
.au-store .LoginText:focus { border-color: var(--btn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn) 28%, transparent); }
.au-store .au-tick input { accent-color: var(--btn); }
.au-store .au-forgot { color: color-mix(in srgb, var(--btn) 80%, black); }
.au-store.au-light-btn .au-forgot { color: color-mix(in srgb, var(--btn) 40%, black); }
.au-store .Loginbuttoscss { background: var(--btn); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--btn) 70%, transparent); }
.au-store .Loginbuttoscss:hover { background: color-mix(in srgb, var(--btn) 85%, black); }
.au-store.au-light-btn .Loginbuttoscss { color: #0f172a; }
.au-storehelp { margin-top: auto; padding-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--au-muted); line-height: 1.45; }
.au-storehelp .hi { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--au-soft); border: 1px solid var(--au-line); display: grid; place-items: center; color: var(--au-ink-2); font-weight: 800; }
.au-storehelp b { color: var(--au-ink-2); }
.au-storehelp a { color: color-mix(in srgb, var(--btn) 80%, black); font-weight: 700; text-decoration: none; }
.au-light-btn .au-storehelp a { color: color-mix(in srgb, var(--btn) 40%, black); }

/* ---------- narrow screens ---------- */
@media (max-width: 860px) {
  .au { grid-template-columns: 1fr; min-height: 0; }
  .au-brand { padding: 22px 20px 26px; }
  .au-copy { padding: 18px 0 0; margin: 0; }
  .au-h1 { font-size: 26px; margin: 0; }
  .au-staff .au-tag, .au-journey, .au-feat, .au-legal { display: none; }
  .au-staff .au-side { padding: 0 16px 28px; justify-content: flex-start; }
  .au-staff .au-card { margin-top: -14px; padding: 24px 20px 20px; }
  .au-mlegal { display: flex; gap: 6px 14px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--au-muted); }
  .au-mlegal a { color: var(--au-muted); }
  .au-row2 { grid-template-columns: 1fr; }
  .au-store form { padding: 0; align-items: stretch; }
  body.au-store { background: #fff; }
  .au-store .au { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 0; border: 0; box-shadow: none; }
  .au-store .au-brand { padding: 22px 20px 24px; gap: 14px; }
  .au-store .au-brand::after, .au-store .eprint-login-features { display: none; }
  .au-store .au-tag { font-size: 20px; margin: 0; }
  .au-store .au-side { padding: 24px 20px; }
  .au-store .au-card h2 { font-size: 24px; }
  .au-store .au-storehelp { margin-top: 0; }
}
