
/* Keycloak integration layer on top of the final v35 static design. */
html.login-page body.kc-has-error .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline,
html.login-page body.kc-has-error .temp-input-wrap fieldset { border-color:#AB163F !important; }
html.login-page body.kc-has-error .temp-field label { color:#4d4d4d; }
.kc-bankid-link { color: #FFFFFF; text-decoration:none; }
.kc-bankid-link:hover { text-decoration:none; }
.kc-hidden-otp { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

/* Keycloak info/error pages - aligned with the v35 login layout. */
html.login-page body.kc-info-page .login-content,
html.login-page body.kc-error-page .login-content { align-items:flex-start; }
.kc-message-panel { width:100%; max-width:448px; margin-top:24px; }
.kc-message-text,
.kc-message-details p { margin:0 0 24px; font-family:UNIQAGalano-Regular,"UNIQA Galano",sans-serif; font-size:16px; line-height:1.5; color:#1f1f1f; }
.kc-message-details { margin-bottom:24px; }
.kc-message-primary { display:inline-flex; align-items:center; justify-content:center; min-height:48px; box-sizing:border-box; padding:12px 24px; border-radius:2px; background:#0050aa; color:#fff !important; font-family:UNIQAGalano-SemiBold,"UNIQA Galano",sans-serif; font-size:16px; line-height:24px; text-decoration:none !important; }
.kc-message-primary:hover { background:#003f88; text-decoration:none !important; }
.kc-message-primary:focus-visible { outline:2px solid #1f1f1f; outline-offset:3px; }

/* SmartHead – bílé pozadí pod původním PNG */
@media (min-width: 768px) {
    html.login-page .login-footer__social > a[aria-label="SmartHead"] {
        background: #ffffff !important;
    }
}

/* Bank iD – povolení interakce a kurzoru */
html.login-page a.kc-bankid-link {
    pointer-events: auto !important;
    cursor: pointer !important;
}

html.login-page a.kc-bankid-link svg,
html.login-page a.kc-bankid-link svg * {
    pointer-events: none !important;
}
