/* Hide the "Powered by ERPNext/Frappe" footer link on web pages and login */
.footer-powered,
.web-footer .footer-powered {
	display: none !important;
}

/* The Mars logo is a wide wordmark: size it by height instead of Frappe's fixed 24px width */
.navbar .app-logo {
	width: auto;
	height: 24px;
}
.page-card-head .app-logo {
	width: auto;
	height: 40px;
}

/* Back button next to each page title (see js/nav_trail.js) */
.mars-back-btn {
	margin-right: 8px;
	padding: 2px 6px;
	flex-shrink: 0;
}

/* Charts and summary cards that open a filtered list (see js/clickable_analytics.js) */
.mars-clickable,
.mars-clickable-chart .frappe-chart rect,
.mars-clickable-chart .frappe-chart path {
	cursor: pointer;
}
.summary-item.mars-clickable:hover {
	background: var(--fg-hover-color);
	border-radius: var(--border-radius-md);
}

/* "Install Mars ERP" prompt (see js/pwa.js) */
.mars-install {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1050;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 32px);
	padding: 10px 10px 10px 14px;
	border-radius: 12px;
	background: #000;
	color: #fff;
	font-size: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.mars-install img {
	width: 28px;
	height: 28px;
	border-radius: 6px;
}
.mars-install-text {
	line-height: 1.35;
}
.mars-install-action {
	border: 0;
	border-radius: 8px;
	padding: 6px 12px;
	background: #fff;
	color: #000;
	font-weight: 600;
	white-space: nowrap;
}
.mars-install-close {
	border: 0;
	background: transparent;
	color: #bbb;
	font-size: 20px;
	line-height: 1;
	padding: 0 4px;
}
