header {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-admin {
    height: 100%; /* Annule le 100vh utilisé pour le front du site */
}

.content{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    text-shadow: 1px 1px 10px black;
    animation: slideDown 1.3s ease-out forwards;
    padding-left: 30px;
    padding-right: 30px;
    opacity: 0;
}

/** Trait sous les H2 **/
.title-gradient-underline {
    position: relative;
    display: inline-block; /* Permet au trait de s'adapter à la largeur du texte */
    padding-bottom: 10px;  /* Espace entre le texte et le trait */
    margin-bottom: 20px;   /* Espace sous le tout */
}

.title-gradient-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%); /* Centre parfaitement le trait */

    /* Dimensions du trait */
    width: 100%;
    height: 4px;
    border-radius: 2px;

    /* Ton dégradé spécifique */
    background: linear-gradient(135deg, rgba(13, 101, 237, 0.7), rgba(32, 201, 151, 0.7));
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wrapper {
    flex: 1;
    display: flex;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url(/images/montagne.webp) no-repeat center center;
    background-size: cover;
    color: white;
}

nav {
    flex: 0 0 auto;
}

.login-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Flèche vers le bas, droite, centrée */
.arrow-down {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes bounceDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-10px);
    }
}



.required::after {
    content: " *";
    color: #dc3545;
}

.form-helper {
    font-size: .9rem;
    color: #6c757d;
}

.btn-gradient {
    border: 2px solid; /* épaisseur obligatoire */
    border-image: linear-gradient(135deg, #0d6efd, #20c997) 1;
}

.alert-gradient {
    background: linear-gradient(135deg, rgba(13, 101, 237, 0.7), rgba(32, 201, 151, 0.7));
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: #fff;
    border-color: transparent;
}

/* Champ honeypot masqué pour bots */
.hp-wrap {
    position: absolute; left: -10000px; visibility: hidden;
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.text-justify {
    text-align: justify;
}


.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(13, 101, 237, 0.7), rgba(32, 201, 151, 0.7));
    color: white;
    border-color: #0d6efd;
}

/***** ACCUEIL *****/

/** Clients **/

/* La boîte qui contient le logo */
.client-box {
    background-color: #ffffff; /* Fond blanc pour contraster avec le fond gris de la page */
    border: 1px solid rgba(0,0,0,0.05); /* Bordure quasi invisible */
    transition: all 0.3s ease-in-out;
    min-height: 100px; /* Hauteur unifiée */
}

/* Effet au survol */
.client-box:hover {
    transform: translateY(-5px); /* Petite remontée */
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1); /* Ombre plus marquée */
    border-color: transparent;
}

/* L'image du logo */
.client-logo {
    max-height: 65px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    /* Pas de filtre grayscale ici, on garde les couleurs */
}
