/* Sign in / Create account (Views/Account/Login.cshtml) in the "Website v5 · final" look.
   Layered on top of auth.css: it re-maps the palette tokens, turns the brand panel into the design's
   full-bleed photo and restyles the tabs. Every hook class used by the page script is unchanged. */

.au {
    --lp-madder: #C7255F; --lp-madder-rgb: 199, 37, 95; --lp-madder-deep: #A81E50;
    --lp-ink: #1E1720; --lp-ink-rgb: 30, 23, 32; --lp-ink-soft: #4F4552;
    --lp-paper: #FBF8F6; --lp-paper-rgb: 251, 248, 246; --lp-paper-deep: #F6E8EC; --lp-surface: #FFFFFF;
    --lp-sans: 'DM Sans', system-ui, sans-serif;
    --au-line: #F0D3DE; --au-line-strong: #E2B6C8;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    font-family: var(--lp-sans);
}
html:has(body.au-body), body.au-body { background: #FBF8F6; }

/* Brand panel: photo with the headline over it */
.au .au-brand { background: #2B1B2F; border: 0; }
.au .au-brand::before, .au .au-brand::after { display: none; }
.au .au-brand__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.au .au-brand__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 23, 32, .15) 0%, rgba(30, 23, 32, .05) 40%, rgba(30, 23, 32, .78) 100%); }
.au .au-brand__inner { max-width: none; padding: 28px clamp(24px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.au .au-logo { background: rgba(251, 248, 246, .92); border-radius: 12px; padding: 6px 10px; }
.au .au-logo img { height: 45px; width: auto; mix-blend-mode: normal; }
.au .au-home { background: rgba(251, 248, 246, .92); border-color: transparent; }
.au .au-brand__copy { margin: auto 0 0; padding-block: 0; }
.au .au-brand__title { margin: 0; color: #FFFFFF; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.022em; }
.au .au-chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; font-size: 15px; color: #F1E6EB; }
.au .au-chip { display: inline-flex; gap: 8px; align-items: center; }
.au .au-chip svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Form column: the design has no card box */
.au .au-card { max-width: 440px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
@media (min-width: 640px) { .au .au-card:has([data-auth-pane="register"]:not(.d-none)) { max-width: 620px; } }
.au .au-pari { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 4px; }
.au .au-pari.d-none { display: none; }
.au .au-pari svg { flex: none; width: 96px; height: 88px; }
.au .au-speech { position: relative; margin-bottom: 26px; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: #FFFFFF; box-shadow: 0 10px 24px -14px rgba(43, 27, 47, .25); font-size: 14.5px; line-height: 1.5; color: var(--lp-ink); }
.au .au-switch { background: #FBE3EB; border: 0; }
.au .au-switch__tab { color: #6B5E70; }
.au .au-switch__tab.active { color: #2B1B2F; box-shadow: 0 2px 8px rgba(42, 23, 38, .1); }
.au .au-switch__tab.active::after { display: none; }
.au .au-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -.015em; }
.au .au-input, .au .form-control.au-input { border-width: 1.5px; box-shadow: none; background-color: #FFFFFF; }
.au .au-input:focus, .au .form-control.au-input:focus { box-shadow: 0 0 0 4px rgba(199, 37, 95, .1); }
.au .au-btn { box-shadow: 0 10px 24px -8px rgba(199, 37, 95, .45); }
.au .au-btn:hover { box-shadow: 0 14px 30px -8px rgba(199, 37, 95, .5); }

/* Tablet and below keeps the slim header bar from auth.css; the photo and headline are desktop only */
@media (max-width: 991.98px) {
    .au { grid-template-columns: minmax(0, 1fr); }
    .au .au-brand { background: rgba(251, 248, 246, .94); }
    .au .au-brand__photo, .au .au-brand__shade { display: none; }
    .au .au-logo { background: none; padding: 0; }
    .au .au-logo img { height: 40px; }
    .au .au-home { background: rgba(255, 255, 255, .55); border-color: rgba(199, 37, 95, .18); }
}

/* Pari (the design's character), same animation rules as the public pages */
.blink,.breathe,.lean,.sway,.sway2,.wave,.wave2,.beat,.tw,.zz,.spin,.steam,.batt,.blush,.shadow,.fu{transform-box:fill-box}
.blink{transform-origin:center}.breathe,.lean,.sway,.sway2{transform-origin:50% 100%}
.wave{transform-origin:30% 90%}.wave2{transform-origin:70% 90%}
.beat,.tw,.spin,.shadow,.fu{transform-origin:center}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes shad{0%,100%{transform:scaleX(1);opacity:.35}50%{transform:scaleX(.86);opacity:.22}}
@keyframes breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.025,.975)}}
@keyframes lean{0%,100%{transform:rotate(0)}50%{transform:rotate(-2.5deg)}}
@keyframes blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes sway{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
@keyframes wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-22deg)}75%{transform:rotate(12deg)}}
@keyframes wave2{0%,100%{transform:rotate(0)}25%{transform:rotate(22deg)}75%{transform:rotate(-12deg)}}
@keyframes beat{0%,100%{transform:scale(1)}15%{transform:scale(1.14)}30%{transform:scale(.98)}45%{transform:scale(1.08)}}
@keyframes tw{0%,100%{opacity:.25;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1) rotate(45deg)}}
@keyframes floatUp{0%{opacity:0;transform:translateY(10px) scale(.6)}20%{opacity:1}100%{opacity:0;transform:translateY(-70px) scale(1)}}
@keyframes zz{0%{opacity:0;transform:translate(0,6px)}40%{opacity:1}100%{opacity:0;transform:translate(10px,-18px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes steam{0%,100%{opacity:.25;transform:translateY(2px)}50%{opacity:.9;transform:translateY(-4px)}}
@keyframes batt{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes blush{0%,100%{opacity:.45}50%{opacity:.75}}
@keyframes peekin{from{opacity:0;transform:translateY(24px)}}
@media (prefers-reduced-motion:no-preference){
.bob{animation:bob 4.5s ease-in-out infinite}.shadow{animation:shad 4.5s ease-in-out infinite}
.breathe{animation:breathe 3.8s ease-in-out infinite}.lean{animation:lean 4.6s ease-in-out infinite}
.blink{animation:blink 4.4s ease-in-out infinite}.sway{animation:sway 3.2s ease-in-out infinite}.sway2{animation:sway 5.2s ease-in-out infinite}
.wave{animation:wave 1.8s ease-in-out infinite}.wave2{animation:wave2 1.8s ease-in-out .2s infinite}
.beat{animation:beat 2s ease-in-out infinite}.tw{animation:tw 2.8s ease-in-out infinite}.fu{animation:floatUp 4.8s ease-out infinite}
.zz{animation:zz 2.6s ease-out infinite}.spin{animation:spin 6s linear infinite}.steam{animation:steam 2.2s ease-in-out infinite}
.batt{animation:batt 1.4s ease-in-out infinite}.blush{animation:blush 3s ease-in-out infinite}
.d2{animation-delay:.3s}.d3{animation-delay:.6s}
.peek{animation:peekin 1s var(--o) .5s backwards}
}

/* Forgot / Reset password (.au--single): the design's two columns, form on the left and Pari on the right */
.au.au--single {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; padding: 0; overflow: visible;
    background: linear-gradient(180deg, #FFF3F7, #FFFFFF);
}
.au .au-single__art { display: none; }
.au .au-single { align-self: center; justify-self: center; width: 100%; max-width: 460px; padding: 48px 28px; align-items: flex-start; }
.au .au-card--recover { max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.au .au-logo--center { align-self: flex-start; }
.au .au-logo--center img { height: 48px; width: auto; mix-blend-mode: normal; }
.au .au-pari-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px; text-align: center; background: linear-gradient(160deg, #FDE3EC, #EFEAFB); }
.au .au-pari-panel .au-speech { max-width: 300px; margin: 0; }
@media (max-width: 991.98px) {
    .au.au--single { grid-template-columns: minmax(0, 1fr); }
    .au .au-pari-panel { display: none; }
    .au .au-single { padding: 28px 18px 40px; }
}
