@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");


/* Dashboard.css: */
* {
    box-sizing: border-box;
}

.width_drapeau {
    width: 25px;
}

strong {
    color: white;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #e8f6ff !important;
    overflow-x: hidden;
}

h1 {
    font-weight: 800;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}


.main {
    height: 100vh;
    /* Garantit l'occupation totale */
    width: 100%;
    display: flex;
    /* flex-direction: column; */
}


#sidebar {
    width: 290px;
    height: auto;
    transition: all 0.35s ease-in-out;
    background-image: linear-gradient(90deg, #cdffd8, #94b9ff);
    display: flex;
    flex-direction: column;
    border-right: 3px solid #d0d0d0;
    border-radius: 0;
}

.sidebar {
    height: 100%;
    position: relative;
}


#sidebar.collapsed {
    width: 78px;
    gap: 50px;
}

#sidebar.collapsed .bienvenue {
    display: none;
}

#sidebar.collapsed .text {
    opacity: 0;
}

#sidebar .separateur.collapsed {
    width: 60px;
    height: 1px;
}

.toggler-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.toggler-btn i {
    font-size: 1.75rem;
    color: #000;
    font-weight: 1000;
}

#sidebar {

    .bienvenue {
        margin: 30px 0;
        top: 15px;
        position: relative;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        align-items: center;

        img {
            width: 30px;
            margin-right: 5px;
        }

        h4 {
            display: flex;
            font-size: 17px;
            align-items: center;
        }

        .tooltiptext {
            visibility: hidden;
            width: 120px;
            background-color: black;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;

            /* Position the tooltip */
            position: absolute;
            z-index: 1;
            top: 100%;
            left: 50%;
            margin-left: -60px;
            font-size: 14px;
        }
    }

    .menu-links {
        padding-left: 10px !important;

        li {
            height: 50px;
            margin-top: 10px;
            display: flex;
            align-items: center;
        }

        li a {
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            text-decoration: none;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        li .icon {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            font-size: 20px;
        }

        li .text {
            font-size: 20px;
            font-weight: 500;
            color: #000;
        }

        li a:hover {
            background-color: #355cb0;
        }


        li a:hover .icon,
        li a:hover .text {
            color: white !important;
        }
    }


}

.container-fluid .img_nav {
    display: none;
}

.button_sidebar {
    display: flex;
    align-items: center;
    gap: 15%
}

@media (max-width:1350px) {
    .main {
        flex-direction: column;
    }
}

/* Screen size less than 768px */

@media (max-width:768px) {

    .sidebar-toggle {
        width: 78px;
    }

}

.nav-pills li {
    padding-left: 30px !important;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav li {
    margin: 0 15px;
}

.dropdown-lang button {
    background: none;
    border: none;
}

.dropdown-lang ul {
    padding: 0 !important;
    min-width: auto !important;
    right: 80px !important;
}



.navbar-nav .profil {
    width: 40px;
    height: 40px;
    border: 1px solid black;
    border-radius: 50%;
}

.offcanvas {
    display: none;
    background-image: linear-gradient(90deg, #cdffd8, #94b9ff) !important;
}

.offcanvas-body {
    .bienvenue {
        margin: 30px 0;
        top: 15px;
        position: relative;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        align-items: center;

        img {
            width: 35px;
            margin-right: 5px;
            border: 1px solid white
        }

        h4 {
            display: flex;
            font-size: 17px;
            align-items: center;
        }

        h5 {
            margin: 0;
            color: #000000 !important;
        }

        .tooltiptext {
            visibility: hidden;
            width: 120px;
            background-color: #000000;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;

            /* Position the tooltip */
            position: absolute;
            z-index: 1;
            top: 100%;
            left: 50%;
            margin-left: -60px;
            font-size: 14px;
        }
    }

    .menu-links {
        padding-left: 10px !important;

        li {
            height: 50px;
            margin-top: 10px;
            display: flex;
            align-items: center;
        }

        li a {
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            text-decoration: none;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        li .icon {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            font-size: 20px;
            color: #000000 !important;
        }

        li .text {
            font-size: 20px;
            font-weight: 500;
            color: #000000;
        }
    }
}

.btn-offcanvas {
    display: none;
}

.container p span:hover {
    cursor: pointer;
    color: #f3992e;
}

footer {
    position: relative;
    z-index: 10;
}

@media screen and (max-width: 1300px) {
    .main {
        width: 100%;
    }
}

.dropdown-ordi {

    .dropdown-menu {
        position: absolute;
    }
}

.dropdown-client {
    display: none;
}


@media screen and (max-width: 992px) {
  

    .navbar-menu {
        display: none;
    }

    .dropdown-client {
        display: block;
    }


    #sidebar {
        display: none;
    }

    .container-fluid {
        gap: 22px;
    }

    .container-fluid .img_nav {
        display: block;
        width: 60px;
        border-radius: 50%;
    }

    .container-fluid #open {
        display: none;
    }

    .btn-offcanvas {
        display: block;
    }

    .offcanvas {
        display: flex;
    }

    .button_sidebar {
        display: none;
    }
}