/* =============================================================================
   GoMedPay — Utility Overrides
   Split from gomedpay.css (CAB-012). Load order: tokens → components → utilities.
   Medical Theme Base section is kept at the end of this file — it must come
   after the utility overrides because both sections declare !important on
   .text-primary and .bg-primary (last declaration wins at equal specificity).
   ============================================================================= */

/* --- Utility overrides -------------------------------------- */
.text-primary {
  color: var(--gmp-navy) !important;
}
.text-primary-custom {
  color: var(--gmp-navy);
}
.text-teal {
  color: var(--gmp-teal);
}
.bg-primary {
  background-color: var(--gmp-navy) !important;
}
.border-primary {
  border-color: var(--gmp-navy) !important;
}
.bg-ice {
  background-color: var(--gmp-ice);
}

/* =============================================================================
   GoMedPay Medical Theme Base — originally injected by phase_medical.sh
   Must remain at the end of utilities.css to preserve cascade order from
   the original gomedpay.css (where this section appeared last).
   ============================================================================= */

body { font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif !important; }
.navbar { border-bottom: 1px solid #D1DCE8 !important; background: rgba(255,255,255,.97) !important; backdrop-filter: blur(10px); }
.navbar-brand { font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 22px !important; font-weight: 700; color: #0D3B7A !important; letter-spacing: -.02em; }
.nav-link { color: #4A5568 !important; font-size: 13px !important; font-weight: 500; }
.nav-link:hover { color: #1A56A3 !important; }
.btn-primary { background: #1A56A3 !important; border-color: #1A56A3 !important; }
.btn-primary:hover { background: #0D3B7A !important; border-color: #0D3B7A !important; }
.btn-outline-primary { color: #1A56A3 !important; border-color: #1A56A3 !important; }
.btn-outline-primary:hover { background: #1A56A3 !important; color: #fff !important; }
h1,h2,h3 { font-family: 'Cormorant Garamond', Georgia, serif; }
.text-primary { color: #1A56A3 !important; }
.bg-primary { background: #1A56A3 !important; }
a { color: #1A56A3; }
