
        :root {
            --brand-primary: #0CC0BC;
            --brand-secondary: #076A70;
            --brand-light: #E6FFFE;
            --brand-dark: #054C52;
            --success: #00B894;
            --success-light: #E3F9F4;
            --warning: #FDCB6E;
            --warning-light: #FEF7E6;
            --error: #E74C3C;
            --error-light: #FBEAEA;
            --info: #3498DB;
            --info-light: #EBF5FE;
            --bg-primary: #F8FAFC;
            --bg-secondary: #FFFFFF;
            --bg-tertiary: #F1F5F9;
            --text-primary: #2D3748;
            --text-secondary: #4A5568;
            --text-muted: #718096;
            --text-inverse: #FFFFFF;
            --border-color: #E2E8F0;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
            --border-radius-lg: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, var(--brand-light) 0%, var(--bg-primary) 50%, var(--brand-light) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            overflow-x: hidden;
            position: relative;
        }

        /* Animated Background Elements */
        .bg-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .floating-shape {
            position: absolute;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        .floating-shape:nth-child(1) {
            top: 10%;
            left: 10%;
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            border-radius: 50%;
            animation-delay: 0s;
        }

        .floating-shape:nth-child(2) {
            top: 20%;
            right: 15%;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--success), var(--brand-primary));
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation-delay: 2s;
        }

        .floating-shape:nth-child(3) {
            bottom: 20%;
            left: 20%;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--brand-secondary), var(--brand-dark));
            border-radius: 25%;
            animation-delay: 4s;
        }

        .floating-shape:nth-child(4) {
            bottom: 30%;
            right: 10%;
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--brand-primary), var(--success));
            border-radius: 50% 10% 50% 10%;
            animation-delay: 1s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }

        /* Main Container */
        .login-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            width: 100%;
            max-width: 1200px;
            min-height: 600px;
            background: var(--bg-secondary);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-xl);
            overflow: hidden;
            position: relative;
            z-index: 1;
            margin: 20px;
        }

        /* Left Side - Image Section */
        .image-section {
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 50%, var(--brand-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .image-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        /* Updated Image Placeholder - Removed card background */
        .image-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            margin-top: -80px; /* Move the animation higher */
        }

        /* Lottie Animation Styling - No background card */
        .lottie-animation {
            width: 320px !important;
            height: 320px !important;
            filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) 
                    drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
        }

        /* Fallback icon styling if Lottie doesn't load */
        .image-placeholder i {
            font-size: 80px;
            color: rgba(255, 255, 255, 0.8);
            animation: pulse 3s ease-in-out infinite;
            display: none; /* Hide by default, show only if Lottie fails */
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 0.8;
                transform: scale(1);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
        }

        .brand-info {
            position: absolute;
            bottom: 40px;
            left: 40px;
            color: var(--text-inverse);
            z-index: 2;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .brand-logo i {
            font-size: 32px;
            color: var(--text-inverse);
        }

        .brand-name {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-inverse);
        }

        .brand-tagline {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 8px;
        }

        .brand-description {
            font-size: 14px;
            opacity: 0.8;
            max-width: 300px;
            line-height: 1.5;
        }

        /* Right Side - Login Form */
        .form-section {
            padding: 60px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--bg-secondary);
            position: relative;
        }

        .form-header {
            margin-bottom: 40px;
            text-align: center;
        }

        .form-title {
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
        }

        .form-subtitle {
            color: var(--text-muted);
            font-size: 16px;
            font-weight: 500;
        }

        .login-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 14px;
            transition: var(--transition);
            transform: translateY(0);
        }

        /* Enhanced Label Animation - Moves UP when focused or has content */
        .form-group.focused .form-label,
        .form-group.has-content .form-label {
            color: var(--brand-primary);
            transform: translateY(-8px);
            font-size: 12px;
            font-weight: 700;
        }

        .form-input {
            width: 100%;
            padding: 16px 20px;
            padding-left: 50px;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            font-size: 16px;
            color: var(--text-primary);
            background: var(--bg-secondary);
            transition: var(--transition);
            font-family: inherit;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 4px var(--brand-light);
            transform: translateY(-2px);
        }

        .form-input:focus + .input-icon {
            color: var(--brand-primary);
            transform: translateY(-50%) scale(1.1) translateY(-3px);
        }

        .input-icon {
            position: absolute;
            left: 18px;
            top: calc(50% + 16px);
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 18px;
            transition: var(--transition);
            pointer-events: none;
        }

        /* Enhanced Icon Animation - Moves UP when input is focused or has content */
        .form-group.focused .input-icon,
        .form-group.has-content .input-icon {
            color: var(--brand-primary);
            transform: translateY(-50%) scale(1.1) translateY(-8px);
        }

        .password-toggle {
            position: absolute;
            right: 18px;
            top: calc(50% + 16px);
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 18px;
            padding: 4px;
            border-radius: 4px;
            transition: var(--transition);
        }

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

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .remember-checkbox {
            width: 18px;
            height: 18px;
            border: 2px solid var(--border-color);
            border-radius: 4px;
            position: relative;
            cursor: pointer;
            transition: var(--transition);
        }

        .remember-checkbox input {
            opacity: 0;
            position: absolute;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        .remember-checkbox input:checked + .checkmark {
            background: var(--brand-primary);
            border-color: var(--brand-primary);
        }

        .remember-checkbox input:checked + .checkmark::after {
            display: block;
        }

        .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: transparent;
            border-radius: 4px;
            transition: var(--transition);
        }

        .checkmark::after {
            content: "";
            position: absolute;
            display: none;
            left: 5px;
            top: 1px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .remember-label {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .forgot-password {
            color: var(--brand-primary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
        }

        .forgot-password:hover {
            color: var(--brand-secondary);
            text-decoration: underline;
        }

        .login-button {
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: var(--text-inverse);
            border: none;
            padding: 18px 24px;
            border-radius: var(--border-radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            margin-top: 15px;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .login-button:active {
            transform: translateY(0);
        }

        .login-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .login-button .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid var(--text-inverse);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .login-button.loading .spinner {
            display: block;
        }

        .login-button.loading .button-text {
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 16px 20px;
            border-radius: var(--border-radius);
            color: var(--text-inverse);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            transform: translateX(400px);
            transition: var(--transition);
            z-index: 1000;
            max-width: 400px;
            box-shadow: var(--shadow-lg);
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast.success {
            background: linear-gradient(135deg, var(--success), #00a085);
        }

        .toast.error {
            background: linear-gradient(135deg, var(--error), #c0392b);
        }

        .toast.warning {
            background: linear-gradient(135deg, var(--warning), #e1b844);
            color: var(--text-primary);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .login-container {
                grid-template-columns: 1fr;
                margin: 10px;
                min-height: auto;
            }

            .image-section {
                display: none;
            }

            .form-section {
                padding: 40px 30px;
            }

            .form-title {
                font-size: 28px;
            }

            .image-placeholder {
                margin-top: -60px;
            }

            .lottie-animation {
                width: 250px !important;
                height: 250px !important;
            }

            .brand-info {
                bottom: 20px;
                left: 20px;
            }

            .brand-name {
                font-size: 20px;
            }

            .brand-tagline {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .form-section {
                padding: 30px 20px;
            }

            .form-input {
                padding: 14px 18px;
                padding-left: 45px;
            }

            .login-button {
                padding: 16px 20px;
            }

            .floating-shape {
                display: none;
            }

            .image-placeholder {
                margin-top: -40px;
            }

            .lottie-animation {
                width: 200px !important;
                height: 200px !important;
            }
        }

        /* Loading Animation */
        .form-section.loading {
            pointer-events: none;
        }

        .form-section.loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(2px);
            z-index: 10;
        }

        /* Smooth Page Transitions */
        .page-transition {
            opacity: 0;
            transform: translateY(20px);
            animation: pageEnter 0.6s ease-out forwards;
        }

        @keyframes pageEnter {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
