/* =====================================================================
   AuthMaster.master.css - the stylesheet owned by AuthMaster.master: the shell for the anonymous entry pages (MasterPages/AuthMaster.master)
   Page content (the sign-in card) is styled by its own control: Login26.ascx.css.
   Colors come from cssPalette26.css (--sw-*): this page is the "night" surface with brand red and gold glows.
   Everything is scoped under body.au26 / .au26-* so the older global stylesheets the head control loads cannot reach it.
   ===================================================================== */

/* Colors, fonts and the night surface come from cssPalette26.css (--sw-*), linked first by the head control. */

html { background: var(--sw-night-deep); }

body.au26 {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sw-font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;   /* the older global stylesheet centres the whole body; this page sets its own alignment */
  color: var(--sw-on-night);
  background-color: var(--sw-night);
  /* a floodlit-field feel: crimson glow top-left, blue glow top-right, faint yard lines, deep navy base */
  background-image:
    radial-gradient(1100px 520px at 12% -8%, color-mix(in srgb, var(--sw-red) 38%, transparent), transparent 62%),
    radial-gradient(900px 520px at 100% 0, color-mix(in srgb, var(--sw-blue) 30%, transparent), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 84px),
    linear-gradient(180deg, var(--sw-night-top) 0%, var(--sw-night) 52%, var(--sw-night-deep) 100%);
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

.au26-form { margin: 0; padding: 0; }

.au26-wrap {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 24px 20px;
}

/* slim top bar */
.au26-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
}
a.au26-toplink {
  color: var(--sw-on-night-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 6px;
}
a.au26-toplink:hover,
a.au26-toplink:focus { color: var(--sw-surface); text-decoration: underline; }

.au26-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 10px 0 28px;
}

/* legal footer */
.au26-foot {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  line-height: 1.6;
  color: var(--sw-on-night-faint);
}
.au26-foot p, .au26-foot div { margin: 0 0 8px; }
.au26-foot a { color: var(--sw-on-night-soft); text-decoration: underline; margin-left: 10px; }
.au26-foot a:hover { color: var(--sw-surface); }

@media (max-width: 640px) {
  .au26-wrap { padding: 14px 14px 14px; }
  .au26-main { padding: 6px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
