/* =====================================================================
   PCI - Security UI Brand Overrides
   ---------------------------------------------------------------------
   Layered ON TOP OF the centralized framework Security CSS package
   (MeyerTechnologies.Security Web.Views assets: login.css / admin.css /
   passwordStrength.css). The package ships the shared RMG baseline; this
   file contains ONLY PCI's brand deltas and MUST be loaded AFTER the
   package CSS so these rules win.

   Brand delta: PCI primary accent #003D79 (package baseline is #102D6F).
   ===================================================================== */

/* Primary brand accent -- card border, primary button / checked control,
   and link color on the login / account cards. */
.account-card-box .card {
    border: 4px solid #003D79;
}

.account-card-box .btn-primary,
.account-card-box .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #003D79;
    border-color: #003D79;
}

.account-card-box a {
    color: #003D79;
}

/* Anchor-styled primary buttons (e.g. the 404 "Back to Dashboard" link) live inside
   .account-card-box, so the link-color rule above would paint their text navy on a navy
   button -- invisible until hover flips it. Force readable white text in every state.
   (.account-card-box .btn-primary = 2 classes, which beats .account-card-box a = 1 class
   + 1 element, so this wins without !important.) */
.account-card-box a.btn-primary,
.account-card-box .btn-primary,
.account-card-box a.btn-primary:hover,
.account-card-box a.btn-primary:focus,
.account-card-box .btn-primary:hover,
.account-card-box .btn-primary:focus,
.account-card-box .btn-primary:active {
    color: #fff;
}
