.pf-v5-c-login__container {
    grid-template-columns: 34rem;
    grid-template-areas: "header"
                         "main"
}

.login-pf body {
    background-size: cover;
    height: 100%;
    background: #FFF;
}

#keycloak-bg
{
    background-color: #f0f0f0;
}

.pf-v5-c-button.pf-m-primary{
    cursor: pointer;
}



div.kc-logo-text {
    background-image: url(../icons/logo.svg);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    position: relative;
    left: 0;
    margin: 0;!important;
}

div.kc-logo-text span {
    display: none;
}

.kc-login-tooltip {
    position: relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}
/*body {*/
/*    overflow: hidden;*/
/*}*/


/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity:0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

#kc-recovery-codes-list {
    columns: 2;
}

#certificate_subjectDN {
    overflow-wrap: break-word
}

#kc-header-wrapper {
    font-size: 29px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    white-space: normal;
    text-align: center;
}

hr {
}
.kc-title {
    color: #034E60;
    font-family: PolySans, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 120% */
    letter-spacing: -0.5px;
}
a
{
    color: #034E60;
    font-family: PolySans, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;!important;
}

.kc-description {
    color: #636360;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.pf-v5-c-form__group {
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    background: transparent; !important;
    padding-top: 1rem;
}

.pf-v5-c-form__group input
{
    display: flex;
    padding: 8px 16px 10px 16px;
    align-items: center;
    align-self: stretch;
    border-radius: 64px;
    border: 1px solid  #DCDCD9;
    background:  #FFF;
}

/* Style pour les input-group (champs avec boutons à côté) */
.pf-v5-c-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
}

.pf-v5-c-input-group__item {
    flex: 1 !important;
}

/* Le bouton dans l'input-group ne doit pas s'étirer */
.pf-v5-c-input-group__item:has(button) {
    flex: 0 0 auto !important;
}

/* Style pour les champs en lecture seule et les spans qui les contiennent */
.pf-v5-c-form-control.pf-m-readonly,
span.pf-v5-c-form-control.pf-m-readonly,
.pf-v5-c-input-group .pf-v5-c-form-control {
    display: flex !important;
    padding: 8px 16px 10px 16px !important;
    align-items: center !important;
    border-radius: 64px !important;
    border: 1px solid #DCDCD9 !important;
    background: #FFF !important;
}

/* Input à l'intérieur d'un span readonly */
.pf-v5-c-form-control.pf-m-readonly input,
span.pf-v5-c-form-control.pf-m-readonly input,
.pf-v5-c-input-group .pf-v5-c-form-control input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    outline: none !important;
    width: 100% !important;
    color: #034E60 !important;
    font-family: PolySans, sans-serif !important;
}

.pf-v5-c-form-control {
    padding-top: 0.5rem;
}

                                                             input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #FFF inset !important;
}

.pf-v5-c-form-control:before,
.pf-v5-c-form-control:before,
.pf-v5-c-form-control:after,
.pf-v5-c-button:after{
    border: 0 none transparent !important;
    content: "" !important;
}

