:root{
  --footer-bg:#1f3b5b;
  --footer-text:#ffffff;
  --footer-pad:80px;
  --brand-red:#c7462d;
  --brand-red-dark:#a93a24;
}

/* Footer background only */
footer,
.footer,
#footer,
[role="contentinfo"] {
  background: var(--footer-bg) !important;
  color: var(--footer-text) !important;
  width: 100%;
}

footer *,
.footer *,
#footer *,
[role="contentinfo"] * {
  color: var(--footer-text) !important;
  background: transparent !important;
}

footer a:hover,
.footer a:hover,
#footer a:hover,
[role="contentinfo"] a:hover {
  text-decoration: underline;
}

/* Header / Navbar buttons */
header .btn,
.navbar .btn {
  background-color: var(--footer-bg) !important;
  border-color: var(--footer-bg) !important;
  color: var(--footer-text) !important;
}

header .btn:hover,
.navbar .btn:hover {
  background-color: #182d46 !important; 
  border-color: #182d46 !important;
  color: var(--footer-text) !important;
}

/* Form focus styles */
.form-control:focus,
.form-select:focus {
  border-color: var(--brand-red) !important;
  box-shadow: none !important; /* remove the blue shadow */
  outline: none !important;    /* remove browser outline */
}

/* D365 specifics */
#WebFormPanel {
  border: none !important;
}

td[class*="crmquickform-cell"] {
  border: none !important;
}

.alert-warning {
    background-color: transparent !important;
    border: none !important;
    color: #333 !important;
}



