/* ═══ CAP V2 COMPONENT OVERRIDES ═══ */
/* Applied via body.smh-v2 class on /design-system-v2 */
/* Uses CAP brand: navy #2A347A, red #AF2025, cream #FFEED4 */

/* ── Nav: CAP native, clean and readable ── */
body.smh-v2 .site-navbar {
  font-family: 'Be Vietnam Pro', sans-serif !important;
}
body.smh-v2 .site-navbar .navbar-inner a.inline-flex.items-center.px-2\.5 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2A347A !important;
  letter-spacing: 0.01em !important;
  transition: color 0.15s ease !important;
}
body.smh-v2 .site-navbar .navbar-inner a.inline-flex.items-center.px-2\.5:hover {
  color: #AF2025 !important;
}

/* ── ButtonLink: rectangular (not pill), modern CAP style ── */
body.smh-v2 .v2-section a[class*="rounded-full"] {
  border-radius: 8px !important;
}
body.smh-v2 .v2-section a.inline-flex[class] {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}

/* Primary: solid navy */
body.smh-v2 .v2-section a.bg-red {
  background: #2A347A !important;
  border: 2px solid #2A347A !important;
  color: white !important;
  box-shadow: none !important;
}
body.smh-v2 .v2-section a.bg-red:hover {
  background: #1E2766 !important;
  border-color: #1E2766 !important;
}

/* Outline: navy border */
body.smh-v2 .v2-section a.border-red {
  background: white !important;
  border: 2px solid #2A347A !important;
  color: #2A347A !important;
  box-shadow: none !important;
}
body.smh-v2 .v2-section a.border-red:hover {
  background: #2A347A !important;
  color: white !important;
}

/* Text link: navy */
body.smh-v2 .v2-section a.text-red[href] {
  color: #2A347A !important;
}
body.smh-v2 .v2-section a.text-red[href]:hover {
  color: #AF2025 !important;
}

/* ── Alert: clean card style with CAP colors ── */
body.smh-v2 .v2-section [role="alert"] {
  border-radius: 10px !important;
  border-left-width: 0 !important;
  border: 1px solid !important;
  padding: 16px 20px !important;
}

/* Info alert: navy */
body.smh-v2 .v2-section .bg-soft-blue[role="alert"] {
  background: #EEF0F8 !important;
  border-color: #2A347A !important;
  color: #2A347A !important;
}
body.smh-v2 .v2-section .bg-soft-blue[role="alert"] svg {
  color: #2A347A !important;
}

/* Success: teal */
body.smh-v2 .v2-section .bg-emerald-50[role="alert"] {
  background: #EFF8FA !important;
  border-color: #003851 !important;
  color: #003851 !important;
}
body.smh-v2 .v2-section .bg-emerald-50[role="alert"] svg {
  color: #003851 !important;
}

/* Warning: cream/warm */
body.smh-v2 .v2-section .bg-cream[role="alert"] {
  background: #FFF8EB !important;
  border-color: #D97706 !important;
  color: #92400E !important;
}
body.smh-v2 .v2-section .bg-cream[role="alert"] svg {
  color: #D97706 !important;
}

/* Error: red */
body.smh-v2 .v2-section .bg-red-tint[role="alert"] {
  background: #FEF2F2 !important;
  border-color: #AF2025 !important;
  color: #991B1B !important;
}
body.smh-v2 .v2-section .bg-red-tint[role="alert"] svg {
  color: #AF2025 !important;
}

/* ── Nav: CAP native red CTA, rectangular ── */
body.smh-v2 .site-navbar a.bg-red.inline-flex {
  border-radius: 8px !important;
  background: #AF2025 !important;
  color: white !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
body.smh-v2 .site-navbar a.bg-red.inline-flex:hover {
  background: #8B1A1E !important;
}
