/* Snuggle Bubble branding (installed by deploy/cockpit-branding.sh) */
body.login-pf {
    background: radial-gradient(ellipse at 75% 15%, rgba(228, 111, 85, .35), rgba(228, 111, 85, 0) 55%),
                linear-gradient(160deg, #4A1F45 0%, #3B1A35 45%, #1F0B1E 100%) !important;
    background-color: #2A0F24 !important;
    background-size: cover !important;
}

/* Cockpit dims the login background with a dark overlay; ours is dark enough already. */
body.login-pf::after {
    display: none !important;
}

#login-button {
    --pf-v5-c-button--m-primary--BackgroundColor: #E46F55;
    --pf-v5-c-button--m-primary--hover--BackgroundColor: #F08A6F;
    --pf-v5-c-button--m-primary--focus--BackgroundColor: #F08A6F;
    --pf-v5-c-button--m-primary--Color: #2A0F24;
    --pf-v5-c-button--m-primary--hover--Color: #2A0F24;
    --pf-v5-c-button--m-primary--focus--Color: #2A0F24;
    background-color: #E46F55;
    color: #2A0F24;
    font-weight: 600;
}

/* Large logo, centred in the right-hand column beside the login box. */
#badge {
    inline-size: min(440px, 100%);
    block-size: 160px;
    background-image: url("sb-logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    align-self: center;
    justify-self: center;
}

@media (max-width: 1023px) {
    #badge {
        inline-size: min(330px, calc(100vw - 4rem));
        block-size: 120px;
    }
}

#brand {
    font-size: 16pt;
}

#brand::before {
    content: "Snuggle Bubble server";
}

#index-brand {
    content: "Snuggle Bubble";
}

#index-brand::before {
    content: "Snuggle Bubble";
}
