/* Loyaltix website skin (hooks.web_include_css): login and other Frappe web pages in the brand charter. */
:root {
	--font-stack: var(--lxb-font-text);
	--primary: var(--lxb-blue);
	--primary-color: var(--lxb-blue);
	--btn-primary: var(--lxb-blue);
	--brand-color: var(--lxb-blue);
	--text-color: var(--lxb-ink);
	--heading-color: var(--lxb-ink);
}
body {
	font-family: var(--lxb-font-text);
	font-variation-settings: normal;
	color: var(--lxb-ink);
}
h1, h2, h3, .page-card-head h4, .login-content h4 {
	font-family: var(--lxb-font-title);
	font-weight: 500;
	letter-spacing: 0;
}
.btn.btn-primary,
.btn.btn-primary:active,
.btn.btn-primary:focus {
	background-color: var(--lxb-blue);
	border-color: var(--lxb-blue);
	color: #fff;
}
.btn.btn-primary:hover {
	background-color: var(--lxb-blue-700) !important;
	border-color: var(--lxb-blue-700) !important;
}
a { color: var(--lxb-blue); }

/* Sign-in: the charter cover (deep black to brand blue) behind a soft white card */
body[data-path="login"],
body[data-path="update-password"] {
	background: var(--lxb-cover) fixed;
	min-height: 100vh;
}
body[data-path="login"] .page-card,
body[data-path="update-password"] .page-card,
body[data-path="login"] .login-content.page-card {
	background: var(--lxb-white);
	border: 0;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(4, 8, 30, 0.35);
}
body[data-path="login"] .page-card-head h4 {
	color: var(--lxb-blue);
	font-size: 1.5rem;
}
body[data-path="login"] .web-footer,
body[data-path="login"] footer {
	display: none;
}
/* Frappe shows the first app's logo; the Loyaltix signature (symbol + name) replaces it unless Website / Navbar Settings set one */
img.app-logo[src^="/assets/frappe/"],
img.app-logo[src^="/assets/erpnext/"],
img.app-logo[src^="/assets/loyaltix/"] {
	content: url("/assets/loyaltix/images/brand/loyaltix-signature.svg");
	width: 168px;
	height: auto;
	max-height: none;
	border-radius: 0;
}
body[data-path="login"] section.for-login,
body[data-path="login"] section.for-forgot,
body[data-path="login"] section.for-login-with-email-link,
body[data-path="login"] section.for-email-login {
	min-height: calc(100vh - 120px);
	display: flex;
	align-items: center;
	justify-content: center;
}
body[data-path="login"] section[style*="display: none"] { display: none !important; }
/* Espresso buttons: the neutral "solid" button takes the brand blue (themed red / green buttons keep theirs) */
.es-button:not([data-theme]) {
	--bt-solid-bg: var(--lxb-blue);
	--bt-solid-bg-hover: var(--lxb-blue-700);
	--bt-solid-bg-active: var(--lxb-blue-900);
	--bt-solid-fg: #fff;
}