.kc-field-label {
    color: #034E60;
    font-family: PolySans, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.pf-v5-c-login__main-footer-band
{
    padding: 0;!important;
}

.pf-v5-c-check__input {
    accent-color: #9CD6DA !important;
    border: 5px solid #DCDCD9 !important;
}
.dejaUncompte
{
    position: relative;
}
.dejaUncompte span
{
    position: absolute;
}
.col-xs-12 .kc-field-label
{
    color: #00333E;
}


.my-custom-check {
    cursor: pointer;
    position: relative;
}

.my-custom-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkmark {
    position: relative;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid  #484848;
    background: #FFF;
    height: 16px;
    width: 16px;
    flex: 1 0 0;
}


.my-custom-check input[type="checkbox"]:checked + .custom-checkmark {
    background-color: white;
    border-color: #034E60;
}

.my-custom-check input[type="checkbox"]:checked + .custom-checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #034E60;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pf-v5-c-form__label-required
{
    display: none;!important;
}

.pf-v5-c-form__label-required2 {
    color: var(--pf-v5-c-form__label-required--Color);
    font-size: var(--pf-v5-c-form__label-required--FontSize);
    margin-inline-start:0;
    text-decoration: none !important;
}

/* =================================================================================== login =====================================================================================*/
.bodyLog {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Si la hauteur de l'écran est < 900px, on change l'alignement */
@media screen and (max-height: 850px) {
    .bodyLog {
        align-items: flex-start;
        overflow: auto;
    }
    .childrenLogin {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;
        width: 100%;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}

@media screen and (min-height: 850px) {
    .childrenLogin {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;
        width: 100%;
        max-width: 1440px;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}
.my-bg-icon-login {
    width: 566px;
    height: 100%;
    position: relative;
    margin-top: 145px;
    border-radius: 500px 500px 0 0;
    border: 25px solid #FFF;
    border-bottom: none;
    background: #9CD6DA;
    overflow: hidden;
    /* Box-shadow uniquement sur 3 côtés (haut, gauche, droite) */
    box-shadow:0 -1px 0 0 #000,-1px  0 0 0 #000, 1px  0 0 0 #000;
}

.loginImage
{
    position: absolute;
    width: 478px;
    height: 530px;
    flex-shrink: 0;
    top: 66px;
    left: 38px;
    background: url(../icons/bglogin.png) no-repeat;
}

.childrenUpdate .illustration-contenair .illustration {
    position: relative;
    width: 566px;
    height: 1223px;
    right: -64px;
    z-index: 1;
    display: flex;
}
/* =================================================================================== Fin login =====================================================================================*/

/* ===================================================================================== Register ==================================================================================*/
.bodyReg {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
 .grecaptcha-badge {
     visibility: hidden !important;
     pointer-events: none !important;
 }
.kc-recaptcha-banner{
    width: 100%;
    display: block;
    margin-top: .5rem;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: #f9fafb;
    color: #374151;
    font-size: .875rem;
    border: 1px solid #e5e7eb;
}
.kc-recaptcha-summary{
    cursor:pointer;
    text-decoration:underline;
    display:inline-block;
    margin-top:.25rem;
}
.kc-recaptcha-inline{margin-top:.5rem}
.kc-recaptcha-body{margin:0;line-height:1.5}
/* Quand le bloc est ouvert, on autorise le scroll */
.kc-recaptcha-details[open] ~ * ,
.kc-recaptcha-details[open] {
    overflow: visible;
}

.kc-recaptcha-details[open] body,
.kc-recaptcha-details[open] .bodyReg {
    overflow: auto;   /* ✅ permet de scroller si le texte est long */
}


/* Si la hauteur de l'écran est < 900px, on change l'alignement */
@media screen and (max-height: 900px) {
    .bodyReg {
        align-items: flex-start;
        overflow: auto;
    }
    .childrenRegister {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;

        width: 100%;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}

@media screen and (min-height: 900px) {
    .childrenRegister {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;

        width: 100%;
        max-width: 1440px;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}
.my-bg-icon-register {
    width: 650px;
    height: 100%;
    position: relative;
    border-bottom: none;
    overflow: hidden;
    background: url(../icons/bgRegister.png) no-repeat center;
    background-size: contain;
}


/* ===================================================================================== Fin Register ==================================================================================*/

/* ===================================================================================== Reset password ==================================================================================*/
.bodyPass {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Si la hauteur de l'écran est < 900px, on change l'alignement */
@media screen and (max-height: 775px) {
    .bodyPass {
        align-items: flex-start;
        overflow: auto;
    }
    .childrenReset {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;

        width: 100%;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}

@media screen and (min-height: 775px) {
    .childrenReset {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;


        width: 100%;
        max-width: 1440px;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}
.my-bg-icon-reset {
    width: 566px;
    height: 100%;
    min-height: 950px;
    position: absolute;
    margin-top: 125px;
    border-radius: 500px 500px 0 0;
    border: 25px solid #FFF;
    border-bottom: none;
    background: #9CD6DA;

    /* Box-shadow uniquement sur 3 côtés (haut, gauche, droite) */
    box-shadow:0 -1px 0 0 #000,-1px  0 0 0 #000, 1px  0 0 0 #000;
}
.resetImage
{
    position: absolute;
    width: 478px;
    height: 530px;
    flex-shrink: 0;
    top: 101px;
    background: url(../icons/passwordlogo.png) no-repeat;
}
.mainClassReset
{
    margin-top: 106px;
}

.childrenReset .illustration-contenair .illustration {
    position: relative;
    width: 566px;
    height: 1223px;
    right: -64px;
    z-index: 1;
    display: flex;
}
/* ===================================================================================== Fin Reset password ==================================================================================*/
/* ===================================================================================== update password ==================================================================================*/

.bodyUpdate {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Si la hauteur de l'écran est < 900px, on change l'alignement */
@media screen and (max-height: 850px) {
    .bodyUpdate {
        align-items: flex-start;
        overflow: auto;
    }
    .childrenUpdate {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;

        width: 100%;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}

@media screen and (min-height: 850px) {
    .childrenUpdate {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex: 1 0 0;
        background: #FFF;

        width: 100%;
        max-width: 1440px;
        padding-right: 750px;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: visible;
    }
}
.my-bg-icon-update {
    width: 566px;
    height: 100%;
    min-height: 950px;
    position: absolute;
    margin-top: 125px;
    border-radius: 500px 500px 0 0;
    border: 25px solid #FFF;
    border-bottom: none;
    background: #9CD6DA;

    /* Box-shadow uniquement sur 3 côtés (haut, gauche, droite) */
    box-shadow:0 -1px 0 0 #000,-1px  0 0 0 #000, 1px  0 0 0 #000;
}
.updateImage
{
    position: absolute;
    width: 478px;
    height: 530px;
    flex-shrink: 0;
    top: 101px;
    background: url(../icons/passwordlogo.png) no-repeat;
}
.mainClassUpdate
{
    margin-top: 106px;
}

/* ===================================================================================== Fin update password ==================================================================================*/


.pf-v5-c-login__main-body {
    padding: 0;
    display: grid;
    gap: 24px;
}

/*#keycloak-bg*/
/*{*/
/*    background-color: #f0f0f0;*/
/*    height: 100vh;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/


.childrenLogin .illustration-contenair .illustration {
    position: relative;
    width: 566px;
    height: 1223px;
    right: -64px;
    z-index: 1;
    display: flex;
}


.pf-v5-c-button.pf-m-primary:hover {
    border-color: #FFF;
    box-shadow: 0 0 0 1px black !important;
}
.pf-v5-c-alert__description
{
    max-width: 500px;
}
.my-svg-label
{
    color: #747474;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01rem;
}

.showbmo
{
    display:none;
    margin-top: 32px;
    color: #636360;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.mobile-only { display: none; }
.desktop-only { display: block; }

.my-social-divider {
    width: 100%;
    height: 1px;
    background: #DCDCD9;
}
.my-social-divider-top
{
    width: 100%;
    height: 1px;
    background: #DCDCD9;
}

.pf-v5-c-login__main-header {
    padding-inline-start: 0;!important;
    padding-inline-end: 0;!important;
    padding: 0;
}
.div.kc-logo-text {
    margin-left: 0;!important;
}
.pf-v5-c-login__header .pf-v5-c-brand {
    margin-bottom: 64px;!important;

}
.pf-v5-c-login__header
{
    margin: 0;!important;
}

.headertitle
{
    display: flex;
    flex-direction: column;
}
.pf-v5-c-button.pf-m-primary {
    display: flex !important;
    width: 100% !important;
    padding: 8px 16px 10px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    border-radius: 64px !important;
    background: #9CD6DA !important;
    color: #151517 !important;
    box-sizing: border-box;
    border: 3px solid transparent; /* Réserve l'espace pour la bordure */
    transition: box-shadow 0.3s, border-color 0.3s;
}

.pf-v5-c-button.pf-m-secondary {
    display: flex !important;
    width: 100% !important;
    padding: 8px 16px 10px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    border-radius: 64px !important;
    border: 1px solid #034E60 !important;
    background: transparent !important;
    color: #034E60 !important;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: PolySans, sans-serif !important;
    cursor: pointer !important;
}

.pf-v5-c-button.pf-m-secondary:hover {
    background: #f0f9fa !important;
    border-color: #9CD6DA !important;
}

.pf-v5-c-title.pf-m-3xl
{
    text-align: left;
    color: #034E60;!important;
    font-family: PolySans, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 120% */
    letter-spacing: -0.5px;
    width: 100%;
}

.pf-v5-c-alert__description
{
    color: #636360;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 12px;
}

.my-social-divider {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    background: #919191

}

.divider-line {
    flex: 1;
    height: 1px;
}

.divider-text {
    padding: 0 20px;
    font-size: 0.875rem;
    color: #919191;
    font-weight: 300;
    font-family: PolySans, sans-serif;
    background: white; /* Important pour masquer la ligne derrière */
}

.dejaUncompte {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px 16px 16px 16px !important;
    background: white !important;
    color:  #484848;
    border: 0 transparent; /* Réserve l'espace pour la bordure */
    transition: box-shadow 0.3s, border-color 0.3s;
}

/*================================================================================================================================== Grand ecran =================================================================================================================*/
@media screen and (min-width: 1024px) {
    .pf-v5-c-login__container {
        display: block;!important;
        padding-inline-start: 0;!important;
        padding-inline-end: 0;!important;
        grid-template-columns: none !important;
        width: 100%;
        height: 100%;
    }

    .pf-v5-c-login {

        display: flex;
        flex-direction: column;
        gap: 48px;
        flex: 1 0 0;
        align-self: stretch;
        border: none;!important;
        padding: 80px 0 80px 180px;
        background: white;!important;
    }

    .pf-v5-c-form
    {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .pf-v5-c-login__main-body {
        padding: 0;
        display: grid;
        gap: 24px;
    }
    .pf-v5-c-login__header .pf-v5-c-brand {
        margin-block-end: 64px;!important;
    }
    #kc-info{
        padding: 0;
    }
    /* ========================= image de background*/

    .pf-v5-c-login__main
    {
        box-shadow: none;!important;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding-top: 1rem;
    }

    #kc-registration-container
    {
        align-self: stretch;
    }
    .pf-v5-c-login__main-footer-band-item
    {
        color: #636360;!important;
        font-family: Inter, sans-serif;!important;
        font-size: 14px;!important;
        font-style: normal;!important;
        font-weight: 400;!important;
        line-height: 20px;!important;
    }
    /*================== social login ===========*/
    /****** Conteneur principal ******/
    .my-social-container {
        display: flex;             /* Pour que la ligne en bas soit en dessous de la liste */
        flex-direction: column;    /* On empile la liste puis la ligne */
        align-items: self-start;       /* Centre horizontalement */
        gap: 2rem;
        border-bottom: 2rem;
        border-top: 2rem;
    }

    /****** Liste des providers ******/
    .my-social-list {
        display: flex;             /* Les boutons côte à côte */
        gap: 1rem;                 /* Espace horizontal entre chaque bouton */
        list-style: none;          /* Retire les puces de liste */
        margin: 0;
        padding: 0;
        width: 100%;               /* Pour que la liste prenne toute la largeur */
    }

    /****** Élément de liste ******/
    .my-social-item {
        display: flex;
        padding: 8px 16px 10px 16px;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex: 1 0 0;
        border-radius: 64px;
        border: 1px solid #DCDCD9;
        background: #FFF;
    }

    /****** Bouton social (Google, LinkedIn, etc.) ******/
    .my-social-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 12px;
        flex: 1 0 0;
    }

    /****** Icône dans le bouton ******/
    .my-social-button svg {
        width: 24px;
        height: 24px;
        fill: currentColor; /* Hérite de la couleur du texte (optionnel) */
    }

    /****** Texte du provider (Google, LinkedIn, etc.) ******/
    .my-social-text {
        /* Style supplémentaire si besoin, par ex. font-weight, etc. */
    }

    /****** Ligne horizontale en bas ******/

    .showbmo
    {
        display: none;
    }
    .mobile-only { display: none; }
    .desktop-only { display: block; }

    .illustration-contenair {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        overflow: hidden;
    }

    .childrenRegister .illustration-contenair .illustration {
        position: relative;
        height: 1095px;
        z-index: 1;
        display: flex;
    }

    .bouton-sticky-padding {
        padding-top: 2rem;
    }
}
/* ======================================================================================================== fin grand ecran =================================================================================================================*/

/*================================================================================================================================== Tablette =================================================================================================================*/
@media screen and (max-width: 1023px) {
    .childrenUpdate,
    .childrenRegister,
    .childrenReset,
    .childrenLogin
    {
        display: block;
        box-shadow: none;
        position: relative;
        overflow-y: auto;
        height: auto;
        padding-right: 0;
    }

    .pf-v5-c-login__main-header {
        padding: 0;
    }

    #keycloak-bg {
        padding: 24px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        background: #FFF;
        position: relative;
    }

    .my-bg-icon-login
    {
        display: none;
    }

    .my-bg-icon-reset
    {
        display: none;
    }
    .pf-v5-c-login {
        /* On évite la grande hauteur / grands espacements */
        gap: 24px;
        padding: 0;
        border: none;
        flex-direction: column;/* ou center, selon ta maquette */
    }


    /* Bouton principal (Me connecter) */
    .pf-v5-c-button.pf-m-primary {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 8px 16px !important;
        border-radius: 64px !important;
        background: #9CD6DA !important;
        color: #151517 !important;
        box-sizing: border-box;
        border: 3px solid transparent; /* Réserve l'espace pour la bordure */
        transition: box-shadow 0.3s, border-color 0.3s;
    }

    #kc-registration-container {
        margin-top: 16px !important;
        width: 100%;
    }


    .pf-v5-c-login__main-footer-band-item {
        /* Garde tes styles de couleur/typo */
        line-height: 20px !important;
    }


    .my-social-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .my-social-item {
        display: flex;
        padding: 8px 16px 10px 16px;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex: 1 0 0;
        border-radius: 64px;
        border: 1px solid #DCDCD9;
        background: #FFF;
    }


    .my-social-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 12px;
        flex: 1 0 0;
    }

    .bouton-sticky-padding {
        padding-top: 2rem;
    }
}
/*================================================================================================================================== Fin Tablette =================================================================================================================*/

/*================================================================================================================================== Mobile =================================================================================================================*/
@media screen and (max-width: 1023px) {
    .childrenUpdate,
    .childrenReset,
    .childrenLogin
    {
        display: block;
        box-shadow: none;
        position: relative;
        overflow-y: auto;
    }

    .childrenRegister
    {
        flex-direction: column;
        box-shadow: none;
        position: relative;
        overflow-y: auto;
    }


    .childrenRegister
    .my-bg-icon-register {
        width: 500px !important;
        height: 100%;
        position: relative;
        margin-top: 0 !important;
        border-bottom: none;
        overflow: hidden;
        background: none !important;
    }

    .registerImage {
        width: 100%;
        max-width: 550px;
        height: 550px;
        aspect-ratio: 550 / 530;
        background: url(../icons/bgRegisterMobile.png) no-repeat;
        background-position: center;
    }

    .childrenUpdate,
    .childrenReset,
    .childrenLogin
    .illustration
    {
        display: none;
    }
    .pf-v5-c-login__main-header {
        padding: 0;
    }
    .pf-v5-c-login__main-body {
        padding: 0;!important;
        gap:0; !important;
    }
    .pf-v5-c-login__header
    {
        width: 100% !important;
        margin: 0;!important;
        padding: 0 24px 0 0;!important;
        background: #FFF;!important;
    }
    .pf-v5-c-form {
        margin-bottom: 24px;
    }
    .pf-v5-c-alert__description
    {
        color: #636360;
        /* Body text/Paragraph */
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        margin-top: 0;
    }
    .pf-v5-c-title.pf-m-3xl
    {
        align-self: stretch;
        color:#034E60;
        font-family: PolySans, sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 40px;
        letter-spacing: -0.25px;
    }

    #keycloak-bg {
        padding: 24px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        background: #FFF;
        position: relative;
    }

    .my-bg-icon-login
    {
        display: none;
    }

    .childrenUpdate,
    .childrenReset,
    .childrenLogin
    .my-bg-icon-register
    {
        display: none;
    }

    .my-bg-icon-reset
    {
        display: none;
    }
    .pf-v5-c-login {
        /* On évite la grande hauteur / grands espacements */
        gap: 24px;
        padding: 0;
        border: none;
        flex-direction: column;
        background: white;!important;
        min-height: auto;
    }

    /* Le bloc principal de contenu */
    .pf-v5-c-login__main {
        width: 100% !important;
        box-shadow: none !important;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        display: flex;
    }

    .pf-v5-c-form {
        width: 100% !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px; /* espace vertical entre champs */
    }


    /* Bouton principal (Me connecter) */
    .pf-v5-c-button.pf-m-primary {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 8px 16px !important;
        border-radius: 64px !important;
        background: #9CD6DA !important;
        color: #151517 !important;
        box-sizing: border-box;
        border: 3px solid transparent; /* Réserve l'espace pour la bordure */
        transition: box-shadow 0.3s, border-color 0.3s;
    }

    #kc-registration-container {
        margin-top: 16px !important;
        width: 100%;
    }


    .pf-v5-c-login__main-footer-band-item {
        /* Garde tes styles de couleur/typo */
        line-height: 20px !important;
    }

    /* Conteneur social (Google / LinkedIn) */
    .my-social-container {
        flex-direction: column;
        align-items: flex-start;
        display: flex;
    }

    .my-social-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .my-social-item {
        display: flex;
        padding: 8px 16px 10px 16px;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex: 1 0 0;
        border-radius: 64px;
        border: 1px solid #DCDCD9;
        background: #FFF;
    }


    .my-social-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 12px;
        flex: 1 0 0;
    }

    .childrenUpdate,
    .childrenReset,
    .childrenLogin
    .illustration-contenair
    {
        display: none;
    }

    .childrenRegister
    .illustration-contenair {
        display: flex;
        justify-content: center;
    }

    .childrenRegister .illustration-contenair .illustration {
        position: relative;
        min-width: 50px;
        z-index: 1;
        display: flex;
    }

    .kc-register-button {
        position: relative;
        max-width: 450px;
    }


    .bouton-sticky {
        position: fixed !important;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        max-width: 500px;
        width: 100%;
        padding: 0.5rem 2rem;
        z-index: 50;
    }

    .eden-back-btn svg {
        display: block;
        width: 14px;
        height: 14px;
    }

}
/*================================================================================================================================== Fin Mobile =================================================================================================================*/

/* ===================================================================================== Idp-review ==================================================================================*/


.my-bg-icon-idp {
    width: 566px;
    height: 100%;
    position: relative;
    margin-top: 145px;
    border-radius: 500px 500px 0 0;
    border: 25px solid #FFF;
    border-bottom: none;
    background: #9CD6DA;
    overflow: hidden;
    /* Box-shadow uniquement sur 3 côtés (haut, gauche, droite) */
    box-shadow:0 -1px 0 0 #000,-1px  0 0 0 #000, 1px  0 0 0 #000;
}

.idpImage
{
    position: absolute;
    width: 478px;
    height: 530px;
    flex-shrink: 0;
    top: 66px;
    left: 38px;
    background: url(../icons/bgIdp.png) no-repeat;
}
/*================================================================================================================================== Fin Mobile =================================================================================================================*/

 .eden-back-btn {
     padding: 0;
     border: 0;
     background: transparent;
     line-height: 1;
     align-items: center;
     justify-content: center;
     vertical-align: middle;
 }

/* Hide native password reveal/clear buttons on Edge/IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
}

/* Defensive: hide any default PatternFly/Keycloak toggle icon (we use our custom eye) */
.pf-v5-c-form-control__toggle-icon,
.pf-v5-c-form-control__utilities .pf-v5-c-form-control__toggle-icon {
    display: none !important;
}
/* Hide PF/Keycloak password control button only when rendered inside form control utilities */
.pf-v5-c-form-control__utilities .pf-v5-c-button.pf-m-control {
    display: none !important;
}

/* Style pour les boutons de contrôle de formulaire (reset, refresh, etc.) */
.pf-v5-c-button.pf-m-control,
button.pf-v5-c-button.pf-m-control,
.pf-v5-c-form-control__utilities .pf-v5-c-button:not(.pf-m-control),
.pf-v5-c-input-group .pf-v5-c-button {
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    padding: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 1px solid #DCDCD9 !important;
    color: #034E60 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.pf-v5-c-button.pf-m-control:hover,
.pf-v5-c-input-group .pf-v5-c-button:hover {
    background: #f0f9fa !important;
    border-color: #9CD6DA !important;
}

