/*
 * TermsFeed cookie banner and preferences center (partial/global/cookie-consent.phtml, guests in layout/public and
 * in the old layouts): their stylesheet removes the focus outline (".termsfeed-com---reset button:focus
 * { outline: none }") and shows focus only as a thin box-shadow. This brings back the focus ring of the guest site
 * (yellow outline + dark ring, public-site.css). !important beats their rules, which are injected after this file.
 * An outline, not only a box-shadow, so the ring is also drawn in forced-colors (Windows high contrast).
 */
.termsfeed-com---reset button:focus-visible,
.termsfeed-com---reset a:focus-visible,
.termsfeed-com---reset select:focus-visible,
.termsfeed-com---nb button:focus-visible,
.termsfeed-com---nb a:focus-visible,
.termsfeed-com---pc-overlay button:focus-visible,
.termsfeed-com---pc-overlay a:focus-visible,
.termsfeed-com---pc-overlay select:focus-visible,
.termsfeed-com---pc-dialog .cc-custom-checkbox:focus-visible + label::before {
    outline: 4px solid #FFDF0F !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px #1B1B1B !important;
}

@media (forced-colors: active) {
    .termsfeed-com---reset button:focus-visible,
    .termsfeed-com---reset a:focus-visible,
    .termsfeed-com---reset select:focus-visible,
    .termsfeed-com---nb button:focus-visible,
    .termsfeed-com---nb a:focus-visible,
    .termsfeed-com---pc-overlay button:focus-visible,
    .termsfeed-com---pc-overlay a:focus-visible,
    .termsfeed-com---pc-overlay select:focus-visible,
    .termsfeed-com---pc-dialog .cc-custom-checkbox:focus-visible + label::before {
        outline-color: Highlight !important;
    }
}
