.registrationUser {
 text-align: center;
}

a {
    color: #243372;
    text-decoration: underline;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

a:hover, a:focus, a:visited, a:active {
    color: #243372;
    text-decoration: underline;
    outline: none;
}

.no-underline, .no-underline:hover, .no-underline:focus, .no-underline:visited, .no-underline:active {
    text-decoration: none;
}

.login-pf {
    background: #F8F9FC; 
}

.login-pf body {
    background: #F8F9FC;   
    height: 100%;
    width: 100%;
    font-size: 16px;
    font-family: 'Lato', 'Open-Sans', 'sans-serif';
    font-weight: 400;
}

.alert {
    display: flex;

    min-height: 55px;

    border-radius: 50px;
    margin-top: 8px;
    margin-top: 8px;
    background-color: transparent;
}

.alert > .pficon {
    font-size: 30px;
    position: relative;
    left: 10px;
    top: initial;
}

.alert-message {
    flex-grow: 1;
    flex-basis: 0;

    color: #243372;

    line-height: 25px;
    font-size: 20px;
    font-weight: bold;

    margin: 10px 5px 10px 10px;
}

.alert-error {
    border-color: #FF6565;
}

.pficon-error-circle-o:before {
    color: #FF6565;
}

.alert-warning {
    border-color: #F17D27;
}

.alert-success {
    border-color: #8DC664;
}

.alert-info {
    border-color: #243372;
}

.alert {
    padding: 0 8px;
    display: flex;
    align-items: center;
}

.alert-icon {
    margin-right: 8px;
}

.alert-icon-error {
    fill: #FC6365;
    border: #FC6365 solid 3px;
}

.login-pf-page {
    padding: 18px 24px 12px 24px;
}

#kc-content, #kc-content-aide {
    width: 100%;
    margin: auto;
}

#kc-content-wrapper, #kc-content-aide-wrapper {
    width: 100%;
    position: relative;
    margin-top: 16px;

    display: flex;
    flex-direction: column;
}

.login-background-image {
   display: none
}

.login-header-container {
    position: relative;
    width: 100%;
}

.login-aide-container {
    position: absolute;
    right: 0;
    top : 0;
    text-align: center;
    width: 60px;
}

.login-aide-image {
    width: 40px;
    height: 40px;
    fill: #243372;
}

.login-logo {
    display: block;
    width: 200px;
    height: auto;
    padding: 16px 0 16px 0;
    margin: auto;
    margin-top: 16px;
}

.login-titre-container, .login-sous-titre-container, .login-disclaimer-container {
    position: relative;
}

.login-titre-container .login-titre-image {
    position: absolute;
    left: -30px;
    top: 7px;
}

.login-titre-container .login-titre {
    font-size: 32px;
    font-weight: 300;
    margin: 8px 0 8px 0;
}

.login-sous-titre {
    text-transform: uppercase;

    font-size: 22px;
    font-weight: 300;
    margin: 0 0 8px 0;
}

.login-disclaimer {
    margin: 0;
}

.text-primary {
    color: #243372;
}

.text-secondary {
    color: #F17D27;
}

.text-grey {
    color: #9597A6;
}

.text-uppercase {
    text-transform: uppercase;
}

