        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
         :root {
            --cream: #F7F5F0;
            --white: #FFFFFF;
            --ink: #1A1A1A;
            --ink-soft: #5A5A5A;
            --ink-faint: #A0A0A0;
            --accent: #2563EB;
            --accent-light: #EEF3FD;
            --accent-hover: #1D4ED8;
            --border: #E8E4DC;
            --border-focus: #2563EB;
            --success: #059669;
            --error: #DC2626;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06);
        }
        
        html,
        body {
            height: 100%;
            font-family: 'DM Sans', sans-serif;
            background: var(--cream);
            color: var(--ink);
            -webkit-font-smoothing: antialiased;
        }
        /* ─── Layout ─── */
        
        .layout {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
        /* ─── Left Panel ─── */
        
        .panel-left {
            background: var(--ink);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 48px;
            overflow: hidden;
        }
        
        .panel-left::before {
            content: '';
            position: absolute;
            top: -120px;
            right: -120px;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
            pointer-events: none;
        }
        
        .panel-left::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -80px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }
        
        .brand {
            position: relative;
            z-index: 1;
        }
        
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .brand-icon {
            width: 42px;
            height: 42px;
            background: var(--accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .brand-icon svg {
            width: 22px;
            height: 22px;
        }
        
        .brand-name {
            font-size: 22px;
            font-weight: 300;
            color: #FFFFFF;
            letter-spacing: -0.3px;
        }
        
        .brand-name span {
            color: rgba(255, 255, 255, 0.45);
            font-style: italic;
        }
        
        .panel-content {
            position: relative;
            z-index: 1;
        }
        
        .panel-headline {
            font-size: 48px;
            font-weight: 300;
            color: #FFFFFF;
            line-height: 1.15;
            letter-spacing: -1px;
            margin-bottom: 20px;
        }
        
        .panel-headline em {
            font-style: italic;
            color: rgba(255, 255, 255, 0.5);
        }
        
        .panel-sub {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.45);
            line-height: 1.6;
            max-width: 340px;
        }
        
        .stats-row {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 32px;
        }
        
        .stat-item {}
        
        .stat-value {
            font-size: 32px;
            font-weight: 300;
            color: #FFFFFF;
            letter-spacing: -1px;
            display: block;
        }
        
        .stat-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.35);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-top: 2px;
            display: block;
        }
        /* ─── Right Panel ─── */
        
        .panel-right {
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 48px;
        }
        
        .form-container {
            width: 100%;
            max-width: 380px;
            animation: fadeUp 0.5s ease both;
        }
        
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .form-header {
            margin-bottom: 40px;
        }
        
        .form-title {
            font-size: 30px;
            font-weight: 300;
            color: var(--ink);
            letter-spacing: -0.5px;
            margin-bottom: 6px;
        }
        
        .form-subtitle {
            font-size: 14px;
            color: var(--ink-faint);
        }
        /* ─── Form ─── */
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: var(--ink-soft);
            margin-bottom: 7px;
            letter-spacing: 0.1px;
        }
        
        .input-wrap {
            position: relative;
        }
        
        .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ink-faint);
            pointer-events: none;
            transition: color 0.2s;
        }
        
        input[type="email"],
        input[type="password"],
        input[type="text"],
        input[type="number"],
        input[type="date"],
        select,
        textarea {
            width: 100%;
            padding: 12px 14px 12px 42px;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            color: var(--ink);
            background: var(--cream);
            border: 1.5px solid var(--border);
            border-radius: 10px;
            outline: none;
            transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
            -webkit-appearance: none;
        }
        
        input:focus,
        select:focus,
        textarea:focus {
            border-color: var(--border-focus);
            background: var(--white);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
        }
        
        input:focus~.input-icon,
        .input-wrap:focus-within .input-icon {
            color: var(--accent);
        }
        
        .toggle-pass {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: var(--ink-faint);
            padding: 0;
            display: flex;
            align-items: center;
            transition: color 0.2s;
        }
        
        .toggle-pass:hover {
            color: var(--ink-soft);
        }
        
        .form-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
            margin-top: 4px;
        }
        
        .remember {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--ink-soft);
            cursor: pointer;
        }
        
        .remember input[type="checkbox"] {
            width: 16px;
            height: 16px;
            padding: 0;
            accent-color: var(--accent);
            cursor: pointer;
        }
        
        .forgot-link {
            font-size: 13px;
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .forgot-link:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        
        .btn-primary {
            width: 100%;
            padding: 13px;
            background: var(--accent);
            color: #FFF;
            border: none;
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            letter-spacing: 0.1px;
        }
        
        .btn-primary:hover {
            background: var(--accent-hover);
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
            transform: translateY(-1px);
        }
        
        .btn-primary:active {
            transform: translateY(0);
        }
        
        .form-footer {
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            text-align: center;
        }
        
        .form-footer p {
            font-size: 12px;
            color: var(--ink-faint);
            line-height: 1.6;
        }
        /* ─── Error State ─── */
        
        .error-msg {
            display: none;
            background: #FEF2F2;
            border: 1px solid #FECACA;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 13px;
            color: var(--error);
            margin-bottom: 20px;
            align-items: center;
            gap: 8px;
        }
        
        .error-msg.show {
            display: flex;
        }
        /* ─── Responsive ─── */
        
        @media (max-width: 768px) {
            .layout {
                grid-template-columns: 1fr;
            }
            .panel-left {
                display: none;
            }
            .panel-right {
                padding: 32px 24px;
            }
        }