/* --- FOND IMAGE FLOU --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    height: 100svh; /* écrase le 100% sur les navigateurs qui le supportent */
    background: url("/yunohost/sso/assets/nature-mount/pictures/scouts.jpg") no-repeat center center / cover;
    filter: blur(2px) brightness(1.2) !important;
    z-index: -2;
}

/* --- VOILE SOMBRE PAR-DESSUS L'IMAGE --- */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    height: 100svh;
    background: rgba(0,0,0,0.45);
    z-index: -1;
}

/* --- BOÎTE DE CONNEXION --- */
.auth-form-card {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 0 0 rgba(0,0,0,0) !important;
    max-width: 450px !important;
    margin: 10vh auto !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* --- BOUTONS VERTS --- */
.v-btn, 
.v-btn--variant-elevated, 
.v-btn__content, 
.v-btn__overlay, 
button[type="submit"],
.btn-primary {
    background-color: #587E60 !important;
    color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

/* Évite le zoom auto de Safari sur les champs de saisie */
input, select, textarea {
    font-size: 16px !important;
}

/* --- MASQUER LA BARRE DE SCROLL (TOUS NAVIGATEURS) --- */

/* Pour Chrome, Safari, Edge et Opera */
html::-webkit-scrollbar, 
body::-webkit-scrollbar,
.v-main::-webkit-scrollbar {
    display: none !important;
}

/* Pour Firefox */
html, body, .v-main {
    scrollbar-width: none !important;
}

/* Pour Internet Explorer et vieux Edge */
html, body, .v-main {
    -ms-overflow-style: none !important;
}

/* Masquer l'identifiant (email) dans le menu */
span.opacity-50[data-v-d578822b] {
    display: none !important;
}

/* Version plus large au cas où le code "data-v" change lors d'une mise à jour */
.v-list-item-subtitle, .v-list-item-title span.opacity-50 {
    display: none !important;
}