.form-group {
    position: relative; /** Utile pour afficher en position absolue l'oeil pour afficher/cacher le mot de passe **/
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.form-group .control-label {
    color: #9597A6;
    text-transform: uppercase;
}

.form-group .form-control {
    border-radius: 50px;
    height: 55px;
    margin-top: 8px;

    font-size: 20px;
    color: #243372;
    padding: 0 32px;
    box-shadow: none;

    outline: unset;
}

.form-group .form-control:hover, .form-group .form-control:focus {
    border-color: #F17D27;
}

/** Afficher / Cacher mot de passe **/
.form-control.password {
    padding: 0px 64px 0 32px;
}

.form-control.password + .unmask {
    position:absolute;
    right: 25px; 
    bottom: 15px;

    width: 36px;
    height: 25px;

    cursor: pointer;
}

.form-control.password.password[type="password"] + .unmask:before {
    display: block;
    content: ' ';
    background-image: url('../img/oeil-plein.svg');
    background-size: 36px 28px;
    height: 28px;
    width: 36px;
}

.form-control.password[type="text"] + .unmask:after {
    display: block;
    content: ' ';
    background-image: url('../img/oeil-vide.svg');
    background-size: 36px 28px;
    height: 28px;
    width: 36px;
}

.login-form-options {
    margin-bottom: 16px;
}

.login-form-options > div {
    text-align: right;
}

.login-pf-page .login-pf-signup {
    margin-top: 8px;
}

input[type="submit"] {
    border-radius: 50px;
    height: 55px;

    width: 100%;

    background-color: #243372;
    border: #243372 solid 1px;
    color: white;

    font-size: 18px;
    text-transform: uppercase;

    outline: none;
}

/* Accordeon */

.accordion {
    width: 100%;

    position: relative;

    background-color: transparent;
    padding: 8px 26px 8px 0;

    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    
    font-size: 26px;
    font-weight: 300;
    color: #243372;
    cursor: pointer;

}
  
.accordion:before {
    display: block;
    content: ' ';
    background-image: url('../img/3-barres-orange.svg');
    background-size: 12px 15px;
    height: 15px;
    width: 12px;

    position: absolute;
    top: 23px;
    left: -22px;
}

.accordion:after {
    display: block;
    content: ' ';
    background-image: url('../img/icone-ferme.svg');
    background-size: 16px 8px;
    height: 8px;
    width: 16px;

    position: absolute;
    top: 26px;
    right: 8px;
}
  
.accordion.active, .accordion:hover {
    background-color: #eee;
}

.accordion.active:after {
    background-image: url('../img/icone-ouvert.svg');
}

.accordion-panel {
    max-width: 100%;
    height: 0;
    padding-right: 26px;

    overflow: hidden;
    border-bottom: 1px solid rgba(241, 125, 39, 0.2);

    color: #243372;
    font-size: 16px;
    font-weight: 400;

    transition: height 0.2s ease-out;

    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
} 

.accordion-panel::-webkit-scrollbar {
    display: none;
}

.accordion-panel > p {
    margin: 0;
    padding: 8px 0 16px 0;
}

@media screen and (min-width: 480px) {
    
    .login-logo {
        width: 270px;
        padding: 8px 0 24px 0
    }

    .login-titre-container .login-titre {
        font-size: 34px;
    }
    
    .login-sous-titre {
        font-size: 24px;
    }

    input[type="submit"] {
        font-size: 22px;
    }
}


@media screen and (min-width: 768px) {

    #kc-content, #kc-content-aide {
        max-width: 675px;
    }
    
    #kc-content-wrapper {
        max-width: 675px;
    }

    #kc-content-aide-wrapper {
        max-width: 675px;
    }

    .login-titre-container {
        white-space: nowrap;
    }
    
}


@media screen and (min-width: 1200px) {

    .login-logo {
        padding: 8px 0 48px 0
    }

    .login-container {
        display: flex;
        align-content: stretch;
        height: 100%;
    }

    .login-pf-page {
        flex-grow: 1;
        flex-basis: 0;
        overflow-y: auto;
    }

    .login-titre-container {
        white-space: normal;
    }

    .login-background-image {
        display: block;
        height: 100%;
        width: auto;
    }

    #kc-content-wrapper {
        max-width: 600px;
    }

    .login-sous-titre {
        max-width: 600px;
    }
    
    .login-disclaimer {
        max-width: 600px;
        margin: 8px 0 16px 0;
    }
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

.popin-authentification {
    position: absolute;
    background: white;
    z-index: 999;
    padding: 20px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 600px;
    -moz-box-shadow: 1px 1px 5px 1px #dedede;
    -webkit-box-shadow: 1px 1px 5px 1px #dedede;
    -o-box-shadow: 1px 1px 5px 1px #dedede;
    box-shadow: 1px 1px 5px 1px #dedede;
}
@media screen and (max-width: 530px) {
    .popin-authentification {
        width: 90%;
    }
}
.popin-submit {
    text-align: center;
}
.popin-title {
    font-weight: bold;
}
.popin-authentification input {
    background-color: #243372;
    font-size: 15px;
    width: 100px;
    height: 35px;
}

/* Agrandir l’icône */
.help-icon svg {
    width: 32px;  /* ex: 24, 28 ou 32 */
    height: 28px;
}

/* Positionnement du conteneur */
.kc-input-with-help {
    position: relative;
}

/* Laisser de la place à l’icône à droite */
.kc-input-with-help input {
    padding-right: 3rem;
}

/* Bouton icône */
.help-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #3949ab; /* ajustez selon votre thème */
    cursor: help;
    padding: 0;
    line-height: 1;
}

/* Tooltip en CSS pur via data-attribute */
.help-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 0; /* aligne la bulle depuis l’icône */
    top: -0.5rem;
    transform: translateY(-100%);
    white-space: wrap;
    background: rgba(33, 33, 33, 0.95);
    color: #fff;
    font-size: 1.5rem;
    padding: 10px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease-in-out;
    z-index: 10;
    width: 400px;
}

/* Petite flèche du tooltip */
.help-icon::before {
    content: "";
    position: absolute;
    right: 6px;
    top: -0.5rem;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(33,33,33,0.95);
    opacity: 0;
    transition: opacity .15s ease-in-out;
    z-index: 10;
}

/* Affichage au survol et au focus clavier */
.help-icon:hover::after,
.help-icon:hover::before,
.help-icon:focus-visible::after,
.help-icon:focus-visible::before {
    opacity: 1;
}

/* Accessibilité: classe screen-reader-only */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
