@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'Poppins', sans-serif;
}

/* Styles de base */

#page-body {
    background-color: #abafc6;
}

#navbar {
    background-color: #797aa7;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem;
}

#logo {
    max-height: 5rem;
}

#navbarNav .nav-link {
    border: 1px solid white;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
}

#navbarNav .nav-link:hover {
    background-color: #8A97FE;
}

/* Spécifiques pour chaque rôle utilisateur */
#nav-employe:hover {
    background-color: #679436;
}

#nav-profile:hover {
    background-color: #FFEB69;
}

#nav-admin:hover {
    background-color: #335F8A;
}

#nav-logout:hover {
    background-color: #C23028;
}

/* Bandeau d'acceptation des cookies RGPD */
#cookie-banner {
    background-color: #333;
    color: white;
    padding: 1rem;
    border-radius: 10px 10px 0 0; /* Bord arrondi en haut */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre pour un effet surélevé */
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cookie-text {
    font-size: 14px;
    max-width: 80%; /* Limite la largeur du texte */
}

#cookie-text a {
    color: #4e73df; /* Couleur des liens */
    text-decoration: none;
    font-weight: bold;
}

#cookie-text a:hover {
    color: #2e59d9; /* Couleur du lien au survol */
}

#acceptCookies {
    background-color: #28a745;
    border: none;
    padding: 0.5rem 1.2rem;
    color: white;
    font-weight: bold;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

#acceptCookies:hover {
    background-color: #218838; /* Couleur du bouton au survol */
}

/* Adaptation pour petits écrans */
@media (max-width: 767px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-text {
        font-size: 12px;
        margin-bottom: 1rem;
    }

    #acceptCookies {
        width: 100%;
        padding: 0.7rem;
    }
}