/* Brand-colour overrides for SweetAlert2 icons.
   Loaded AFTER the vendor sweetalert2 stylesheet so these win the cascade without !important.
   Colours come from the brand tokens in main.css :root (CSS custom properties resolve at use-time,
   so file order doesn't matter for the var() references; only the override rules need to come last).
   Error stays the library's red — a meaningful "danger" signal we deliberately don't rebrand. */

/* Success tick — brand primary instead of the default lime green (#a5dc86). */
.swal2-icon.swal2-success {
    border-color: var(--km-primary);
    color: var(--km-primary);
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(0, 95, 131, 0.3); /* --km-primary (#005f83) @ 30% */
}
.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--km-primary);
}

/* Warning "!" — brand accent (gold) instead of the default yellow (#f8bb86). */
.swal2-icon.swal2-warning {
    border-color: rgba(215, 146, 72, 0.5); /* --km-accent (#d79248) @ 50% */
    color: var(--km-accent);
}

/* Info "i" and question "?" — brand primary instead of the default blue / grey (#87adbd). */
.swal2-icon.swal2-info,
.swal2-icon.swal2-question {
    border-color: rgba(0, 95, 131, 0.4); /* --km-primary (#005f83) @ 40% */
    color: var(--km-primary);
}
