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

        html, body {
            height: 100%;
            overflow: hidden;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #f5f7fb;
        }

        .main-container {
            display: flex;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
        }

        /* Left Panel - Login */
        .login-panel {
            flex: 1;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px;
            position: relative;
        }

        .login-wrapper {
            width: 100%;
            max-width: 420px;
            display: flex;
            flex-direction: column;
        }

        /* Logo */
        .brand-logo {
            text-align: center;
            margin-bottom: 28px;
        }

        .logo-box {
            width: 80px;
            height: 80px;
            /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
            padding: 14px;
        }

        .logo-box img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* filter: brightness(0) invert(1); */
        }

        .logo-text {
            font-size: 26px;
            font-weight: 800;
            color: #4facfe;
            letter-spacing: 3px;
        }

        /* Welcome */
        .welcome-section {
            text-align: center;
            margin-bottom: 24px;
        }

        .welcome-title {
            font-size: 26px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 6px;
        }

        .welcome-subtitle {
            font-size: 14px;
            color: #6b7280;
        }

        .welcome-subtitle a {
            color: #4facfe;
            text-decoration: none;
            font-weight: 500;
        }

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

        /* Form Field */
        .form-field {
            position: relative;
        }

        .form-field label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 8px;
        }

        .form-field label i {
            color: #4facfe;
            font-size: 14px;
            width: 16px;
        }

        .input-field {
            position: relative;
        }

        .input-field input,
        .select-field select {
            width: 100%;
            height: 48px;
            padding: 0 16px;
            font-size: 15px;
            font-family: inherit;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            outline: none;
            transition: all 0.3s ease;
            background: #ffffff;
            color: #1a1a2e;
        }

        .input-field input::placeholder {
            color: #9ca3af;
        }

        .input-field input:focus,
        .select-field select:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }

        /* Error State */
        .form-field.error .input-field input,
        .form-field.error .select-field select,
        .form-field.error .password-field input {
            border-color: #ef4444;
            background: #fef2f2;
        }

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

        .error-text {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 6px;
            font-size: 13px;
            color: #ef4444;
        }

        .error-text::before {
            content: '\f071';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 12px;
        }

        /* Password Field */
        .password-field {
            position: relative;
        }

        .password-field input {
            width: 100%;
            height: 48px;
            padding: 0 50px 0 16px;
            font-size: 15px;
            font-family: inherit;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            outline: none;
            transition: all 0.3s ease;
            background: #ffffff;
            color: #1a1a2e;
        }

        .password-field input::placeholder {
            color: #9ca3af;
        }

        .password-field input:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }

        .toggle-pass {
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: none;
            border: none;
            cursor: pointer;
            color: #9ca3af;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .toggle-pass:hover {
            color: #4facfe;
            background: rgba(79, 172, 254, 0.1);
        }

        .toggle-pass i {
            font-size: 16px;
        }

        /* Select Field */
        .select-field {
            position: relative;
        }

        .select-field select {
            appearance: none;
            cursor: pointer;
            padding-right: 45px;
        }

        .select-field > i {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 12px;
            pointer-events: none;
        }

        /* Remember & Forgot */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .remember-me input {
            width: 18px;
            height: 18px;
            accent-color: #4facfe;
            cursor: pointer;
        }

        .remember-me span {
            font-size: 14px;
            color: #374151;
        }

        .forgot-link {
            font-size: 14px;
            color: #4facfe;
            text-decoration: none;
            font-weight: 500;
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        /* Submit Button */
        .btn-submit {
            width: 100%;
            height: 50px;
            font-size: 16px;
            font-weight: 600;
            font-family: inherit;
            color: #ffffff;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
        }

        .btn-submit i {
            font-size: 16px;
        }

        /* Demo Credentials */
        .demo-section {
            margin-top: 20px;
            position: relative;
        }

        .demo-divider {
            text-align: center;
            font-size: 13px;
            color: #9ca3af;
            margin-bottom: 14px;
            position: relative;
        }

        .demo-divider::before,
        .demo-divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 35%;
            height: 1px;
            background: #e5e7eb;
        }

        .demo-divider::before { left: 0; }
        .demo-divider::after { right: 0; }

        .demo-box {
            background: #f8fafc;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            padding: 14px;
        }

        .demo-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .demo-icon {
            width: 30px;
            height: 30px;
            background: #4facfe;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 13px;
            font-weight: 600;
        }

        .demo-title {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a2e;
        }

        .demo-credentials {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .demo-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .demo-label {
            font-size: 13px;
            color: #6b7280;
        }

        .demo-value {
            font-size: 13px;
            font-family: monospace;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            padding: 4px 12px;
            border-radius: 6px;
            color: #1a1a2e;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .demo-value:hover {
            background: #4facfe;
            color: white;
            border-color: #4facfe;
        }

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

        .copyright {
            font-size: 12px;
            color: #9ca3af;
            margin-bottom: 2px;
        }

        .copyright a {
            color: #4facfe;
            text-decoration: none;
        }

        .developer {
            font-size: 11px;
            color: #9ca3af;
        }

        .developer a {
            color: #6b7280;
            text-decoration: none;
        }

        /* Right Panel - ERP Content */
        .erp-panel {
            width: 45%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px;
            overflow: hidden;
        }

        /* Background decorations */
        .bg-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .bg-circle-1 {
            width: 300px;
            height: 300px;
            top: -100px;
            right: -100px;
        }

        .bg-circle-2 {
            width: 400px;
            height: 400px;
            bottom: -150px;
            left: -150px;
        }

        .bg-circle-3 {
            width: 150px;
            height: 150px;
            top: 40%;
            right: 10%;
            background: rgba(255, 255, 255, 0.05);
        }

        .erp-content {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        /* ERP Icon */
        .erp-icon {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 28px;
            backdrop-filter: blur(10px);
        }

        .erp-icon i {
            font-size: 32px;
            color: white;
        }

        .erp-title {
            font-size: 36px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.2;
            margin-bottom: 16px;
        }

        .erp-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.5;
            margin-bottom: 36px;
        }

        /* Features */
        .features-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 36px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            background: rgba(255, 255, 255, 0.22);
            transform: translateX(5px);
        }

        .feature-icon {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-icon i {
            font-size: 20px;
            color: white;
        }

        .feature-text {
            text-align: left;
        }

        .feature-text h4 {
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 2px;
        }

        .feature-text p {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.75);
        }

        /* Stats */
        .stats-row {
            display: flex;
            gap: 16px;
        }

        .stat-box {
            flex: 1;
            padding: 18px 12px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            text-align: center;
        }

        .stat-value {
            font-size: 26px;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.75);
        }

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

        .btn-submit.loading span,
        .btn-submit.loading i {
            opacity: 0;
        }

        .btn-submit.loading::after {
            content: '';
            position: absolute;
            width: 22px;
            height: 22px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

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

        /* Responsive */
        @media (max-width: 1024px) {
            .main-container {
                flex-direction: column;
                overflow-y: auto;
            }

            .login-panel {
                padding: 30px;
            }

            .erp-panel {
                width: 100%;
                min-height: 100vh;
                padding: 40px 30px;
            }
        }

        @media (max-height: 850px) {
            .login-wrapper {
                transform: scale(0.92);
                transform-origin: center center;
            }
        }

        @media (max-height: 750px) {
            .login-wrapper {
                transform: scale(0.85);
            }
        }