<?php
			$optionsArray = array(
	'captcha' => array(
		'captcha' => false 
	),
	'fields' => array(
		'gridFields' => array( 
			 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			 
		) 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'above-grid' => array( 
					'login_message' 
				),
				'top' => array( 
					'login-logo',
					'login_welcome' 
				),
				'grid' => array( 
					'remember_password',
					'login_remind',
					'username_label',
					'username',
					'password_label',
					'password' 
				),
				'footer' => array( 
					'login_button' 
				),
				'superbottom' => array( 
					 
				) 
			),
			'formXtTags' => array(
				'footer' => array( 
					'signin_button' 
				),
				'superbottom' => array( 
					 
				) 
			),
			'itemForms' => array(
				'login_message' => 'above-grid',
				'login-logo' => 'top',
				'login_welcome' => 'top',
				'remember_password' => 'grid',
				'login_remind' => 'grid',
				'username_label' => 'grid',
				'username' => 'grid',
				'password_label' => 'grid',
				'password' => 'grid',
				'login_button' => 'footer' 
			),
			'itemLocations' => array(
				 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'login_message' => array( 
				'login_message' 
			),
			'login-logo' => array( 
				'login-logo' 
			),
			'login_welcome' => array( 
				'login_welcome' 
			),
			'username_label' => array( 
				'username_label' 
			),
			'username' => array( 
				'username' 
			),
			'password_label' => array( 
				'password_label' 
			),
			'password' => array( 
				'password' 
			),
			'remember_password' => array( 
				'remember_password' 
			),
			'login_button' => array( 
				'login_button' 
			),
			'login_remind' => array( 
				'login_remind' 
			) 
		),
		'cellMaps' => array(
			 
		) 
	),
	'page' => array(
		'verticalBar' => false,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => false,
		'customButtons' => array( 
			 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	) 
);
			$pageArray = array(
	'id' => 'login',
	'type' => 'login',
	'layoutId' => 'pretty1',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'above-grid' => array(
			'modelId' => 'login-above-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'login_message' 
					),
					'padding' => array(
						'padding' => '0px' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 0 28px !important;

    min-height: 0 !important;
    box-shadow: none !important;
}' 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'plogin-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c2' 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c3',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'login-logo' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0 !important;

    margin: 0 !important;
    padding: 28px 28px 5px 28px !important;

    box-shadow: none !important;
}' 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						 
					) 
				),
				'c3' => array(
					'model' => 'c3',
					'items' => array( 
						'login_welcome' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 5px 28px 18px 28px !important;

    box-shadow: none !important;
}' 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'plogin-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c2',
							'colspan' => 2 
						) 
					),
					'section' => '' 
				),
				array(
					'cells' => array( 
						array(
							'cell' => 'c4' 
						),
						array(
							'cell' => 'c6' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c4' => array(
					'model' => 'c4',
					'items' => array( 
						'remember_password' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 12px 0 18px 28px !important;

    box-shadow: none !important;
}' 
				),
				'c6' => array(
					'model' => 'c6',
					'items' => array( 
						'login_remind' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 12px 28px 18px 0 !important;

    text-align: right !important;

    box-shadow: none !important;
}' 
				),
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'username_label',
						'username' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 18px 28px 8px 28px !important;

    box-shadow: none !important;
}' 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'password_label',
						'password' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;

    margin: -10px 0 0 0 !important;
    padding: 8px 28px 8px 28px !important;

    box-shadow: none !important;
}' 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'footer' => array(
			'modelId' => 'plogin-footer',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c2',
							'colspan' => 1 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'login_button' 
					),
					'customCSS' => ':host {
    width: 100% !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 0 18px 18px !important;

    margin: -10px 0 0 0 !important;
    padding: 6px 28px 28px 28px !important;

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.20) !important;
}' 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'superbottom' => array(
			'modelId' => 'plogin-superbottom',
			'grid' => array( 
				 
			),
			'cells' => array(
				 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		) 
	),
	'items' => array(
		'login_message' => array(
			'type' => 'login_message',
			'padding' => array(
				'padding' => '0px' 
			),
			'customCSS' => ':host {
    display: block !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    min-height: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}' 
		),
		'login-logo' => array(
			'type' => 'login-logo',
			'font-size' => '24px',
			'bold' => true 
		),
		'login_welcome' => array(
			'type' => 'login_welcome',
			'label' => array(
				'type' => 0,
				'text' => 'One login. Every business workspace.' 
			),
			'font-size' => '14px',
			'color' => '#656565' 
		),
		'username_label' => array(
			'type' => 'username_label',
			'label' => array(
				'type' => 0,
				'text' => 'Email address' 
			) 
		),
		'username' => array(
			'type' => 'username' 
		),
		'password_label' => array(
			'type' => 'password_label' 
		),
		'password' => array(
			'type' => 'password' 
		),
		'remember_password' => array(
			'type' => 'remember_password' 
		),
		'login_button' => array(
			'type' => 'login_button',
			'icon' => array(
				'style' => 0 
			),
			'customCSS' => ':host {
    display: block !important;
    width: 100% !important;
}

