/* Benefit Boost Services — brand accents over the Elastic skin. */
.btn-primary,
a.btn-primary,
button.btn-primary,
input.btn-primary {
    background-color: #5B4BC4 !important;
    border-color:     #5B4BC4 !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #47399F !important;
    border-color:     #47399F !important;
}

a:not(.btn):not(.button) { color: #5B4BC4; }
a:not(.btn):not(.button):hover { color: #47399F; }

#messagelist tbody tr.selected > td,
.listing li.selected > a,
.listing tr.selected > td,
.listing li.selected,
ul.listing li.selected {
    background-color: #5B4BC4 !important;
    color: #fff !important;
}

#taskmenu { background-color: #241F45 !important; }
#taskmenu a:hover { background-color: #342D5E !important; }
#taskmenu a.selected,
#taskmenu a.selected:hover {
    background-color: #5B4BC4 !important;
    color: #fff !important;
}

#login-form .box-inner { border-top: 3px solid #5B4BC4; }
#login-form input:focus {
    border-color: #5B4BC4 !important;
    box-shadow: 0 0 0 2px rgba(91,75,196,.18) !important;
}
#login-form .logo img,
#login-form img.logo,
img.logo { max-height: 64px; width: auto; }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid #5B4BC4;
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    a:not(.btn):not(.button) { color: #A79BF0; }
    a:not(.btn):not(.button):hover { color: #C0B7F7; }
    #login-form .box-inner { border-top-color: #A79BF0; }
}
