/* =============================================================================
   account-login.css
   Extracted verbatim from Views/Account/Login.cshtml.

   This page renders its own <html>/<head> (Layout = null, or it IS a layout),
   so the <link> sits directly in that <head> where the <style> block was.
   ========================================================================== */

        * { box-sizing: border-box; }

        :root {
            /* Same dark-luxury accent tokens as _Layout.cshtml's isLuxuryTheme —
               this page is standalone (Layout = null) so can't inherit them, but
               keeping the exact names/values means any component here reads
               identically to the rest of the app rather than an approximation. */
            --bg-card:  rgba(10,11,14,0.6);
            --border:   rgba(255,255,255,0.08);
            --tx-primary:   #FFFFFF;
            --tx-secondary: rgba(255,255,255,0.65);
            --tx-muted:     rgba(255,255,255,0.45);
            --lux-gold:      #D6B36A;
            --lux-gold-dim:  rgba(214,179,106,0.35);
        }

        /* Full-bleed blueprint-texture background (wwwroot/images/background.png),
           matching the IDA brand reference exactly rather than the earlier
           scroll-driven house-photo hero. No background-attachment:fixed — that
           causes real rendering/scroll-jank bugs on iOS Safari; cover+center on
           the body itself extends correctly regardless of how tall the page ends
           up being on a given screen. */
        body {
            margin: 0;
            min-height: 100vh;
            background: #0b0a08 url('/images/background.png') center center / cover no-repeat;
            font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 56px 20px;
        }

        .page-wrap {
            width: 100%;
            max-width: 900px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 48px;
        }

        /* IDA logo lockup (wwwroot/images/logoNoBg.png) — the reference image
           itself, not reconstructed as separate text/icon elements, so this
           always matches exactly whatever's in that file. Same mouse-tracking
           spotlight-border technique as .login-card::after below (a
           padding:1-2px box whose fill is punched out via
           mask-composite:exclude, leaving a thin gold gradient outline
           centred on the cursor, invisible until hovered) — ported from the
           earlier IDA-headline effect rather than inventing a new one; see
           the script block near the end of this file for the --mx/--my wiring. */
        .ida-logo-wrap {
            position: relative;
            display: inline-block;
            max-width: 100%;
        }
        .ida-logo-wrap img {
            display: block;
            width: min(85vw, 560px);
            height: auto;
        }
        .ida-logo-wrap::after {
            content: '';
            position: absolute;
            inset: -22px -30px;
            border-radius: 22px;
            padding: 1px;
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            pointer-events: none;
            transition: opacity 250ms ease;
            background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #cda45e, transparent 70%);
        }
        .ida-logo-wrap:hover::after { opacity: 0.9; }

        /* Glass card — same recipe as the app's own .ih-theme-luxury .ih-sidebar
           (blurred, translucent dark panel + hairline border + soft outer shadow). */
        .login-card {
            background: var(--bg-card);
            backdrop-filter: blur(28px) saturate(150%);
            -webkit-backdrop-filter: blur(28px) saturate(150%);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 44px 64px;
            width: 640px;
            max-width: 92vw;
            box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.05) inset;
            position: relative;
            overflow: hidden;
        }

        /* Thin gold spotlight-border that tracks the mouse across the card — same
           mask-composite:exclude ring technique as the logo lockup above. */
        .login-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%),
                var(--lux-gold), transparent 70%);
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            pointer-events: none;
            transition: opacity 250ms ease;
        }
        .login-card:hover::after { opacity: 0.9; }

        .form-label {
            font-size: 12px;
            font-weight: 500;
            color: var(--lux-gold);
            margin-bottom: 5px;
        }

        /* Neumorphic inset field — same recipe as the app's own .ihx-search-input
           in dark mode: pressed-in shadow rather than a flat bordered box. */
        .form-control {
            font-size: 14px;
            background: rgba(8,10,14,0.5);
            border: 1px solid var(--border);
            border-radius: 9px;
            padding: 12px 14px;
            color: var(--tx-primary);
            box-shadow: inset 0 2px 6px rgba(0,0,0,0.5), inset 0 -1px 0 rgba(255,255,255,0.03);
        }

        .form-control::placeholder { color: var(--tx-muted); }

        .form-control:focus {
            outline: none;
            border-color: var(--lux-gold-dim);
            box-shadow: inset 0 2px 6px rgba(0,0,0,0.5), 0 0 0 3px rgba(214,179,106,0.12);
            background: rgba(8,10,14,0.5);
            color: var(--tx-primary);
        }

        /* Sign-in CTA — same "inset black chip, gold text" recipe as the app's
           own .ih-theme-luxury .ih-btn-primary, not a flat gold fill. */
        .btn-sign-in {
            width: 100%;
            background: #0c0c0e;
            color: var(--lux-gold);
            border: 1px solid var(--border);
            border-radius: 9px;
            padding: 13px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.3px;
            cursor: pointer;
            margin-top: 22px;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.65), inset 0 -1px 0 rgba(255,255,255,0.03);
            transition: background 0.15s, box-shadow 0.15s;
        }

        .btn-sign-in:hover {
            background: #17171a;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.65), 0 0 0 2px rgba(214,179,106,0.2);
        }

        a { color: var(--lux-gold); }

        .text-danger { font-size: 12px; color: #F87171 !important; }
