/* AXURE Suite branding: footer + colour palette drawn from the St Damiano
   Mission Hospital crest (deep crest red / accent orange). Kept scoped to
   safe, well-supported theming hooks (Frappe's --primary variable, buttons,
   links, a decorative top accent bar) rather than touching status/indicator
   colours used across ERPNext/HRMS, so nothing else on the shared server
   or elsewhere in the Desk changes meaning. */

:root {
	--axure-red: #C81E1E;
	--axure-red-dark: #8E1515;
	--axure-orange: #F5923C;

	/* Frappe's supported theming hook: recolours primary buttons, links,
	   focus rings and selected-state highlights across the Desk. */
	--primary: var(--axure-red);
	--primary-color: var(--axure-red);
}

/* Thin decorative brand bar across the very top of every page. */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--axure-red) 0%, var(--axure-orange) 100%);
	z-index: 1100;
	pointer-events: none;
}

.btn-primary {
	background-color: var(--axure-red) !important;
	border-color: var(--axure-red) !important;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--axure-red-dark) !important;
	border-color: var(--axure-red-dark) !important;
}

::selection {
	background: var(--axure-orange);
	color: #fff;
}

.axure-branding-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	text-align: center;
	font-size: 11px;
	line-height: 1.6;
	padding: 2px 8px;
	background: rgba(255, 255, 255, 0.94);
	border-top: 2px solid var(--axure-red);
	color: #8d99a6;
	font-family: inherit;
}
.axure-branding-footer a {
	color: var(--axure-red);
	text-decoration: underline;
	font-weight: 600;
}
@media (prefers-color-scheme: dark) {
	.axure-branding-footer {
		background: rgba(26, 30, 34, 0.94);
		border-top-color: var(--axure-red);
		color: #a6b1b9;
	}
	.axure-branding-footer a {
		color: var(--axure-orange);
	}
}
