/* Ergänzungen für die Test-Plattform (Einleitung über dem Formular) */
.qb-test-intro { margin: 0 0 1rem; font-size: 14px; line-height: 1.5; }

/* Kompakter als das qbits-Theme: auf einem Laptop (ca. 780 px Browserhöhe) soll alles
   bis zum Button „qbits SSO“ ohne Scrollen sichtbar sein (die Einleitung ist länger). */
.login-pf-page { padding-top: 24px; padding-bottom: 24px; }
#kc-header-wrapper { padding-bottom: 8px; }
#kc-header-wrapper::before { width: 84px; height: 48px; }
.login-pf-page .card-pf { padding-top: 26px; }
#kc-content-wrapper { margin-top: 14px; }
#kc-page-title { font-size: 24px; }
.login-pf-page .form-group,
.login-pf-page .pf-c-form__group { margin-bottom: 12px; }
#kc-form-buttons { margin-top: 4px; }
.kc-social-section { margin-top: 14px; }
.kc-social-section hr { margin: 0 0 12px; }
.kc-social-section h2 { margin: 0 0 10px; }
.qb-footer { margin-top: 20px; padding-top: 12px; padding-bottom: 12px; }

/* Button „qbits SSO“: Text mittig, ohne Unterstreichung (auch beim Darüberfahren) */
.login-pf-page .kc-social-item.pf-c-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: none !important;
}
.login-pf-page .kc-social-item.pf-c-button:hover,
.login-pf-page .kc-social-item.pf-c-button:focus,
.login-pf-page .kc-social-item.pf-c-button span { text-decoration: none !important; }

/* Sprachauswahl (Stil aus dem qbits-Theme), nur näher an den kleineren Kartenrand */
#kc-locale { margin-top: -10px; margin-bottom: 6px; }
