.kc-custom-title-color {
    color: #919191;
    font-weight: bold;
}

.kc-custom-social-button-display-flow {
    display: flow;
}

/* Invisible elements for RGAA compliance */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Overlay that covers the entire screen to forbid interactions with the dom during a page load */
.page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8); /* white, semi opaque background */
    z-index: 9999; /* always on top */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* transparent until activated */
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Activated by javascript after some delay  */
.page-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Load spinner */
.page-loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #00936c;
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
}

/* Animation CSS */
@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.websso-help {
    display: block;
    clear: both;
    margin-top: 0;
    padding-top: 24px;
    text-align: center;
}

.websso-help a {
    text-decoration: underline;
}


#kc-info:has(~ #websso-help) {
    margin-bottom: 0;
}

/* Styles de base du footer */
.cardif-footer {
    background-color: #666666;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    width: 100%;
    display: block;
}


/* 1. Par défaut : Empilés (Mobile/Portrait) */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    text-decoration: underline solid;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
}

/* 2. Mode Desktop :
   On n'active le mode horizontal QUE SI :
   L'écran fait plus de 768px ET qu'il est en mode paysage (landscape) */
@media (min-width: 768px) and (orientation: landscape) {
    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

.card-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
  background-color: white;
  border-radius: 4px;
}

.login-pf-header-logo {
    display: flex;
    flex-direction: unset;
    padding: 5px;
    align-items: center;
    gap: 15px;
}

.card-header {
    display: flex;
    flex-direction: column;
}