/* Auth pages: skewed-card look on the same soft violet / pink / mint mesh as the landing page hero. Restyles the Sash login classes, so the forms keep their markup. */
:root { --au-navy: #0e0b1f; --au-blue: #5b3df5; --au-ink: #0e0b1f; --au-muted: #5a566e; }
body.login-img { background: var(--au-bg, #fbfaff) !important; min-height: 100vh; position: relative; overflow-x: hidden; }
body.login-img::before { content: ""; position: fixed; left: -15vw; top: -15vh; width: 130vw; height: 130vh; z-index: 0; pointer-events: none; will-change: transform;
  background: radial-gradient(40vw 40vw at 24% 26%, rgba(139,92,246,.6), transparent 70%), radial-gradient(38vw 38vw at 78% 22%, rgba(255,122,182,.55), transparent 70%), radial-gradient(36vw 36vw at 50% 52%, rgba(110,231,192,.5), transparent 70%), radial-gradient(32vw 32vw at 76% 80%, rgba(139,92,246,.32), transparent 70%);
  animation: au-drift 24s ease-in-out infinite alternate; }
@keyframes au-drift { to { transform: translate3d(3vw, 2vw, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { body.login-img::before { animation: none; } }
body.login-img .page { background: none; position: relative; z-index: 1; }
.au-brand { text-align: center; margin: 48px 0 8px; color: var(--au-ink); }
.au-brand img { height: 84px; width: auto; }
.au-brand h1 { margin: 6px 0 0; font-size: 26px; font-weight: 700; letter-spacing: .14em; color: var(--au-ink); }
.au-brand p { margin: 2px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--au-muted); }
body.login-img .container-login100 { min-height: 0; padding: 24px 16px 8px; }
body.login-img .wrap-login100 { position: relative; width: 100%; max-width: 440px; background: var(--au-card, #fff); border-radius: 12px; padding: 40px !important; transform: skewY(-3deg) scale(.96); transition: transform .35s cubic-bezier(.075,.82,.165,1), box-shadow .35s; box-shadow: 0 2px 4px rgba(14,11,31,.06), 0 30px 70px -24px rgba(60,40,160,.4); }
body.login-img .wrap-login100:before, body.login-img .wrap-login100:after { content: ''; position: absolute; top: 0; width: 22%; height: 100%; background: #e7e0ff; pointer-events: none; transition: background-color .35s, transform .35s; }
body.login-img .wrap-login100:before { right: calc(100% - 1px); transform-origin: 100% 100%; transform: skewY(-35deg) scaleX(-1); z-index: -1; }
body.login-img .wrap-login100:after { left: calc(100% - 1px); transform-origin: 0 0; transform: skewY(-35deg) scaleX(-1); z-index: 2; }
body.login-img .wrap-login100:hover, body.login-img .wrap-login100:focus-within { transform: none; }
body.login-img .wrap-login100:hover:before, body.login-img .wrap-login100:hover:after, body.login-img .wrap-login100:focus-within:before, body.login-img .wrap-login100:focus-within:after { background: #fff; transform: skewY(0); }
body.login-img .login100-form { position: relative; z-index: 1; }
body.login-img .login100-form-title { font-weight: 700; color: var(--au-ink); }
body.login-img .input-group-text { background: var(--au-blue) !important; border-color: var(--au-blue); }
body.login-img .input-group-text i { color: #fff !important; }
body.login-img .input100 { border: 2px solid var(--au-blue); }
body.login-img .input100:focus { border-color: var(--au-navy); box-shadow: none; }
body.login-img .login100-form-btn { background: var(--au-blue); border-color: var(--au-blue); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
body.login-img .login100-form-btn:hover, body.login-img .login100-form-btn:focus { background: var(--au-navy); border-color: var(--au-navy); }
body.login-img a { color: var(--au-blue); }
.au-credit { text-align: center; padding: 28px 16px 24px; font-size: 12px; color: var(--au-muted); position: relative; z-index: 1; }
.au-credit img { display: block; height: 34px; width: auto; margin: 0 auto 6px; }
.au-credit a, body.login-img .au-credit a { color: var(--au-ink); }
.au-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; position: relative; z-index: 1; }
.au-or:before, .au-or:after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
body.login-img .wrap-login100 .d-grid, body.login-img .wrap-login100 #demo-note, body.login-img .wrap-login100 .au-or { position: relative; z-index: 3; }
body.login-img a.btn-primary { color: #fff; }
body.login-img .btn-outline-primary { color: var(--au-blue); }
body.login-img .btn-outline-primary:hover { color: #fff; background: var(--au-blue); }
.au-brand img.au-logo { height: auto; width: 240px; max-width: 80%; background: none; border-radius: 0; padding: 0; box-shadow: none; }
/* dark themes (task S7): the form fields and text read on the dark card */
html[data-auth-dark] body.login-img .input100, html[data-auth-dark] body.login-img .form-control { background: rgba(255,255,255,.06); color: #f4f4fa; }
html[data-auth-dark] body.login-img .wrap-login100:before, html[data-auth-dark] body.login-img .wrap-login100:after { background: rgba(255,255,255,.08); }
html[data-auth-dark] body.login-img label, html[data-auth-dark] body.login-img .text-muted { color: #b4b4c8 !important; }
html[data-auth-dark] .au-brand img { background: #fff; border-radius: 12px; padding: 6px 14px; }
