/*!
 * D606c Color Contrast Hotfix v2 - WEVAL Consulting
 * Updated: 2026-05-03 - Doctrine 606c v2
 * Higher specificity for stubborn !important overrides
 */

/* === .apptag.self === */
html body .apptag.self,
html body span.apptag.self,
.apptag.self {
  color: #4a3eb8 !important;
  background: #f3f2ff !important;
  font-weight: 600 !important;
}

/* === .btn-p (button primary) - max specificity + force white text === */
html body a.btn-p,
html body .btn-p,
html body a.btn-p[href*="contact"],
a.btn-p[href$="/#contact"],
.btn-p[href$="/#contact"],
a.btn-p {
  color: #ffffff !important;
  background-color: #312e81 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

html body a.btn-p:hover,
html body .btn-p:hover {
  color: #ffffff !important;
  background-color: #1e1b4b !important;
}

/* === Card hover divs - force white text on violet === */
html body div[onmouseout*="this.style.transform"][data-wcg-fixed="1"] > div,
div[onmouseout*="this.style.transform"][data-wcg-fixed="1"] > div,
div[onmouseout*="this.style.transform"] > div[style*="background"],
div[style*="background:#5b4cdb"],
div[style*="background: #5b4cdb"],
div[style*="background:#4338ca"],
div[style*="background: #4338ca"] {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}

/* === button onclick ev2send === */
html body button[onclick*="ev2send"],
button[onclick="ev2send()"],
button[onclick*="ev2send"] {
  background-color: #be185d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* === .disclaimer === D606 v3 force max contrast (override inline style) */
html body .disclaimer[style],
html body div.disclaimer[style],
html body div.disclaimer,
html body .disclaimer,
html body p.disclaimer,
.disclaimer {
  color: #1a1d23 !important;
  font-size: 12px !important;
}

/* === Generic safety === */
.text-muted, .text-secondary {
  color: #4b5563 !important;
}


/* === D607 v4 - Force white text in colored badges/buttons === */
html body .btn-p,
html body a.btn-p,
html body a.btn-p[href],
html body a[class*=btn-p],
html body div[onmouseout][data-wcg-fixed] > div,
html body div[onmouseout][data-wcg-fixed] > div *,
html body div[style*=background] > [class*=badge],
html body [class*=badge] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Force btn-p with explicit dark text override */
html body a.btn-p[style*=color],
html body a.btn-p[data-wcg-fixed][style*=color] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Disclaimer max specificity D607 v4 */
html body div.disclaimer[style*=color],
html body p.disclaimer[style*=color],
html body span.disclaimer[style*=color],
html body .disclaimer[style*=rgb] {
  color: #1a1d23 !important;
  -webkit-text-fill-color: #1a1d23 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
