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

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #a5b4fc;
            --secondary: #0ea5e9;
            --accent: #f59e0b;
            --dark: #0f172a;
            --dark-light: #1e293b;
            --gray: #64748b;
            --gray-light: #94a3b8;
            --light: #f1f5f9;
            --white: #ffffff;
            --success: #10b981;
            --danger: #ef4444;
            --gradient: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
        }

        .login-page {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--light);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
        }

        /* Left Side - Branding */
        .login-branding {
            flex: 1;
            background: var(--dark);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 48px;
            position: relative;
            overflow: hidden;
        }

        .login-branding::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
            pointer-events: none;
        }

        .branding-content {
            position: relative;
            z-index: 1;
            max-width: 480px;
            text-align: center;
        }

        .branding-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 48px;
        }

        .branding-logo-icon {
            width: 56px;
            height: 56px;
            background: var(--gradient);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
        }

        .branding-logo-icon svg {
            width: 32px;
            height: 32px;
            color: white;
        }

        .branding-logo-text {
            font-size: 28px;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .branding-title {
            font-size: 36px;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 16px;
            line-height: 1.2;
        }

        .branding-title span {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .branding-description {
            font-size: 18px;
            color: var(--gray-light);
            margin-bottom: 48px;
            line-height: 1.7;
        }

        /* Feature List */
        .branding-features {
            display: flex;
            flex-direction: column;
            gap: 20px;
            text-align: left;
        }

        .branding-feature {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .branding-feature-icon {
            width: 48px;
            height: 48px;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .branding-feature-icon svg {
            width: 24px;
            height: 24px;
            color: var(--primary-light);
        }

        .branding-feature-text {
            color: var(--white);
            font-weight: 500;
        }

        .branding-feature-text span {
            display: block;
            font-size: 14px;
            color: var(--gray-light);
            font-weight: 400;
            margin-top: 2px;
        }

        /* Right Side - Form */
        .login-form-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 48px;
            background: var(--white);
            position: relative;
        }

        .login-form-wrapper {
            width: 100%;
            max-width: 420px;
        }

        .login-header {
            margin-bottom: 32px;
        }

        .login-header-mobile-logo {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 32px;
        }

        .login-header-mobile-logo .branding-logo-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
        }

        .login-header-mobile-logo .branding-logo-icon svg {
            width: 24px;
            height: 24px;
        }

        .login-header-mobile-logo span {
            font-size: 22px;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .login-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .login-subtitle {
            font-size: 16px;
            color: var(--gray);
        }

        .login-subtitle a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .login-subtitle a:hover {
            color: var(--primary-dark);
        }

        /* Form */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
        }

        .form-input-wrapper {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            padding-left: 48px;
            border: 2px solid var(--light);
            border-radius: 12px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s ease;
            background: var(--white);
            color: var(--dark);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .form-input::placeholder {
            color: var(--gray-light);
        }

        .form-input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-light);
            transition: color 0.3s ease;
        }

        .form-input:focus + .form-input-icon,
        .form-input:not(:placeholder-shown) + .form-input-icon {
            color: var(--primary);
        }

        .form-input-icon svg {
            width: 20px;
            height: 20px;
        }

        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray-light);
            cursor: pointer;
            padding: 4px;
            transition: color 0.3s ease;
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        .password-toggle svg {
            width: 20px;
            height: 20px;
        }

        /* Form Options Row */
        .form-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: -8px;
        }

        .form-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .form-checkbox input {
            display: none;
        }

        .form-checkbox-custom {
            width: 20px;
            height: 20px;
            border: 2px solid var(--light);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .form-checkbox input:checked + .form-checkbox-custom {
            background: var(--gradient);
            border-color: var(--primary);
        }

        .form-checkbox-custom svg {
            width: 12px;
            height: 12px;
            color: white;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.2s ease;
        }

        .form-checkbox input:checked + .form-checkbox-custom svg {
            opacity: 1;
            transform: scale(1);
        }

        .form-checkbox-label {
            font-size: 14px;
            color: var(--gray);
            font-weight: 500;
        }

        .form-forgot-link {
            font-size: 14px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .form-forgot-link:hover {
            color: var(--primary-dark);
        }

        /* Submit Button */
        .btn-submit {
            width: 100%;
            padding: 16px 24px;
            background: var(--gradient);
            color: var(--white);
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .btn-submit svg {
            width: 20px;
            height: 20px;
        }

        /* Divider */
        .form-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 8px 0;
        }

        .form-divider-line {
            flex: 1;
            height: 1px;
            background: var(--light);
        }

        .form-divider-text {
            font-size: 13px;
            color: var(--gray-light);
            font-weight: 500;
        }

        /* Social Buttons */
        .social-buttons {
            display: flex;
            gap: 12px;
        }

        .btn-social {
            flex: 1;
            padding: 14px 20px;
            background: var(--white);
            border: 2px solid var(--light);
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            font-family: inherit;
            color: var(--dark);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-social:hover {
            border-color: var(--primary-light);
            background: rgba(99, 102, 241, 0.02);
        }

        .btn-social svg {
            width: 20px;
            height: 20px;
        }

        /* Footer */
        .login-footer {
            margin-top: 32px;
            text-align: center;
        }

        .login-footer p {
            font-size: 13px;
            color: var(--gray-light);
        }

        .login-footer a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .login-footer a:hover {
            color: var(--primary);
        }

        /* Error State */
        .form-input.error {
            border-color: var(--danger);
        }

        .form-input.error:focus {
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }

        .form-error {
            font-size: 13px;
            color: var(--danger);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
        }

        .form-error svg {
            width: 14px;
            height: 14px;
        }

        /* Loading State */
        .btn-submit.loading {
            pointer-events: none;
            opacity: 0.8;
        }

        .btn-submit.loading .btn-text {
            opacity: 0;
        }

        .btn-submit .spinner {
            position: absolute;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        .btn-submit.loading .spinner {
            display: block;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .login-branding {
                display: none;
            }

            .login-form-container {
                padding: 32px 24px;
            }

            .login-header-mobile-logo {
                display: flex;
            }
        }

        @media (max-width: 480px) {
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .social-buttons {
                flex-direction: column;
            }

            .login-title {
                font-size: 24px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-form-wrapper {
            animation: fadeInUp 0.6s ease forwards;
        }

        .branding-content {
            animation: fadeInUp 0.6s ease forwards;
            animation-delay: 0.2s;
            opacity: 0;
        }
