/* ASEEE auth screens (login / forgot / reset) — sits on top of the original video background */
:root { --c: #3ee0ff; --b: #2f7bff; --r: #ff4d57; --t: #e9efff; --m: #9db0d6; --line: rgba(120, 170, 255, .2); }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.axa { font-family: "Inter", system-ui, sans-serif; color: var(--t); background: #030817; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.axa a { color: var(--c); text-decoration: none; }
.axa-mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .05em; }

/* background: original video kept, tinted for contrast */
.axa-video { position: fixed; inset: 0; z-index: -4; overflow: hidden; }
.axa-video video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; }
.axa-veil { position: fixed; inset: 0; z-index: -3; background:
    radial-gradient(900px 600px at 78% 50%, rgba(3, 8, 23, .35), rgba(3, 8, 23, .82) 70%),
    linear-gradient(90deg, rgba(3, 8, 23, .82) 0%, rgba(3, 8, 23, .45) 50%, rgba(3, 8, 23, .7) 100%); }
.axa-grid { position: fixed; inset: 0; z-index: -2; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(62, 224, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 224, 255, .08) 1px, transparent 1px); background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%); animation: axaGrid 24s linear infinite; }
@keyframes axaGrid { to { background-position: 60px 60px; } }
.axa-scan { position: fixed; left: 0; right: 0; height: 140px; top: -140px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(62, 224, 255, .07), transparent); animation: axaScan 8s linear infinite; }
@keyframes axaScan { to { top: 110%; } }

.axa-wrap { min-height: 100%; max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

/* brand side */
.axa-brand__emblem { width: 92px; height: 92px; filter: drop-shadow(0 0 28px rgba(62, 224, 255, .45)); animation: axaFloat 6s ease-in-out infinite; }
@keyframes axaFloat { 50% { transform: translateY(-6px) rotate(-3deg); } }
.axa-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 14px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.axa-pulse { width: 8px; height: 8px; border-radius: 50%; background: #2bff9e; box-shadow: 0 0 0 0 rgba(43, 255, 158, .7); animation: axaPulse 2s infinite; display: inline-block; }
@keyframes axaPulse { 70% { box-shadow: 0 0 0 10px rgba(43, 255, 158, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 255, 158, 0); } }
.axa-brand h1 { font: 700 clamp(36px, 4.6vw, 64px)/1.04 "Space Grotesk", sans-serif; letter-spacing: -.02em; margin: 0 0 18px; max-width: 620px;
  background: linear-gradient(180deg, #fff 30%, #b9cdf5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.axa-brand p { font-size: 18px; line-height: 1.6; color: #c0cde9; max-width: 520px; margin: 0; }
.axa-specs { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.axa-specs li { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--t); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.axa-specs i { color: var(--c); }

/* card */
.axa-card { position: relative; padding: 34px 34px 22px; border-radius: 24px; background: linear-gradient(160deg, rgba(14, 30, 70, .72), rgba(4, 10, 28, .78)); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(62, 224, 255, .28), 0 10px 50px -10px rgba(47, 123, 255, .45); animation: axaIn .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes axaIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.axa-card__corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--c); }
.axa-card__corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.axa-card__corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.axa-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.axa-card__logo { height: 34px; width: auto; }
.axa-card__sys { font-size: 11px; color: #61739a; }
.axa-blink { color: #2bff9e; animation: axaBlink 1.6s steps(2) infinite; }
@keyframes axaBlink { 50% { opacity: .25; } }
.axa-card__title { font: 600 26px/1.2 "Space Grotesk", sans-serif; margin: 0 0 6px; }
.axa-card__sub { margin: 0 0 24px; color: var(--m); font-size: 14.5px; }

.axa-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px; border-radius: 12px; font-size: 14px; color: #ffd5d7; background: rgba(255, 77, 87, .12); box-shadow: inset 0 0 0 1px rgba(255, 77, 87, .45); }
.axa-alert--ok { color: #c9ffe6; background: rgba(43, 255, 158, .1); box-shadow: inset 0 0 0 1px rgba(43, 255, 158, .4); }

.axa-field { display: block; margin-bottom: 18px; }
.axa-field__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--m); }
.axa-field__box { position: relative; display: flex; align-items: center; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.axa-field__box:focus-within { background: rgba(62, 224, 255, .05); box-shadow: inset 0 0 0 1px var(--c), 0 0 0 4px rgba(62, 224, 255, .12); }
.axa-field__box > i { width: 46px; text-align: center; color: #61739a; transition: color .2s; }
.axa-field__box:focus-within > i { color: var(--c); }
.axa-field__box input { flex: 1; min-width: 0; height: 52px; padding: 0 14px 0 0; border: 0; outline: 0; background: transparent; color: #fff; font: 15.5px "Inter", sans-serif; }
.axa-field__box input::placeholder { color: #4f6086; }
.axa-field__box input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #0b1838 inset; caret-color: #fff; }
.axa-eye { width: 46px; height: 46px; border: 0; background: none; color: #61739a; cursor: pointer; }
.axa-eye:hover { color: var(--c); }
.axa-link { font-size: 13px; font-weight: 500; }
.axa-link:hover { color: #fff; }

.axa-check { position: relative; display: flex; align-items: center; gap: 10px; margin: 4px 0 22px; font-size: 14px; color: var(--m); cursor: pointer; user-select: none; }
.axa-check input { position: absolute; opacity: 0; }
.axa-check__box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .4); display: grid; place-items: center; transition: .2s; }
.axa-check input:checked + .axa-check__box { background: linear-gradient(120deg, var(--b), var(--c)); box-shadow: none; }
.axa-check input:checked + .axa-check__box::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.axa-check input:focus-visible + .axa-check__box { outline: 2px solid var(--c); outline-offset: 2px; }

.axa-btn { position: relative; width: 100%; height: 54px; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; color: #fff; font: 600 16px "Space Grotesk", sans-serif;
  background: linear-gradient(120deg, var(--b), var(--c)); box-shadow: 0 14px 34px -12px rgba(47, 123, 255, .9); transition: transform .2s, box-shadow .2s; }
.axa-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.axa-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(62, 224, 255, .95); }
.axa-btn:hover::after { transform: translateX(120%); }
.axa-btn__txt { display: inline-flex; gap: 10px; align-items: center; }
.axa-btn__spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: axaSpin .8s linear infinite; margin: 0 auto; }
.axa-btn.is-loading .axa-btn__txt { display: none; }
.axa-btn.is-loading .axa-btn__spin { display: block; }
.axa-btn:disabled { cursor: progress; }
@keyframes axaSpin { to { transform: rotate(360deg); } }
.axa-alt { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--m); }

.axa-card__foot { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 11.5px; color: #61739a; }
.axa-card__foot a { color: var(--m); }
.axa-card__foot a:hover { color: var(--c); }
.axa :focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 960px) {
  .axa-wrap { grid-template-columns: 1fr; gap: 30px; padding: 32px 16px; }
  .axa-brand { text-align: center; }
  .axa-brand p, .axa-brand h1 { margin-left: auto; margin-right: auto; }
  .axa-brand h1 { font-size: 34px; }
  .axa-specs { justify-content: center; }
  .axa-brand__emblem { width: 70px; height: 70px; }
  .axa-card { padding: 28px 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