:host .btn,
:host button,
:host input {
    display: block !important;

    width: 100% !important;
    min-height: 47px !important;

    margin: 0 !important;
    padding: 11px 18px !important;

    border: 0 !important;
    border-radius: 9px !important;

    font-weight: 700 !important;
    text-align: center !important;
}' 
		),
		'login_remind' => array(
			'type' => 'login_remind',
			'icon' => array(
				'style' => 0 
			) 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image',
		'shadow' => true,
		'fullSize' => false,
		'image' => array(
			'source' => 0,
			'image' => 'sun-and-clouds-publicdomainvectors.org.png' 
		),
		'customCSS' => ':host img {
    display: block !important;

    width: 100% !important;
    max-width: 350px !important;
    height: auto !important;

    margin: 0 auto !important;

    border-radius: 12px !important;

    box-shadow:
        0 14px 32px rgba(15, 35, 69, 0.18) !important;
}' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'pageCSS' => '/* =========================================
   BUILDLEDGER.AI LOGIN PAGE
   ========================================= */

body.function-login {
    margin: 0 !important;
    min-height: 100vh !important;
    background:
        radial-gradient(
            circle at top right,
            rgba(59, 130, 246, 0.16),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0f2345 0%,
            #173b68 52%,
            #215d91 100%
        ) !important;
}

/* Center the complete login area */
body.function-login .r-page,
body.function-login .r-body,
body.function-login .r-content,
body.function-login .r-content-col {
    min-height: 100vh;
}

/* Main login form/card */
body.function-login .r-small-page,
body.function-login .r-form,
body.function-login form {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Use one clean white card */
body.function-login .r-form {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px !important;
    padding: 34px 36px !important;
    box-shadow:
        0 24px 70px rgba(2, 12, 27, 0.30),
        0 3px 12px rgba(2, 12, 27, 0.10);
}

/* Remove individual row/card appearance */
body.function-login .r-form .r-integrated-field,
body.function-login .r-form .r-control,
body.function-login .r-form .r-field,
body.function-login .r-form td,
body.function-login .r-form tr {
    background: transparent !important;
    border: 0 !important;
}

/* Title */
body.function-login [data-itemid="login-logo"],
body.function-login .r-form h1,
body.function-login .r-form .r-login-title {
    margin: 0 0 4px 0 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    letter-spacing: -0.6px;
    color: #102a4c !important;
}

/* Normal labels */
body.function-login label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* Inputs */
body.function-login input.form-control,
body.function-login input[type="text"],
body.function-login input[type="email"],
body.function-login input[type="password"] {
    width: 100% !important;
    min-height: 48px !important;
    padding: 11px 13px !important;
    font-size: 15px !important;
    color: #172033 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

/* Input focus */
body.function-login input.form-control:focus,
body.function-login input[type="text"]:focus,
body.function-login input[type="email"]:focus,
body.function-login input[type="password"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

/* Add vertical spacing around fields */
body.function-login .r-integrated-field,
body.function-login .form-group {
    margin-bottom: 18px !important;
}

/* Remember me */
body.function-login input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -2px;
}

/* Sign-in button */
body.function-login .btn-primary,
body.function-login input[type="submit"] {
    width: 100% !important;
    min-height: 48px !important;
    margin-top: 8px !important;
    padding: 11px 18px !important;
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #1d4ed8,
        #2563eb
    ) !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

body.function-login .btn-primary:hover,
body.function-login input[type="submit"]:hover {
    background: linear-gradient(
        135deg,
        #1e40af,
        #1d4ed8
    ) !important;
    transform: translateY(-1px);
}

/* Forgot-password link: make it a link, not a white button */
body.function-login a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-size: 13px;
}

body.function-login a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* Login messages */
body.function-login .alert,
body.function-login [data-itemid="login_message"] {
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 13px !important;
}

/* Mobile */
@media (max-width: 600px) {
    body.function-login {
        padding: 18px !important;
    }

    body.function-login .r-form {
        max-width: none !important;
        padding: 28px 22px !important;
        border-radius: 16px !important;
    }

    body.function-login [data-itemid="login-logo"],
    body.function-login .r-form h1,
    body.function-login .r-form .r-login-title {
        font-size: 27px !important;
    }
}

/* Remove PHPRunner spacing between login rows */
body.function-login table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

body.function-login tr,
body.function-login td {
    border-spacing: 0 !important;
}

body.function-login .r-grid,
body.function-login .r-gridrow {
    gap: 0 !important;
    row-gap: 0 !important;
}

/* Keep login inputs clean */
body.function-login input.form-control,
body.function-login input[type="text"],
body.function-login input[type="email"],
body.function-login input[type="password"] {
    width: 100% !important;
    min-height: 46px !important;

    padding: 10px 12px !important;

    color: #172033 !important;
    background: #ffffff !important;

    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;

    box-shadow: none !important;
}

body.function-login input.form-control:focus,
body.function-login input[type="text"]:focus,
body.function-login input[type="email"]:focus,
body.function-login input[type="password"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13) !important;
    outline: none !important;
}
/* Move the login controls slightly toward the image panel */
body.function-login .r-small-page,
body.function-login .r-form {
    transform: translateX(35px);
}

@media (max-width: 900px) {
    body.function-login .r-small-page,
    body.function-login .r-form {
        transform: none;
    }
}',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>