:root {
    --keycloak-card-top-color: #0D83FD;
}

/* 1. Strip away the default PatternFly background */
.login-pf {
    background: none !important;
}

/* 2. Apply your custom background */
.login-pf body {
    background: url('../img/background.webp') no-repeat center center fixed !important;
    background-size: cover !important;
    height: 100%;
}

@media (prefers-color-scheme: dark) {
    .login-pf body {
        background: url('../img/dark-background.webp') no-repeat center center fixed !important;
        background-size: cover !important;
        height: 100%;
    }
}