.mx_SettingsSection_subSections > div:last-of-type {
    display: none;
}

.mx_ServerPicker {
    display: none;
}

li[aria-controls="mx_tabpanel_USER_HELP_TAB"] {
    display: none !important;
}

li[aria-controls="mx_tabpanel_USER_SECURITY_TAB"] {
    display: none !important;
}

.mx_Header {
    display: none;
}

.mx_AuthBody_language .mx_Dropdown_input {
    display: none;
}


.mx_SettingsSection_subSections > div:last-of-type {
    display: none;
}

.mx_ServerPicker {
    display: none;
}

li[aria-controls="mx_tabpanel_USER_HELP_TAB"] {
    display: none !important;
}

.mx_Header {
    display: none;
}

.mx_AuthBody_language .mx_Dropdown_input {
    display: none;
}

/* ===== PAGE DE CONNEXION ===== */

/* Bouton SSO - couleur verte Justice */
.mx_SSOButton {
    background-color: #075E54 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.mx_SSOButton:hover {
    background-color: #064d45 !important;
}

.mx_SSOButton.mx_SSOButton_primary {
    background-color: #075E54 !important;
}

/* Card/modal du formulaire - fond blanc plus net */
.mx_AuthPage_modalContent {
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
}

/* Titre "Se connecter" */
.mx_AuthBody h1 {
    color: #075E54 !important;
    font-weight: 700 !important;
}

/* Masquer le footer (Blog, Mastodon, GitHub...) */
.mx_AuthFooter {
    display: none !important;
}

.mx_AuthFooter {
    display: none !important;
}

/* ===== Agrandir le logo sur la page de connexion ===== */
/* .mx_AuthHeaderLogo img {
    height: 80px !important;  
    width: auto !important;
} */

.mx_AuthHeaderLogo {
    display: flex !important;
    align-items: center !important;
}


/* cacher titre */
.mx_AuthBody h1 {
    display: none !important;
}

/* cacher serveur accueil */
.mx_ServerPicker {
    display: none !important;
}

/* cacher footer */
.mx_AuthFooter {
    display: none !important;
}

/* agrandir bouton */
.mx_SSOButton {
    font-size: 18px !important;
    padding: 15px !important;
}


/* cacher le logo original */
.mx_AuthHeaderLogo img {
    display: none !important;
}

/* ajouter ton logo */
.mx_AuthHeaderLogo {
    background-image: url("https://minido.justice.bj/themes/element/img/logos/mjl.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 220px;
    height: 80px;
    margin: auto;
}

.mx_AuthPage_modal{
    display:flex; align-items:center; justify-content:center; height:100%;
}
