/**
 * version: 2026.02.1
 * buildNumber: 11-02-2026 10:36
 * commit: 1159f2d8
 */
.hm-logo-img-mobile{
    display: none;
}
.hm-logo-img{
    display: block;
}

.hm-form-group.hm-login-pf-settings {
    margin-bottom: 10px;
}

.login-form-page #kc-form-buttons {
    margin-bottom: 20px;
    margin-top: 20px;
}

p {
    font-size: 14px;
}

/* active state */
.hm-form-control:focus ~ label, .hm-form-control[required]:valid ~ label, .hm-form-control.hm-form-control--not-empty ~ label {
    top: -20px;
    font-size: 14px;
    color: #999;
}

.mat-flat-button {
    cursor: pointer;
}

.mat-flat-button[disabled] {
    background-color: #f3f3f3 !important;
    border: 1px solid #f3f3f3 !important;
    color: #4d4d4d !important;
}


@media (max-width: 767px) {
    /* style mobile global */
    .instruction {
        text-align: justify !important;
    }
    .logo-hm{
        padding: 0 10px 5px  !important;
    }
    #kc-page-title {
        font-size: 21px;
    }

    .hm-login-pf-header {
        margin-bottom: 10px
    }

    .alert .kc-feedback-text {
        font-size: 12px;
    }

    /* fin style mobile global */

    /* style mobile page login */
    .login-form-page .hm-logo-img-mobile{
        display: block;
        width: 64px !important;
    }
    .login-form-page .hm-logo-img {
        display: none;
    }

    .login-form-page .hm-login-pf-header {
        margin-bottom: 20px;
    }
    .login-form-page .hm-form-group {
        margin-bottom: 33px;
    }
    .login-form-page #kc-form-buttons {
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .login-form-page .login-pf-social-link {
        margin-right: 0 !important;
    }

    .login-form-page .hm-login-pf-settings{
        margin-bottom: 15px ;
    }
    /* fin style mobile page login */

    /* style mobile modification mot de passe */
    .login-update-password .hm-logo-img-mobile{
        display: block;
        width: 64px !important;
    }
    .login-update-password .hm-logo-img {
        display: none;
    }

    .login-update-password .hm-login-pf-header {
        margin-bottom: 20px;
    }
    .login-update-password .hm-form-group {
        margin-bottom: 33px;
    }
    .login-update-password #kc-form-buttons {
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .login-update-password .login-pf-social-link {
        margin-right: 0 !important;
    }

    .login-update-passworde .hm-login-pf-settings{
        margin-bottom: 15px ;
    }
    /* fin style mobile modification mot de passe */

}

.error-page-title {
    text-align: center;
}

.error-page-details {
    font-size: 16px;
    margin-top: 10px;
}

/* titre de page dans le header */
.hm-login-pf-header #kc-page-title {
    display: block;
}

.instruction {
    text-align: justify;
}

.instructions {
    text-align: center;
}

.instruction-element {
    text-align: center;
}

#kc-info-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    padding-left: 0px;
    padding-right: 15px;
}

#kc-info {
    max-width: 280px;
}

.mat-button-link {
    max-width: 100%;
}

.page-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

/* Page reconciliation email france connect*/

.login-reconciliation-email-birthdate .hm-login-pf-header {
    margin-bottom: 10px !important;
}

/* password policy */

.password-policies-container {
    margin-top: 10px;
}
.password-policies-container .password-policy-item-label {
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    white-space: pre;
}
.password-policy-item.valid {
    display: none;
}
.password-policy-item.error .password-policy-item-label {
    color: #000000;
}

#password-policy-main-label.valid {
    display: none;
}

.password-policy-list {
    padding: 0 0 0 20px;
}

.login-update-password-buttons {
    display: flex;
    width: 100%;
}

.login-update-password-buttons .login-update-password-button {
    min-width: 90px;
    box-sizing: border-box;
    margin: 0 0 0 20px;
}

.login-update-password-buttons {
    flex-direction: column;
}

.login-update-password-buttons .login-update-password-button {
    width: 100%;
    margin: 0 0 20px 0;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.hidden {
    display: none;
}

.icon-error {
    color: #e52020;
    width: 24px;
    height: 24px;
}

#btn-password-reveal {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    height: 100%;
    width: 40px;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    border: none;
    background: transparent;      
}

/** pour spinner dans bouton submit **/

.login-form-page #kc-form-buttons {
    position: relative;
}

span.button-loading-spinner {
    position: absolute;
    top: 10px;
    right: 90px;
}

.spin + .button-loading-spinner::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

.links-flex {
    display: flex;
}

.need-help {
    flex: 1;
    text-align: right;
}

.forgotten-password {
    flex: 1;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Style pour les erreurs de validation username */
#username-validation-error-container {
    margin-bottom: 15px;
}

#username-validation-error-container .alert {
    margin-bottom: 10px;
}
