/* =====================================================================
   Global button theme override.
   Standardises every primary / call-to-action button across the
   consumer site to the brand banner blue (#0a9fe6), with a darker
   shade (#0888c6) on hover.

   Loaded LAST in _Layout.cshtml so it wins over the per-page blues
   (#2453ff, #2563eb, #2c5cff, gradients, etc.) inherited from the
   institutional theme. !important is used because several of those
   rules are higher-specificity or use gradients.

   Intentionally NOT recoloured:
     - semantic buttons: danger / delete, success / approve, warning,
       secondary / cancel, outline, disabled, "stop".
     - .cw-btn-dark (hero CTA) — it sits ON the blue banner and must
       stay dark for contrast.
   To revert: delete this file and its <link> in _Layout.cshtml.
   ===================================================================== */

:root {
    --primary: #0a9fe6 !important;
    --primary-dark: #0888c6 !important;
    --primary-hover: #0888c6 !important;
}

/* ---- Filled primary / action buttons: base ---- */
.btn-primary,
.btn-primary-custom,
.primary-btn,
.primary-cta-btn,
.system-btn,
.validate-address-btn,
.ml-add-btn,
.save-payment-btn,
.export-btn,
.save-btn,
.save-address-btn,
.coupon-input-wrapper button,
.quick-card button,
.license-expired-btn,
.add-cart-btn,
.cart-btn,
.checkout-btn,
.place-order-btn,
.op-btn,
.send-btn,
.btn-home,
.wv-order-btn,
.wv-nav-order,
.wv-login-btn,
.um-btn-primary,
.org-btn-primary,
.btn-location-save,
.cn-btn-primary,
.prog-btn-primary,
.wv-btn-primary,
.cwl-btn,
.btn-start,
.btn-submit,
.forgot-btn:not([disabled]),
.wv-confirm-btn-primary {
    background: #0a9fe6 !important;
    background-image: none !important;
    border-color: #0a9fe6 !important;
    color: #fff !important;
}

/* ---- Filled primary / action buttons: hover / focus ---- */
.btn-primary:hover,
.btn-primary-custom:hover,
.primary-btn:hover,
.primary-cta-btn:hover,
.system-btn:hover,
.validate-address-btn:hover,
.ml-add-btn:hover,
.save-payment-btn:hover,
.export-btn:hover,
.save-btn:hover,
.save-address-btn:hover,
.coupon-input-wrapper button:hover,
.quick-card button:hover,
.license-expired-btn:hover,
.add-cart-btn:hover,
.cart-btn:hover,
.checkout-btn:hover,
.place-order-btn:hover,
.op-btn:hover,
.send-btn:hover,
.btn-home:hover,
.wv-order-btn:hover,
.wv-nav-order:hover,
.wv-login-btn:hover,
.um-btn-primary:hover,
.org-btn-primary:hover,
.btn-location-save:hover,
.cn-btn-primary:hover,
.prog-btn-primary:hover,
.wv-btn-primary:hover,
.cwl-btn:hover,
.btn-start:hover,
.btn-submit:hover,
.forgot-btn:not([disabled]):hover,
.wv-confirm-btn-primary:hover {
    background: #0888c6 !important;
    background-image: none !important;
    border-color: #0888c6 !important;
    color: #fff !important;
}

/* ---- Keep destructive confirm dialog red (guard against the rule above) ---- */
.wv-confirm.is-danger .wv-confirm-btn-primary {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
}
.wv-confirm.is-danger .wv-confirm-btn-primary:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
}
