  html, body { margin: 0; padding: 0; }

        .lg-page {
            --lg-brand: #ff5757;
            --lg-brand-dark: #e84141;
            --lg-brand-soft: rgba(255, 87, 87, .10);
            --lg-ink: #2b2d42;
            --lg-muted: #8d93a6;
            --lg-line: #eceef4;
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
            background: #fff;
            color: var(--lg-ink);
            font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
        }
        .lg-page *, .lg-page *::before, .lg-page *::after { box-sizing: border-box; }
        .lg-page input, .lg-page button { font-family: inherit; }

        /* =============== Brand panel =============== */
        .lg-brand {
            position: relative; overflow: hidden; color: #fff;
            padding: 56px 60px;
            display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
            background: linear-gradient(145deg, #ff5757 0%, #ff7660 55%, #ff9a7c 100%);
        }
        .lg-brand::before {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background-image: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 1.5px);
            background-size: 28px 28px;
            -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 65%);
                    mask-image: linear-gradient(135deg, #000 0%, transparent 65%);
        }
        .lg-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: lgFloat 9s ease-in-out infinite alternate; }
        .lg-orb--1 { width: 360px; height: 360px; right: -120px; top: -110px; background: rgba(255,255,255,.14); }
        .lg-orb--2 { width: 220px; height: 220px; right: 90px; bottom: -90px; background: rgba(255,255,255,.12); animation-delay: -3s; }
        .lg-orb--3 { width: 120px; height: 120px; left: -40px; bottom: 28%; background: rgba(255,255,255,.10); animation-delay: -6s; }
        .lg-brand > :not(.lg-orb) { position: relative; z-index: 1; }

        .lg-brand-top { display: flex; align-items: center; gap: 14px; }
        .lg-logo {
            width: 50px; height: 50px; border-radius: 16px; font-size: 1.35rem;
            background: rgba(255,255,255,.22); backdrop-filter: blur(6px);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 8px 24px rgba(0,0,0,.12);
        }
        .lg-brand-top strong { font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; }

        .lg-brand h1 { margin: 0 0 14px; font-size: 2.5rem; font-weight: 700; line-height: 1.2; color: #fff; max-width: 480px; }
        .lg-brand p { margin: 0 0 32px; max-width: 440px; font-size: 1rem; line-height: 1.7; opacity: .92; }

        .lg-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
        .lg-features li {
            display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
            background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,.22);
            font-weight: 500; font-size: .95rem; transition: transform .25s, background .25s;
        }
        .lg-features li:hover { transform: translateX(6px); background: rgba(255,255,255,.24); }
        .lg-features i {
            width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; font-size: 1rem;
            background: #fff; color: var(--lg-brand);
            display: flex; align-items: center; justify-content: center;
        }

        /* =============== Form panel =============== */
        .lg-panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: #fff; }
        .lg-form-wrap { width: 100%; max-width: 420px; }
        .lg-form-wrap > * { animation: lgUp .6s cubic-bezier(.2,.8,.3,1) both; }
        .lg-form-wrap > :nth-child(1) { animation-delay: .05s; }
        .lg-form-wrap > :nth-child(2) { animation-delay: .12s; }
        .lg-form-wrap > :nth-child(3) { animation-delay: .19s; }
        .lg-form-wrap > :nth-child(4) { animation-delay: .26s; }
        .lg-form-wrap > :nth-child(5) { animation-delay: .33s; }
        .lg-form-wrap > :nth-child(6) { animation-delay: .40s; }

        .lg-badge {
            width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; font-size: 1.5rem;
            background: var(--lg-brand-soft); color: var(--lg-brand);
            display: flex; align-items: center; justify-content: center;
        }
        .lg-form-wrap h2 { margin: 0 0 8px; font-size: 1.9rem; font-weight: 700; color: var(--lg-ink); }
        .lg-sub { margin: 0 0 28px; color: var(--lg-muted); font-size: .95rem; }

        /* Alert */
        .lg-alert {
            display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px;
            padding: 14px 18px; border-radius: 14px; background: #fff1f1; color: #b71c1c;
            border-left: 4px solid var(--lg-brand); box-shadow: 0 8px 22px rgba(255,87,87,.14);
            animation: lgShake .5s .15s;
        }
        .lg-alert > i { font-size: 1.3rem; line-height: 1.4; }
        .lg-alert ul { margin: 0; padding-left: 16px; font-size: .88rem; line-height: 1.6; }

        /* Fields */
        .lg-field { margin-bottom: 20px; }
        .lg-field > label { display: block; margin-bottom: 9px; font-size: .88rem; font-weight: 600; color: var(--lg-ink); }
        .lg-input { position: relative; }
        .lg-input > i {
            position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
            color: var(--lg-muted); font-size: 1rem; pointer-events: none; transition: color .2s;
        }
        .lg-input input {
            display: block; width: 100%; height: 56px; padding: 0 18px 0 50px;
            border: 2px solid var(--lg-line); border-radius: 14px; background: #f8f9fc;
            color: var(--lg-ink); font-size: .95rem; outline: 0; transition: border-color .2s, background .2s, box-shadow .2s;
        }
        .lg-input input::placeholder { color: #b3b8c8; }
        .lg-input input:hover { border-color: #ffd0d0; }
        .lg-input input:focus { background: #fff; border-color: var(--lg-brand); box-shadow: 0 0 0 5px var(--lg-brand-soft); }
        .lg-input:focus-within > i { color: var(--lg-brand); }
        .lg-input.is-invalid input { border-color: var(--lg-brand); background: #fff7f7; }
        .lg-input.has-eye input { padding-right: 56px; }

        .lg-eye {
            position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
            width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
            background: transparent; color: var(--lg-muted); transition: .2s;
        }
        .lg-eye:hover { background: var(--lg-brand-soft); color: var(--lg-brand); }

        .lg-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #b26a00; font-size: .8rem; font-weight: 500; }
        .lg-hint[hidden] { display: none; }

        /* Button */
        .lg-btn {
            position: relative; overflow: hidden; width: 100%; height: 56px; margin-top: 8px;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            border: 0; border-radius: 14px; cursor: pointer; color: #fff; font-size: 1rem; font-weight: 600;
            background: linear-gradient(135deg, var(--lg-brand) 0%, #ff7a62 100%);
            box-shadow: 0 12px 28px rgba(255,87,87,.38); transition: transform .25s, box-shadow .25s;
        }
        .lg-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,87,87,.48); }
        .lg-btn:active { transform: translateY(0); }
        .lg-btn i { transition: transform .25s; }
        .lg-btn:hover i { transform: translateX(5px); }
        .lg-btn:focus-visible { outline: 3px solid var(--lg-brand-soft); outline-offset: 3px; }
        .lg-btn[disabled], .lg-btn[disabled]:hover {
            cursor: progress; transform: none; box-shadow: 0 8px 20px rgba(255,87,87,.3);
            background: linear-gradient(110deg, #ff5757 25%, #ff9b86 45%, #ff5757 65%);
            background-size: 240% 100%; animation: lgShimmer 1.5s linear infinite;
        }
        .lg-btn[disabled] i { transform: none; }

        .lg-copy { margin: 30px 0 0; text-align: center; color: #a9aebf; font-size: .78rem; }

        /* =============== Animations =============== */
        @keyframes lgFloat   { from { transform: translateY(0) scale(1); } to { transform: translateY(24px) scale(1.06); } }
        @keyframes lgUp      { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
        @keyframes lgShake   { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
        @keyframes lgShimmer { to { background-position: -240% 0; } }

        /* =============== Responsive =============== */
        @media (max-width: 960px) {
            .lg-page { grid-template-columns: minmax(0, 1fr); }
            .lg-brand { padding: 30px 26px 72px; gap: 0; }
            .lg-brand h1, .lg-brand p, .lg-features { display: none; }
            .lg-panel {
                position: relative; margin-top: -36px; padding: 36px 24px 40px;
                border-radius: 30px 30px 0 0; align-items: flex-start;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .lg-page *, .lg-page *::before, .lg-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
        }