/* Global brand color overrides */
:root {
  --bs-primary: #000776;
  --bs-primary-rgb: 0, 7, 118;
}

/* Bootstrap helpers */
.text-primary { color: #000776 !important; }
.bg-primary { background-color: #000776 !important; }
.border-primary { border-color: #000776 !important; }
.btn-primary,
.btn.btn-primary { background-color: #000776 !important; border-color: #000776 !important; color: #fff !important; }
.btn-outline-primary { color: #000776 !important; border-color: #000776 !important; }
.btn-outline-primary:hover,
.btn-outline-primary:focus { background-color: #000776 !important; border-color: #000776 !important; color: #fff !important; }
.badge.bg-primary { background-color: #000776 !important; }
.link-primary { color: #000776 !important; }

/* Pagination */
.pagination .page-link { color: #000776 !important; border-color: #00077622; }
.pagination .page-item.active .page-link,
.pagination .page-link:hover { background-color: #000776 !important; border-color: #000776 !important; color: #fff !important; }

/* Catch common inline blue gradients and solid blues; force brand */
[style*="#007bff"],
[style*="#1a237e"],
[style*="#1a1a8a"],
[style*="#222b6d"],
[style*="rgb(0, 123, 255)"],
[style*="rgba(0, 123, 255)"],
[style*="rgb(26, 35, 126)"],
[style*="rgb(34, 43, 109)"] {
  background-image: none !important;
  background-color: #000776 !important;
  border-color: #000776 !important;
  color: #fff !important;
}

/* Links default tint (avoid overriding navbars if they already style links) */
a:not(.nav-link):not(.btn):not(.dropdown-item) { color: #000776; }
a:not(.nav-link):not(.btn):hover { color: #000776; }


