:root {
            --bg: #ffffff;
            --surface: #ffffff;
            --surface-soft: #f8fbff;
            --line: #dbe7f5;
            --text: #0f172a;
            --muted: #64748b;
            --primary: #2563eb;
            --primary-soft: #dbeafe;
            --shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
            --shadow-strong: 0 26px 72px rgba(37, 99, 235, 0.18);
            --radius: 28px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            min-height: 100vh;
            font-family: "Inter", sans-serif;
            background: var(--bg);
            color: var(--text);
        }

        .page {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
        }

        .image-panel,
        .form-panel {
            min-height: 100vh;
        }

        .image-panel {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.14), transparent 28%),
                radial-gradient(circle at 80% 25%, rgba(59, 130, 246, 0.10), transparent 26%),
                linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }

        .image-card {
            width: min(100%, 540px);
            aspect-ratio: 4 / 4.2;
            border-radius: 34px;
            background: rgba(255, 255, 255, 0.86);
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
            overflow: hidden;
            position: relative;
            animation: floatCard 7s ease-in-out infinite;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            will-change: transform;
        }

        .image-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-strong);
        }

        .image-card::before {
            content: "";
            position: absolute;
            inset: auto -15% -12% auto;
            width: 260px;
            height: 260px;
            border-radius: 999px;
            background: rgba(37, 99, 235, 0.10);
            filter: blur(8px);
        }

        .brand {
            position: absolute;
            top: 24px;
            left: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 1;
        }

        .brand-icon {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            color: white;
            background: linear-gradient(135deg, var(--primary), #3b82f6);
            box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
        }

        .brand strong {
            display: block;
            font-size: 18px;
            line-height: 1;
        }

        .brand span {
            display: block;
            color: var(--muted);
            font-size: 12px;
            margin-top: 4px;
        }

        .illustration {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .form-panel {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
            background: #ffffff;
        }

        .form-card {
            width: min(100%, 460px);
            border-radius: 28px;
            background: var(--surface);
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
            padding: 34px;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .form-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-strong);
        }

        .form-header {
            margin-bottom: 28px;
        }

        .form-header h1 {
            font-size: 30px;
            letter-spacing: -0.04em;
            margin-bottom: 8px;
        }

        .form-header p {
            color: var(--muted);
            font-size: 14px;
            line-height: 1.6;
        }

        .field {
            margin-bottom: 16px;
        }

        .field label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #26415f;
        }

        .input-wrap {
            position: relative;
        }

        .input-wrap i.prefix {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #7b8da5;
        }

        .input-wrap input {
            width: 100%;
            border: 1px solid #dbe7f5;
            background: #f8fbff;
            color: var(--text);
            border-radius: 16px;
            padding: 14px 44px 14px 44px;
            font: inherit;
            outline: none;
            transition: 0.2s ease;
        }

        .input-wrap input:hover {
            border-color: #cbdaf0;
            background: #ffffff;
        }

        .input-wrap input:focus {
            border-color: rgba(37, 99, 235, 0.6);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
            background: #fff;
        }

        .toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 12px;
            background: transparent;
            color: #7b8da5;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .toggle:hover {
            background: #eef5ff;
            color: var(--primary);
        }

        .row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            margin: 12px 0 22px;
            color: var(--muted);
            font-size: 13px;
        }

        .remember {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .remember input {
            accent-color: var(--primary);
        }

        .forgot {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .btn {
            width: 100%;
            border: 0;
            border-radius: 16px;
            padding: 14px 18px;
            font: inherit;
            font-weight: 700;
            cursor: pointer;
            background: linear-gradient(135deg, var(--primary), #3b82f6);
            color: white;
            box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 30px rgba(37, 99, 235, 0.22);
        }

        .hint {
            margin-top: 16px;
            padding: 14px 16px;
            background: var(--surface-soft);
            border: 1px solid var(--line);
            border-radius: 16px;
            color: #4b6682;
            font-size: 13px;
            line-height: 1.6;
        }

        .hint strong {
            color: var(--text);
        }

        .mobile-only {
            display: none;
        }

        @keyframes floatCard {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-8px);
            }
        }

        @media (max-width: 980px) {
            .page {
                grid-template-columns: 1fr;
            }

            .image-panel {
                min-height: 420px;
                order: 2;
            }

            .form-panel {
                min-height: auto;
                order: 1;
            }

            .image-card {
                width: min(100%, 500px);
                aspect-ratio: 16 / 10;
            }
        }

        @media (max-width: 640px) {
            .page {
                gap: 0;
            }

            .image-panel {
                padding: 14px;
                min-height: 260px;
            }

            .form-panel {
                padding: 14px;
            }

            .form-card {
                padding: 20px;
                border-radius: 22px;
            }

            .form-header h1 {
                font-size: 24px;
            }

            .form-header p {
                font-size: 13px;
            }

            .field {
                margin-bottom: 14px;
            }

            .row {
                margin: 10px 0 18px;
            }

            .image-card {
                aspect-ratio: 4 / 3;
                border-radius: 24px;
            }

            .brand {
                top: 18px;
                left: 18px;
            }

            .brand-icon {
                width: 42px;
                height: 42px;
                border-radius: 14px;
            }

            .brand strong {
                font-size: 16px;
            }

            .brand span {
                font-size: 11px;
            }
        }