* {
    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;

    animation: 0.7s;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

:root {
    --paleBlue: hsl(243, 100%, 93%);

    --grayishBlue: hsl(229, 7%, 55%);

    --darkBlue: hsl(228, 56%, 26%);

    --veryDarkBlue: hsl(229, 57%, 11%);

    --green: #42c04d;

    --green-succes: #a8f0c6;

    --red-error: #f7a7a3;

    --white: #e2e2e2;

    --bluedark: #002866;
}

form {
    /* max-width: 400px; */

    overflow: hidden;
}

/* action multiple btn design */

.btnact {
    border-radius: 5px;

    padding: 3px;

    align-items: center;

    text-align: center;

    margin: 2px;
}

.btnact:hover {
    background-color: #a8f0c6;

    border-radius: 5px;

    padding: 3px;

    align-items: center;

    text-align: center;

    margin: 2px;

    /* transition: .6s; */
}

/* erreur en cas d'insertion de caractere special */

.error-message {
    color: red;

    font-size: 12px;

    margin-top: 5px;

    width: 100%;

    text-align: center;
}

/* design alert notice */

.alert {
    width: 40%;

    margin: 4px;

    padding: 15px;

    position: absolute;

    border-radius: 5px;

    left: 58%;

    box-shadow: 0 0 20px 1px #ccc;
}

.alert::before {
    content: "";

    position: absolute;

    width: 0;

    height: 100%;

    border-left: 1px solid #002866;

    border-right: 2px solid;

    border-bottom-right-radius: 3px;

    border-top-right-radius: 3px;

    left: 0;

    top: 50%;

    transform: translate(0, -50%);

    height: 85%;
}

.closet {
    position: absolute;

    width: 30px;

    height: 30px;

    opacity: 0.5;

    border-width: 1px;

    border-style: solid;

    border-radius: 50%;

    right: 15px;

    top: 6px;

    text-align: center;

    font-size: 1.6em;

    cursor: pointer;
}

/* design alert notice */

/* Design de la fenêtre lightbox */

#lightbox.open {
    display: block;
}

#closeee {
    position: absolute;

    right: 50px;

    top: 70px;

    background: red;

    height: 20px;

    width: 20px;

    border-radius: 15px;

    text-align: center;

    line-height: 20px;

    /* Ajoutez une hauteur de ligne pour centrer verticalement le 'X' */

    color: #ffffff;

    cursor: pointer;
}

#closeee ion-icon {
    font-size: 20px;

    font-weight: 600;
}

/*  Share form  */

::selection {
    color: #fff;

    background: #42c04d;
}

.popup {
    position: fixed;
    top: 150%;

    left: 60%;
    transform: translate(-50%, -50%) scale(1.25);
}

.popup {
    background: #fff;

    padding: 25px;

    border-radius: 15px;

    top: -150%;

    max-width: 380px;

    width: 100%;

    opacity: 0;

    pointer-events: none;

    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);

    transform: translate(-50%, -50%) scale(1.2);

    transition: top 0s 0.2s ease-in-out, opacity 0.2s 0s ease-in-out,
        transform 0.2s 0s ease-in-out;
}

.popup.active {
    top: 50%;

    opacity: 1;

    pointer-events: auto;

    transform: translate(-50%, -50%) scale(1);

    transition: top 0s 0s ease-in-out, opacity 0.2s 0s ease-in-out,
        transform 0.2s 0s ease-in-out;

    color: #000;

    background-color: #fff;
}

.popup form .prtg {
    color: #fff;

    font-size: 17px;

    padding: 3px;

    background-color: #002866;

    border-radius: 4px;

    width: 100%;

    text-align: center;
}

.popup form .prtg:hover {
    background-color: #42c04d;

    transition: 0.6s;
}

.popup header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #ebedf9;
}

.popup .field {
    display: none;

    align-items: center;

    justify-content: space-between;
}

header span {
    font-size: 21px;

    font-weight: 600;
}

header .fermer,
.icons a {
    display: flex;

    align-items: center;

    border-radius: 50%;

    justify-content: center;

    transition: all 0.3s ease-in-out;
}

header .fermer {
    color: #878787;

    font-size: 17px;

    background: #f2f3fb;

    height: 25px;

    width: 25px;

    cursor: pointer;
}

header .fermer:hover {
    background: #ebedf9;
}

.popup .view-modal {
    margin: 20px 0;
}

.popup .icons {
    /* margin: 0px 0px 5px 0px; */

    margin-bottom: 5px;

    grid-gap: 15px;

    display: flex;

    align-items: center;
}

/* .view-modal p {
    font-size: 16px;
}

.view-modal .icons a {
    height: 40px;

    width: 40px;

    font-size: 21px;

    text-decoration: none;

    border: 1px solid transparent;
} */

.icons a i {
    transition: transform 0.3s ease-in-out;
}

.icons a:hover i {
    transform: scale(1.2);
}

/* .view-modal .field {
    margin: 12px 0 -5px 0;

    height: 45px;

    border-radius: 4px;

    padding: 0 5px;

    border: 1px solid #c8c8c8;
} */

.field i {
    width: 50px;

    font-size: 18px;

    text-align: center;
}

.field.active i {
    color: #42c04d;
}

.field .sharedlnk {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    font-size: 15px;

    color: #000;
}

.field .copie {
    color: #fff;

    padding: 8px;

    width: 55%;

    text-align: center;

    background: #002866;

    font-size: 15px;
}

.field .copie:hover {
    background: #42c04d;
}

.field .copie.active {
    background: #42c04d;
}

/**================================*/

a {
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    overflow-x: hidden;

    grid-template-columns: repeat(2, 1fr);

    margin: 0;

    padding: 0;
}

.kontainer {
    position: relative;

    width: 100%;
}

.pag {
    font-weight: bolder;

    border: none;

    padding: 7px;

    margin: 5px;

    width: 70px;

    height: 40px;

    border-radius: 5px;
}

/* .navigation ul .NavTiret {

    width: 90%;

    height: 3px;

    background-color: #42C04D;

    border: none;

    background: linear-gradient(90deg, rgba(0,0,0,1) 25%, rgba(66,192,77,1)100%);

    background: linear-gradient(to top right, rgba(0, 40, 102, 0.6), rgba(0, 40, 102, 0.9));





} */

/* Style pour la section du logo */
.navigation ul li.logo {
    text-align: center; /* Centrer le contenu */
    padding: 10px 0; /* Espacement vertical réduit */
    margin-bottom: 10px; /* Espacement en bas réduit */
}
.navigation ul li.logo {
    text-align: center; /* Centrer le contenu */
    margin: 0;
    padding: 0;
}

.navigation ul li.logo a {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

/* Style pour l'icône du logo */
.navigation ul li.logo .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 90%; /* Taille réduite du conteneur du logo */
    min-height: 100%; /* Taille réduite du conteneur du logo */
    max-width: 90%; /* Taille réduite du conteneur du logo */
    max-height: 100%; /* Taille réduite du conteneur du logo */
    background: rgb(255, 255, 255); /* Fond légèrement transparent */
    border-radius: 10px; /* Forme circulaire */
    border: #42c04d solid 1px; /* Bordure */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre portée plus subtile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navigation ul li.logo .icon:hover {
    transform: scale(1.05); /* Effet de zoom léger au survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée au survol */
}

/* Style pour l'image du logo */
.navigation ul li.logo .icon img {
    width: 100%; /* Taille du logo conservée */
    height: 100%; /* Taille du logo conservée */
    object-fit: contain; /* Conserver les proportions */
}

/* Style pour le titre */
.navigation ul li.logo .title {
    font-size: 0.8em; /* Taille du texte légèrement réduite */
    /* font-weight: 700; */
    color: white; /* Couleur du texte */
    background: linear-gradient(
        145deg,
        #ffffff,
        #c0c0c0
    ); /* Dégradé de couleur */
    -webkit-background-clip: text; /* Appliquer le dégradé au texte */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent */
    transition: background 0.3s ease;
    margin-left: 10px;
}

.navigation ul li.logo:hover .title {
    background: linear-gradient(
        145deg,
        #0044cc,
        #002866
    ); /* Dégradé différent au survol */
}

/* Style pour le séparateur */
.navigation ul li.logo .NavTiret {
    width: 80%; /* Largeur de la ligne */
    height: 1px; /* Épaisseur de la ligne réduite */
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    ); /* Dégradé pour la ligne */
    border: none; /* Supprimer la bordure par défaut */
    margin: 10px auto; /* Centrer la ligne et ajouter un espacement réduit */
}

/* Barre latérale de navigation améliorée avec dimensions conservées */

.navigation {
    /* Votre style existant */
    position: fixed;
    width: 300px;
    height: 100%;
    background: linear-gradient(145deg, #002866, #0044cc);
    transition: 0.4s ease-in-out;
    overflow: hidden;
    overflow-y: scroll; /* Permet le scroll */
    box-shadow: 5px 0 15px rgba(121, 111, 111, 0.2);

    /* Masquer la scrollbar tout en permettant le scroll */
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour IE et Edge */
}

/* Pour Chrome, Safari et Opera */
.navigation::-webkit-scrollbar {
    display: none;
}

/* .navigation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(
        145deg,
        #002866,
        #0044cc
    );
    z-index: 1;
} */

.navigation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%; /* Démarre après .navigation */
    width: calc(100vw - 100%); /* Prend tout l'espace restant */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.836); /* Couleur de test */
    z-index: 99999; /* Derrière .navigation */
    pointer-events: all; /* Permet de cliquer sur le fond */
}

.navigation.active {
    width: 84px;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 20px; /* Décalage pour laisser de la place à la bordure */
    width: calc(100% - 20px); /* Ajustement de la largeur */
    padding: 5px 0;
    z-index: 2; /* Assure que le contenu est au-dessus de la bordure */
}

.navigation ul li {
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    margin-bottom: 2px; /* Espacement réduit entre les éléments */
    border-top: #42c04d solid 3px;
    transition: background 0.3s ease;
}

.navigation ul li.sub,
.navigation ul li.subdrop,
.navigation ul li.item {
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    margin-bottom: 2px; /* Espacement réduit entre les éléments */
    border-top: #fff solid 2px;
    transition: background 0.3s ease;
    transform: scale(0.9);
}

.navigation ul li:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce au survol */
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

.navigation ul li:nth-child(1) {
    margin-bottom: 10px; /* Espacement réduit pour le premier élément */
    pointer-events: none;
    border-top: none;
}

.navigation ul li:last-of-type {
    border-top: none;
}

.navigation ul li:nth-child(1) .icon {
    margin: 1px;
}

.navigation ul li:nth-child(1) a .title {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 6px;
    color: #fff;
}

.navigation ul li a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: white;
    /* padding: 5px 0;  */
    transition: color 0.3s ease;
}

.navigation ul li:not(:first-child) a {
    /* Vos styles ici */
    font-size: 0.8em;
}

.navigation ul li:hover a {
    color: #002866;
}

.navigation ul li a .icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 50px;
    line-height: 65px;
    text-align: center;
}

.navigation ul li a .icon img {
    width: 30px; /* Taille d'icône conservée */
    height: 30px; /* Taille d'icône conservée */
    object-fit: cover;
    cursor: pointer;
    margin: 5px;
}

.navigation ul li a .title {
    position: relative;
    display: block;
    /* padding: 0 10px; */
    height: 50px;
    line-height: 50px;
    text-align: start;
    white-space: nowrap;
    font-size: 1.1em;
    font-weight: 500;
}

.navigation ul li.active {
    background: white;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

.navigation ul li.active a {
    color: #002866;
}

.navigation ul li.active a::before {
    content: "";
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px 35px 0px 10px white;
    pointer-events: none;
    z-index: 1000;
}

.navigation ul li.active a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px -35px 0px 10px white;
    pointer-events: none;
    z-index: 1000;
}

.navigation ul li .box-storage {
    color: #fff;
}

.navigation ul li .box-storage.active {
    display: none;
}

.navigation ul .item,
.navigation ul .subdrop,
.navigation ul .sub {
    display: none;
    margin-left: 10px;
}

/* Curve outside */
.navigation ul li:hover a::before {
    content: "";
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px 35px 0px 10px white;
    pointer-events: none;
    z-index: 1000;
}

.navigation ul li:hover a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px -35px 0px 10px white;
    pointer-events: none;
    z-index: 1000;
}

/* Fin barre latérale navigation Design */

/*Main Css*/

.main {
    position: absolute;

    width: calc(100% - 300px);

    left: 300px;

    min-height: 100vh;

    background: white;

    transition: 0.6s;
}

.main.active {
    width: calc(100% - 80px);

    left: 80px;
}

/* barre horizontal en haut Design*/

.topbar {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}
.toggle {
    position: relative;
    top: 0;
    width: 60px;
    height: 60px;
    /* background-color: white; */
    color: #002866;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    cursor: pointer;
}
.toggle:hover {
    background-color: rgba(0, 40, 102, 0.05);
    transform: scale(1.05);
}

/* Barre de recherche */
.search {
    position: relative;
    flex: 1;
    max-width: 800px;
    margin: 0 20px;
}

.search label {
    position: relative;
    width: 100%;
    display: block;
}

.search label input {
    width: 100%;
    height: 42px;
    border-radius: 50px;
    padding: 5px 20px 5px 45px;
    outline: none;
    border: 2px solid #002866;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}

.search label input:focus {
    border-color: #42c04d;
    box-shadow: 0 0 0 3px rgba(66, 192, 77, 0.2);
    background-color: #fff;
}

.search label ion-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1.3em;
    color: #002866;
    pointer-events: none;
}

/* User code css */
.wrap-user {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 110;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wrap-user:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.wrap-user .profile {
    position: relative;
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    width: 40px;
    overflow: hidden;
    border: 2px solid #fff;
}

.wrap-user div.profile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
    .topbar {
        padding: 0 10px;
        height: 55px;
    }

    .search {
        max-width: 60%;
        margin: 0 10px;
    }

    .toggle {
        width: 40px;
        height: 40px;
        font-size: 1.8em;
    }

    .search label input {
        height: 38px;
        font-size: 14px;
    }
}

.im-shr {
    width: 40px;

    height: 40px;

    object-fit: cover;
}

.icons a .shr-empl {
    display: inline-flex;

    width: 30px;

    height: 30px;
}



/* Masquer les cases à cocher */

.profile-checkbox {
    position: absolute;

    opacity: 0;

    cursor: pointer;
}

/* style="border: 3px solid #002866" */

.colName {
    font-size: 10px;

    font-weight: 600;
}

/*Test user dropdown sur index.html*/

.topbar .userImg {
    width: 50px;

    height: 50px;

    border-radius: 50%;

    cursor: pointer;

    margin-left: 20px;
}

.sub-menu-wrap {
    position: absolute;
    top: 60px;
    right: 15px;
    width: 280px;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 1000;
}

/* .sub-menu-wrap::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(-135deg, #002866, #0044cc);
    transform: rotate(-135deg);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

.sub-menu-wrap.open-menu {
    max-height: 450px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.sub-menu {
    background: linear-gradient(145deg, #002866, #0044cc);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.user-info {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.user-info .profile-info {
    flex: 1;
}

.user-info .profile-info h3 {
    margin: 0 0 5px 15px;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}

.user-info .profile-info .society {
    color: #53b05b;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
}

.user-info hr {
    border: 0;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    color: #fff;
    margin: 15px 0;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sub-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sub-menu-link p {
    width: 100%;
    font-size: 15px;
    transition: color 0.3s ease;
}

.sub-menu-link ion-icon {
    margin-right: 15px;
    font-size: 1.5em;
    min-width: 25px;
    transition: color 0.3s ease;
}

.sub-menu-link span {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.sub-menu-link:hover span {
    transform: translateX(5px);
}

.sub-menu-link:hover p {
    font-weight: 500;
    color: #42c04d;
}

.sub-menu-link:hover ion-icon {
    color: #42c04d;
}

@media (max-width: 768px) {
    .sub-menu-wrap {
        width: 250px;
        right: 10px;
    }

    .sub-menu {
        padding: 18px;
    }

    .user-info .profile-info h3 {
        font-size: 16px;
    }

    .sub-menu-link {
        margin: 12px 0;
    }

    .sub-menu-link p {
        font-size: 14px;
    }

    .sub-menu-link ion-icon {
        font-size: 1.3em;
    }
}

/* Fin barre horizontal en haut Design*/

.hidden {
    display: none;
}

.data-container {
    position: relative;

    display: flex;

    justify-content: center;

    padding: 5px;
}

.data-container button {
    color: #002866;

    background-color: #fff;

    border: none;

    padding: 5px;

    margin: 5px;

    width: 40px;

    height: 40px;

    border-radius: 5px;
}

.data-container #pageInfo {
    color: #002866;

    background-color: #fff;

    border: none;

    padding: 5px;

    margin: 5px;

    width: 70px;

    height: 40px;

    border-radius: 5px;
}

.data-container button ion-icon {
    align-items: center;

    text-align: center;

    margin: 7px;
}

.data-container #pageInfo.active {
    background-color: #42c04d;
}

.data-container button:hover:not(.active) {
    background-color: #bab7b7;

    border-radius: 5px;

    cursor: pointer;
}

/*indication - text icon line */

.indication {
    position: relative;

    left: 20px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.indication.active {
    width: calc(100% - 20%);

    transition: 0.6s;
}

.indication .folderBox {
    display: inline-flex;

    width: 100%;
}

.indication .folderBoxx {
    display: inline-flex;

    width: 100%;
}

.indication .folderBox ion-icon {
    position: relative;

    margin: 5px;

    font-size: 1.3em;

    color: #002866;
}

.indication .folderBoxx ion-icon {
    position: relative;

    margin: 5px;

    font-size: 1.3em;

    color: #002866;
}

.indication .folderBox .textFolder {
    display: flex;

    position: relative;

    margin: 3px;

    font-size: 1.2em;

    color: #002866;
}

.monText {
    position: relative;

    margin: 3px;

    font-weight: 600;

    color: #002866;

    display: flex;

    width: calc(100% - 55px);

    align-items: center;
}

/*Fin indication - text icon line */

/*Progress Bar - disgn*/

#myProgress {
    width: 100%;

    background-color: var(--green);

    border-radius: 15px;

    height: 12px;

    margin: 11px 0px 10px 0px;
}

#myBar {
    width: 100%;

    height: 12px;

    background-color: #e1201d;

    text-align: center;

    line-height: 12px;

    color: white;

    font-size: 11px;

    border-radius: 15px;
}

/*POP UP INFO DESIGN 2*/

.toast {
    position: absolute;

    top: 25px;

    right: 30px;

    border-radius: 12px;

    background: #fff;

    padding: 20px 35px 20px 25px;

    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);

    overflow: hidden;

    transform: translateX(calc(100% + 30px));

    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);

    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.7);
}

.toast.active {
    transform: translateX(0%);
}

.toast .toast-content {
    display: flex;

    align-items: center;
}

.toast-content .check {
    display: flex;

    align-items: center;

    justify-content: center;

    height: 40px;

    min-width: 40px;

    background-color: #d4423d;

    color: #fff;

    font-size: 20px;

    border-radius: 50%;
}

/* .toast-content .check_s {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 40px;

    min-width: 40px;

    background-color: #1da24a;

    color: #fff;

    font-size: 20px;

    border-radius: 50%;

} */

.toast-content .message {
    display: flex;

    flex-direction: column;

    margin: 0 20px;
}

.message .text {
    font-size: 16px;

    font-weight: 400;

    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;

    color: #333;
}

.toast .close {
    position: absolute;

    top: 10px;

    right: 15px;

    padding: 5px;

    cursor: pointer;

    opacity: 0.7;
}

.toast .close:hover {
    opacity: 1;
}

.toast .close:hover {
    opacity: 1;
}

.toast .progress {
    position: absolute;

    bottom: 0;

    left: 0;

    height: 3px;

    width: 100%;
}

.toast .progress:before {
    content: "";

    position: absolute;

    bottom: 0;

    right: 0;

    height: 100%;

    width: 100%;

    background-color: #d4423d;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

.show {
    padding: 12px 20px;

    font-size: 20px;

    outline: none;

    border: none;

    background-color: #d4423d;

    color: #fff;

    border-radius: 6px;

    cursor: pointer;

    transition: 0.3s;
}

.toast.active ~ button {
    pointer-events: none;
}

/* Card Folder design*/

.cardBox {
    position: relative;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap; /* Permet le retour à la ligne automatique */
    gap: 10px; /* Espacement uniforme entre les cartes */
}

.cardBox .card {
    position: relative;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    width: 120px; /* Largeur fixe de chaque carte */
    height: 80px; /* Hauteur fixe de chaque carte */
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #002866;
    /* La flexibilité est définie par la largeur fixe */
}

.cardBox .card .numbers {
    position: relative;
    font-weight: 700;
    font-size: 0.8em;
    text-align: center;
    color: #42c04d;
}

.cardBox .card .cardName {
    color: #000;
    font-size: 0.6em;
    margin-top: 3px;
}

.cardBox .card .iconBox img {
    width: 20px;
    height: 20px;
}

.cardBox .card:hover {
    background: linear-gradient(145deg, #0044cc, #002866);
    border: none;
    transition: 0.5s;
}

.cardBox .card:hover .cardName {
    color: #fff;
}

/* Si vous souhaitez centrer les cartes dans le conteneur */
@media (max-width: 768px) {
    .cardBox {
        justify-content: center; /* Centre les cartes quand l'écran est plus petit */
    }
}
/* Fin Card Folder design*/

/* Liste de fichiers design*/

.details {
    position: relative;

    width: 100%;

    padding: 10px;

    display: grid;

    grid-template-columns: 1fr;

    grid-gap: 30px;

    margin-top: 10px;
}

.chemin {
    font-size: 15px;

    color: #002866;

    align-items: center;

    text-align: center;

    display: flex;

    position: relative;

    justify-content: space-between;
}

.chemin div {
    display: flex;
}

.chemin div ion-icon {
    font-size: 1.2em;

    font-weight: 600;
}

.chemin div span {
    font-size: 1em;

    font-weight: 300;

    margin: 2px;
}

.btnBack {
    margin: 5px;
}

/* Test CSS */

/* Test CSS */

.details .recentFiles {
    position: relative;

    background-color: #fff;

    padding: 20px;

    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);

    border-radius: 20px;
}

.details table {
    width: 100%;

    border-collapse: collapse;

    margin-top: 10px;
}

.details table thead td {
    font-weight: 900;
    padding: 5px;
}

.details .recentFiles table tr {
    color: #002866;

    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    height: 5px;
}

.details .recentFiles table tbody tr:nth-child(2n + 1) {
    background-color: lightgray;
}

.details .recentFiles table tbody tr:hover {
    background-color: #42c04d;

    cursor: pointer;
}

/* .details .recentFiles table tr td:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.details .recentFiles tbody tr .actionFile a {
    margin: 1px;

    font-size: 20px;
}

.details .recentFiles tbody tr .actionFile a:hover {
    color: #fff;
}

.details .recentFiles tbody #folderContents {
    display: none;
}

/* Fin Liste de ficheirs design*/

/*Upload zone deisgn*/

.uploadZone {
    position: relative;

    width: 100%;

    padding: 10px;

    display: grid;

    grid-template-columns: 1fr;

    grid-gap: 30px;

    margin-top: 10px;
}

.uploadZone .uploadBox {
    position: relative;

    background-color: #fff;

    padding: 20px;

    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);

    border-radius: 20px;
}

.uploadZone .uploadBox .fileUpload {
    position: relative;

    width: 100%;

    min-height: 120px;

    background-color: #f4f4f4;

    color: #002866;

    align-items: center;

    text-align: center;

    padding: 20px;

    border: 4px solid #002866;

    border: dashed;
}

.uploadZone .uploadBox .fileUpload div p {
    font-size: 1.5em;

    margin: 20px;
}

.uploadZone .uploadBox .listUpload {
    position: relative;

    width: 100%;

    color: #002866;

    align-items: center;

    text-align: center;

    margin: 10px;
}

.uploadBtn button {
    background: linear-gradient(145deg, #002866, #0044cc);

    width: 150px;

    height: 40px;

    border: 0;

    border-radius: 10px;

    margin-top: 30px;
}

.uploadBtn button:hover {
    background-color: #42c04d;

    transition: 0.6s;
}

.uploadBtn button span {
    font-size: 1em;

    font-weight: 500;

    margin: 5px;

    color: #fff;
}

.uploadBtn button ion-icon {
    margin: -2px;

    margin-left: 6px;

    color: #fff;
}

/* zone de visualisation de fichier */

/*  Button ouverure formulaire */

#btnOpenform {
    position: fixed;
    right: 10px;
    bottom: 30px;
    width: 45px; /* Réduit de 60px à 45px */
    height: 45px; /* Réduit de 60px à 45px */
    border-radius: 50%;
    background: linear-gradient(145deg, #002866, #0044cc);
    box-shadow: 0 5px 15px -5px #000; /* Ombre réduite */
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
}

#btnOpenform:hover {
    box-shadow: 0 5px 15px #000; /* Ombre réduite */
    transform: translatey(3px); /* Déplacement réduit */
    transition: all 0.3s;
}

#btnOpenform ion-icon {
    font-size: 1.8em; /* Réduit de 2.6em à 1.8em */
}

#btnOpenform.active {
    background-color: #42c04d;
}

@keyframes come-in {
    0% {
        transform: translatey(80px); /* Réduit de 100px à 80px */
        opacity: 0;
    }
    30% {
        transform: translateX(-30px) scale(0.4); /* Réduit de -50px à -30px */
    }
    70% {
        transform: translateX(0px) scale(1.1); /* Réduit de 1.2 à 1.1 */
    }
    100% {
        transform: translatey(0px) scale(1);
        opacity: 1;
    }
}

.floating-container {
    position: fixed;
    width: 80px; /* Réduit de 100px à 80px */
    height: 80px; /* Réduit de 100px à 80px */
    bottom: 0;
    right: 0;
    margin: 25px 20px; /* Réduit de 35px 25px à 25px 20px */
}

.floating-container:hover {
    height: 220px; /* Réduit de 270px à 220px */
}

.floating-container:hover .floating-button {
    box-shadow: 0 5px 15px #000; /* Ombre réduite */
    transform: translatey(3px); /* Déplacement réduit */
    transition: all 0.3s;
}

.floating-container:hover .element-container .float-element:nth-child(1) {
    animation: come-in 0.4s forwards 0.2s;
}

.floating-container:hover .element-container .float-element:nth-child(2) {
    animation: come-in 0.4s forwards 0.4s;
}

.floating-container:hover .element-container .float-elements:nth-child(1) {
    animation: come-in 0.4s forwards 0.2s;
}

.floating-container:hover .element-container .float-elements:nth-child(2) {
    animation: come-in 0.4s forwards 0.4s;
}

.floating-container .floating-button {
    position: absolute;
    width: 45px; /* Réduit de 60px à 45px */
    height: 45px; /* Réduit de 60px à 45px */
    background: linear-gradient(145deg, #002866, #0044cc);
    bottom: 0;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    line-height: 48px; /* Ajusté pour la nouvelle taille */
    text-align: center;
    font-size: 18px; /* Réduit de 23px à 18px */
    z-index: 100;
    box-shadow: 0 5px 15px -5px #000; /* Ombre réduite */
    cursor: pointer;
    transition: all 0.3s;
}

.floating-container .float-element {
    position: relative;
    display: block;
    border-radius: 50%;
    width: 40px; /* Réduit de 50px à 40px */
    height: 40px; /* Réduit de 50px à 40px */
    margin: 12px auto; /* Réduit de 15px à 12px */
    color: white;
    font-weight: 500;
    text-align: center;
    line-height: 40px; /* Ajusté pour la nouvelle taille */
    z-index: 0;
    opacity: 0;
    transform: translateY(80px); /* Réduit de 100px à 80px */
}

.floating-container .float-elements {
    position: relative;
    border-radius: 5px;
    display: block;
    align-items: start;
    width: 110px; /* Réduit de 130px à 110px */
    height: 25px; /* Réduit de 27px à 25px */
    margin: 12px 0px 0px -112px; /* Ajusté pour la nouvelle taille */
    color: white;
    font-weight: 600;
    text-align: center;
    line-height: 25px; /* Ajusté pour la nouvelle taille */
    top: 12px; /* Réduit de 15px à 12px */
    right: 12px; /* Réduit de 15px à 12px */
    z-index: 0;
    opacity: 0;
    transform: translateY(80px); /* Réduit de 100px à 80px */
}

.float-element:hover::before.active {
    opacity: 1;
}

.floating-container .float-element .txthov {
    position: relative;
    display: block;
    border-radius: 50%;
    width: 120px; /* Réduit de 150px à 120px */
    height: 40px; /* Réduit de 50px à 40px */
    margin: 12px auto; /* Réduit de 15px à 12px */
    color: white;
    font-weight: 500;
    text-align: center;
    line-height: 40px; /* Ajusté pour la nouvelle taille */
    z-index: 0;
    opacity: 0;
    transform: translateY(80px); /* Réduit de 100px à 80px */
}

.floating-container .float-element .material-icons {
    vertical-align: middle;
    font-size: 14px; /* Réduit de 16px à 14px */
}

.floating-container .float-element:nth-child(1) {
    background: linear-gradient(145deg, #002866, #0044cc);
    box-shadow: 0 10px 15px -5px #000; /* Ombre réduite */
}

.floating-container .float-element:nth-child(2) {
    background: linear-gradient(145deg, #002866, #0044cc);
    box-shadow: 0 10px 15px -5px #000; /* Ombre réduite */
}

.floating-container .float-elements .material-icons {
    vertical-align: middle;
    font-size: 14px; /* Réduit de 16px à 14px */
}

.floating-container .float-elements:nth-child(1) {
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    font-size: 12px; /* Réduit de 13px à 12px */
}

.floating-container .float-elements:nth-child(2) {
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    font-size: 12px; /* Réduit de 13px à 12px */
}

.formdesign {
    position: relative;

    top: -2px;

    right: -2px;

    width: 170px;

    max-height: 0px;

    transition: max-height 0.5s;

    box-shadow: rgba(0, 0, 0, 0.5);

    /* overflow: hidden; */
}

.formdesign::before {
    content: "";

    position: absolute;

    bottom: -5px;

    top: -19px;

    right: 35px;

    width: 15px;

    height: 15px;

    background: linear-gradient(145deg, #002866, #0044cc);

    transform: rotate(-135deg);
}

/* .floating-container .float-element:nth-child(3) {

    background: #002866;

    box-shadow: 0 20px 20px -10px #000;

} */

/* hover buutton action  */

.tooltip {
    position: relative;

    /* making the .tooltip span a container for the tooltip text */
}

.tooltip:before {
    content: attr(data-text);

    /* here's the magic */

    position: absolute;

    /* vertically center */

    top: 50%;

    transform: translateY(-50%);

    /* move to right */

    right: 100%;

    margin-right: 10px;

    /* and add a small left margin */

    /* basic styles */

    width: 200px;

    /* padding: 2px; */

    border-radius: 25px;

    background: linear-gradient(145deg, #002866, #0044cc);

    color: #fff;

    text-align: center;

    display: none;

    /* hide by default */
}

.tooltip:hover:before {
    display: block;
}

.tooltip:after {
    content: "";

    position: absolute;

    /* position tooltip correctly */

    right: 100%;

    left: -15px;

    margin-right: 5px;

    /* vertically center */

    top: 50%;

    transform: translateY(-50%);

    /* the arrow */

    border: 10px solid #002866;

    border-color: transparent transparent transparent #002866;

    display: none;
}

.tooltip:hover:before,
.tooltip:hover:after {
    display: block;
}

.tooltip:before {
    /* other styles */

    /*  display:none; */

    opacity: 0;

    transition: 0.3s opacity;
}

.tooltip:hover:before {
    opacity: 1;
}

.tooltip:after {
    opacity: 0;

    transition: 0.3s;
}

.tooltip:hover:after {
    opacity: 1;
}

/* button spinner use online */

.button {
    position: relative;

    padding: 8px 16px;

    background: linear-gradient(145deg, #002866, #0044cc);

    border: none;

    outline: none;

    border-radius: 2px;

    cursor: pointer;
}

.button:active {
    background: #023889;
}

.button__text {
    font: 17px "Trebuchet Ms", san-serif;

    color: #ffffff;

    transition: all 0.2s;
}

.button--loading .button__text {
    visibility: hidden;

    opacity: 0;
}

.button--loading::after {
    content: "";

    position: absolute;

    width: 16px;

    height: 16px;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    margin: auto;

    border: 4px solid transparent;

    border-top-color: #ffffff;

    border-radius: 50%;

    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* Spinner loaders design */

/* .loader {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    display: inline-block;

    position: relative;

    right: -50px;

    top: -38px;

    background: linear-gradient(0deg, rgba(255, 61, 0, 0.2) 33%, #002866 100%);

    box-sizing: border-box;

    animation: rotation 1s linear infinite;

}



.loader::after {

    content: '';

    box-sizing: border-box;

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 31px;

    height: 31px;

    border-radius: 50%;

    background: #fff;

}



@keyframes rotation {

    0% {

        transform: rotate(0deg)

    }



    100% {

        transform: rotate(360deg)

    }

} */

/* Spinner 2 */

/* .dots-5 {

    width: 15px;

    aspect-ratio: 1;

    border-radius: 50%;

    animation: d5 1s infinite linear alternate;

}



@keyframes d5 {

    0% {

        box-shadow: 20px 0 #000, -20px 0 #0002;

        background: #000

    }



    33% {

        box-shadow: 20px 0 #000, -20px 0 #0002;

        background: #0002

    }



    66% {

        box-shadow: 20px 0 #0002, -20px 0 #000;

        background: #0002

    }



    100% {

        box-shadow: 20px 0 #0002, -20px 0 #000;

        background: #000

    }

}



 */

/*Form Creation dossier*/

.formPopup {
    position: fixed;
    display: flex;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 30px 35px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    transition: top 300ms cubic-bezier(0.18, 0.89, 0.32, 1.28),
        opacity 300ms ease-in-out, transform 300ms ease-in-out;
    z-index: 1000;
}

.formPopup .form {
    width: 100%;
}

.formPopup.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 300ms ease-in-out,
        transform 300ms ease-in-out;
}

.formPopup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #002866;
    font-size: 1.5em;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formPopup .close-btn:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: scale(1.1);
}

.formPopup .form .choicefor .form-element {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formPopup .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 600;
}

.formPopup .form .form-element {
    margin: 15px 0;
    width: 100%;
}

.formPopup .form .form-element label {
    display: block;
    font-size: 1.1em;
    color: #002866;
    margin-bottom: 8px;
    font-weight: 500;
}

.formPopup .form .form-element input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 40, 102, 0.3);
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}
.formPopup .form .form-element select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 40, 102, 0.3);
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}

.formPopup .form .form-element input[type="text"]:focus {
    outline: none;
    border-color: #002866;
    box-shadow: 0 0 0 3px rgba(0, 40, 102, 0.1);
    background-color: #fff;
}

.formPopup .form .form-element button {
    width: 100%;
    height: 48px;
    margin: 20px 0 8px;
    border: none;
    outline: none;
    font-size: 18px;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formPopup .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 20px;
}

.formPopup .form .form-element button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 192, 77, 0.3);
}

.formPopup .form .form-element button:active {
    transform: translateY(0);
}

/*Formulaire creeer dossier 2*/
.formPop {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 250ms ease-in-out, transform 250ms ease-in-out;
    z-index: 999;
}

.formPop.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 250ms ease-in-out,
        transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formPop .cl-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #002866;
    font-size: 1.7em;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formPop .cl-btn:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: rotate(90deg);
}

.formPop .form .choicefor .form-element {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.formPop .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 600;
    width: 100%;
}

.formPop .form .form-element {
    margin: 15px 0;
    width: 100%;
}

.formPop .form .form-element label {
    font-size: 1.1em;
    color: #002866;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.formPop .form .form-element input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 40, 102, 0.3);
    border-radius: 6px;
    font-size: 1.1em;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.formPop .form .form-element input[type="text"]:focus {
    border-color: #002866;
    box-shadow: 0 0 0 2px rgba(0, 40, 102, 0.1);
    outline: none;
}

.formPop .form .form-element button {
    width: 100%;
    height: 45px;
    margin: 20px 0 5px;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formPop .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.formPop .form .form-element button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 192, 77, 0.3);
}

.formPop .form .form-element button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(66, 192, 77, 0.3);
}

/*Formulaire creeer dossier 2*/
.formImp {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -150%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 90%;
    max-width: 450px;
    padding: 30px 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    align-items: center;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 250ms ease-in-out, transform 250ms ease-in-out;
    z-index: 999;
}

.formImp.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 250ms ease-in-out,
        transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formImp .c-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #002866;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formImp .c-btn:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: rotate(90deg);
}

.formImp form {
    width: 100%;
}

.formImp .fileUpload {
    position: relative;
    width: 100%;
    min-height: 80px;
    background-color: #f8f9fa;
    color: #002866;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    border: 2px dashed #002866;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.formImp .fileUpload:hover {
    background-color: rgba(0, 40, 102, 0.05);
    border-color: #42c04d;
    transform: translateY(-2px);
}

.formImp .fileUpload div {
    width: 100%;
}

.formImp .fileUpload div p {
    font-size: 16px;
    margin: 10px 0;
    color: #002866;
}

/* Style pour gérer l'affichage des noms de fichiers longs */
.formImp .fileUpload input[type="file"] {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    /* text-overflow: ellipsis; */
    padding: 10px 0;
}

.formImp .listUpload {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 20px 0 10px;
    flex-direction: column;
}

/* Style pour afficher les noms de fichiers sélectionnés */
.formImp .listUpload p {
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 5px 0;
    color: #002866;
}

.formImp .uploadBtn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.formImp .uploadBtn button {
    background: #002866;
    width: 160px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formImp .uploadBtn button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 192, 77, 0.2);
}

.formImp .uploadBtn button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(66, 192, 77, 0.2);
}

.formImp .uploadBtn button span {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #fff;
}

.formImp .uploadBtn button ion-icon {
    margin-right: 8px;
    color: #fff;
    font-size: 18px;
}

/* Animation de chargement pour le bouton */
.formImp .button--loading .button__text {
    visibility: hidden;
    opacity: 0;
}

.formImp .button--loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/*Form supprimer fichier ou dossier*/

.formDelete {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    text-align: center;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 250ms ease-in-out, transform 250ms ease-in-out;
    z-index: 999;
}

.formDelete.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 250ms ease-in-out,
        transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formDelete .closeBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #660000;
    font-size: 1.7em;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formDelete .closeBtn:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff3333;
    transform: rotate(90deg);
}

.formDelete .form .form-element {
    justify-content: space-between;
    margin: 15px 0;
    width: 100%;
}

.formDelete .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 600;
    width: 100%;
}

.formDelete .form .form-element .fileName {
    font-size: 1.1em;
    margin: 20px 0;
    padding: 10px;
    background-color: rgba(0, 40, 102, 0.05);
    border-radius: 6px;
    color: #002866;
    font-weight: 500;
    word-break: break-word;
}

.formDelete .form .form-element button {
    width: 100%;
    height: 45px;
    margin: 20px 0 5px;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formDelete .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.formDelete .form .form-element button:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 51, 51, 0.3);
}

.formDelete .form .form-element button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 51, 51, 0.3);
}

/* loader */
.bouncing-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bouncing-loader > div {
    width: 16px;
    height: 16px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #3498db;
    opacity: 1;
    animation: bouncing-loader 1.4s infinite ease-in-out both;
}

.bouncing-loader > div:nth-child(1) {
    animation-delay: -0.32s;
}

.bouncing-loader > div:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bouncing-loader {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
        background-color: #2980b9;
    }
}

#preloader-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader {
    text-align: center;
}

/* Form info file */
.formInfo {
    position: fixed;
    display: flex;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 35px 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    transition: top 300ms cubic-bezier(0.18, 0.89, 0.32, 1.28),
        opacity 300ms ease-in-out, transform 300ms ease-in-out;
    z-index: 1000;
}

.formInfo.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 300ms ease-in-out,
        transform 300ms ease-in-out;
}

.formInfo .ferm-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #002866;
    font-size: 1.5em;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formInfo .ferm-btn:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: scale(1.1);
}

.formInfo .form button {
    width: 100%;
    height: 45px;
    margin: 20px 0 8px;
    border: none;
    outline: none;
    font-size: 18px;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formInfo .form button ion-icon {
    margin-right: 8px;
    font-size: 20px;
}

.formInfo .form button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 192, 77, 0.3);
}

.formInfo .form button:active {
    transform: translateY(0);
}

/* Improved styles for the form content */
.formInfo .form ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.formInfo .form li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.formInfo .form li b {
    min-width: 100px;
    display: inline-block;
    color: #002866;
}

.formInfo .form .header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.formInfo .form .header ion-icon {
    font-size: 24px;
    color: #002866;
    margin-right: 10px;
}

.formInfo .form hr {
    background-color: #002866;
    height: 2px;
    border: none;
    margin: 10px 0 20px;
}

/* Improved colleagues list styling */
.formInfo .icons {
    display: flex;
    padding: 8px 0;
    margin: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #002866 #f0f0f0;
}

.formInfo .icons::-webkit-scrollbar {
    height: 6px;
}

.formInfo .icons::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.formInfo .icons::-webkit-scrollbar-thumb {
    background: #002866;
    border-radius: 10px;
}

.formInfo .icons li {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.formInfo .icons .colleague-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    color: #002866;
    font-weight: bold;
}

.formInfo .icons .colleague-name {
    font-size: 12px;
    text-align: center;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.formInfo2 {
    position: fixed;

    display: flex;

    top: -150%;

    left: 60%;

    opacity: 0;

    transform: translate(-50%, -50%) scale(1.25);

    width: 450px;

    padding: 35px 30px;

    background: #fff;

    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

    border-radius: 10px;

    align-items: center;

    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;

    z-index: 1;
}

.formInfo2.active {
    top: 50%;

    opacity: 1;

    transform: translate(-50%, -50%) scale(1);

    transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;
}

.formInfo2 .ferm-btn {
    position: absolute;

    top: 10px;

    right: 10px;

    width: 30px;

    height: 30px;

    cursor: pointer;

    color: #002866;

    font-size: 1.7em;

    text-align: center;

    line-height: 30px;

    border-radius: 30px;

    cursor: pointer;
}

.formInfo2 .form button {
    width: 100%;

    height: 40px;

    margin: 4px;

    border: none;

    outline: none;

    font-size: 20px;

    background: linear-gradient(145deg, #002866, #0044cc);

    color: #fff;

    cursor: pointer;
}

.formInfo2 .form button ion-icon {
    margin: -3px;
}

.formInfo2 .form button:hover {
    background-color: #42c04d;

    color: #fff;
}

.formInfo3 {
    position: fixed;

    display: flex;

    top: -150%;

    left: 60%;

    opacity: 0;

    transform: translate(-50%, -50%) scale(1.25);

    width: 450px;

    padding: 35px 30px;

    background: #fff;

    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

    border-radius: 10px;

    align-items: center;

    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;

    z-index: 1;
}

.formInfo3.active {
    top: 50%;

    opacity: 1;

    transform: translate(-50%, -50%) scale(1);

    transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;
}

.formInfo3 .ferm-btn {
    position: absolute;

    top: 10px;

    right: 10px;

    width: 30px;

    height: 30px;

    cursor: pointer;

    color: #002866;

    font-size: 1.7em;

    text-align: center;

    line-height: 30px;

    border-radius: 30px;

    cursor: pointer;
}

.formInfo3 .form button {
    width: 100%;

    height: 40px;

    margin: 4px;

    border: none;

    outline: none;

    font-size: 20px;

    background: linear-gradient(145deg, #002866, #0044cc);

    color: #fff;

    cursor: pointer;
}

.formInfo3 .form button ion-icon {
    margin: -3px;
}

.formInfo3 .form button:hover {
    background-color: #42c04d;

    color: #fff;
}

.formInfo4 {
    position: fixed;

    display: flex;

    top: -150%;

    left: 60%;

    opacity: 0;

    transform: translate(-50%, -50%) scale(1.25);

    width: 450px;

    padding: 35px 30px;

    background: #fff;

    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

    border-radius: 10px;

    align-items: center;

    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;

    z-index: 1;
}

.formInfo4.active {
    top: 50%;

    opacity: 1;

    transform: translate(-50%, -50%) scale(1);

    transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
        transform 200ms ease-in-out 0ms;
}

.formInfo4 .ferm-btn {
    position: absolute;

    top: 10px;

    right: 10px;

    width: 30px;

    height: 30px;

    cursor: pointer;

    color: #002866;

    font-size: 1.7em;

    text-align: center;

    line-height: 30px;

    border-radius: 30px;

    cursor: pointer;
}

.formInfo4 .form button {
    width: 100%;

    height: 40px;

    margin: 4px;

    border: none;

    outline: none;

    font-size: 20px;

    background: linear-gradient(145deg, #002866, #0044cc);

    color: #fff;

    cursor: pointer;
}

.formInfo4 .form button ion-icon {
    margin: -3px;
}

.formInfo4 .form button:hover {
    background-color: #42c04d;

    color: #fff;
}

/*Form supprimer definitif fichier ou dossier*/

.formDeldef {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    text-align: center;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 250ms ease-in-out, transform 250ms ease-in-out;
    z-index: 999;
}

.formDeldef.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 250ms ease-in-out,
        transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formDeldef .closBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #002866;
    font-size: 1.7em;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formDeldef .closBtn:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff3333;
    transform: rotate(90deg);
}

.formDeldef .form .form-element {
    justify-content: space-between;
    margin: 15px 0;
    width: 100%;
}

.formDeldef .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formDeldef .form h2 ion-icon {
    color: #ff3333;
    margin-right: 10px;
    font-size: 1.2em;
}

.formDeldef .form .form-element .fileName {
    font-size: 1.1em;
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 6px;
    color: #002866;
    font-weight: 500;
    word-break: break-word;
}

.formDeldef .form .form-element button {
    width: 100%;
    height: 45px;
    margin: 20px 0 5px;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formDeldef .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.formDeldef .form .form-element button:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 51, 51, 0.3);
}

.formDeldef .form .form-element button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 51, 51, 0.3);
}

/*Form renommer fichier ou dossier*/
.formRename {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    text-align: center;
    transition: top 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 250ms ease-in-out, transform 250ms ease-in-out;
    z-index: 999;
}

.formRename.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 250ms ease-in-out,
        transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formRename .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #002866;
    font-size: 1.7em;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formRename .btn-close:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: rotate(90deg);
}

.formRename .form .form-element {
    justify-content: space-between;
    margin: 15px 0;
    width: 100%;
}

.formRename .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 25px;
    font-size: 26px;
    font-weight: 600;
    width: 100%;
    line-height: 1.3;
}

.formRename .form h2 span {
    font-size: 1em;
    color: #d20b0b;
    font-weight: 600;
}

.formRename .form .form-element label {
    font-size: 1.1em;
    color: #002866;
    margin-bottom: 8px;
    display: block;
    text-align: left;
    font-weight: 500;
}

.formRename .form .form-element input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 40, 102, 0.3);
    border-radius: 6px;
    font-size: 1.1em;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.formRename .form .form-element input[type="text"]:focus {
    border-color: #002866;
    box-shadow: 0 0 0 2px rgba(0, 40, 102, 0.1);
    outline: none;
}

.formRename .form .form-element .fileName {
    font-size: 1.1em;
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(0, 40, 102, 0.05);
    border-radius: 6px;
    color: #002866;
    font-weight: 500;
    word-break: break-word;
}

.formRename .form .form-element button {
    width: 100%;
    height: 45px;
    margin: 20px 0 5px;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formRename .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.formRename .form .form-element button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 192, 77, 0.3);
}

.formRename .form .form-element button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(66, 192, 77, 0.3);
}

/*Form supprimer definitif fichier ou dossier*/

.formRestore {
    position: fixed;
    display: flex;
    top: -150%;
    left: 60%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 450px;
    padding: 25px 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    align-items: center;
    text-align: center;
    transition: top 300ms cubic-bezier(0.18, 0.89, 0.32, 1.28),
        opacity 300ms ease-in-out, transform 300ms ease-in-out;
    z-index: 1000;
}

.formRestore.active {
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 0ms, opacity 300ms ease-in-out,
        transform 300ms ease-in-out;
}

.formRestore .cloBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #002866;
    font-size: 1.5em;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 40, 102, 0.05);
}

.formRestore .cloBtn:hover {
    background: rgba(0, 40, 102, 0.1);
    transform: scale(1.1);
}

.formRestore .form .form-element {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.formRestore .form h2 {
    text-align: center;
    color: #002866;
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.formRestore .form h2 ion-icon {
    color: #42c04d;
    font-size: 28px;
}

.formRestore .form .form-element .fileName {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
    word-break: break-word;
    text-align: left;
}

.formRestore .form .form-element button {
    width: 100%;
    height: 45px;
    margin: 20px 0 5px;
    border: none;
    outline: none;
    font-size: 18px;
    background: linear-gradient(145deg, #002866, #0044cc);
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formRestore .form .form-element button ion-icon {
    margin-right: 8px;
    font-size: 20px;
}

.formRestore .form .form-element button:hover {
    background-color: #42c04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 192, 77, 0.3);
}

.formRestore .form .form-element button:active {
    transform: translateY(0);
}

/* @media (max-width: 768px) {
    .formRestore {
        width: 320px;
        left: 50%;
        padding: 20px;
    }

    .formRestore .form h2 {
        font-size: 20px;
    }

    .formRestore .form .form-element .fileName {
        font-size: 1em;
    }

    .formRestore .form .form-element button {
        height: 40px;
        font-size: 16px;
    }

    .formRestore .cloBtn {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 1.3em;
        line-height: 25px;
    }
} */

/*##############  Css upload     ###################*/

/*   Storage design     */

/* Ajustement précédent pour .storageBox et .box */
.storageBox {
    position: relative;
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.storageBox .box {
    position: relative;
    background: #fff;
    padding: 12px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    text-align: center;
}

/* Ajustement spécifique pour le canvas dans .box */
.storageBox .box #myChart,
.storageBox .box #myChart2 {
    display: block;
    box-sizing: border-box;
    height: 300px !important; /* Hauteur réduite */
    width: 100% !important; /* Largeur adaptative */
    max-width: 350px; /* Largeur maximale */
    margin: 0 auto; /* Centrage horizontal */
}

/* Reste du CSS précédent... */
.storageBox .stoSize {
    position: relative;
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 15px;
}

.storageBox .StorageZ {
    position: relative;
    padding: 12px;
    border-radius: 12px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    color: #002866;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.storageBox .StorageZ::before {
    background: hsl(125, 50%, 51%);
    content: "";
    inset: 0;
    border-radius: 20px;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}
.storageBox .StorageZ:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.storageBox .StorageZ .storageSize {
    font-size: 1em;
    font-weight: 600;
    z-index: 0;
}
.storageBox .StorageZ .storageName {
    z-index: 0;
}
.storageBox .StorageZ .iconSto {
    z-index: 0;
}
.storageBox .StorageZ .iconSto ion-icon {
    font-size: 1.5em;
    z-index: 0;
}

/* Adaptation responsive pour le canvas */
@media (max-width: 768px) {
    .storageBox {
        grid-template-columns: 1fr;
    }

    .storageBox .box #myChart,
    .storageBox .box #myChart2 {
        height: 250px !important; /* Hauteur encore plus réduite sur petit écran */
        max-width: 280px; /* Largeur maximale plus petite */
    }
}

@media (max-width: 480px) {
    .storageBox .box #myChart,
    .storageBox .box #myChart2 {
        height: 200px !important; /* Hauteur minimale sur très petit écran */
    }
}

/*Formulaire Login Page*/

.loginBody {
    background: linear-gradient(
            to top right,
            rgba(0, 40, 102, 0.6),
            rgba(0, 40, 102, 0.9)
        ),
        url("../img/bg 1.jpg");

    background-size: cover;

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;
}

.loginBody .bg-container {
    width: 100%;

    height: 100%;

    opacity: 0.81;

    position: absolute;
}

/*Footer login*/

footer {
    position: fixed;

    bottom: 0;

    text-align: center;

    color: #fff;

    /* margin: 1px; */

    padding: 2px;

    background: linear-gradient(-145deg, #002866, #0044cc);

    width: 100%;

    display: block;

    justify-content: center;

    align-items: center;

    margin-top: 2em;
}

footer .foot {
    text-align: center;

    justify-content: center;

    align-items: center;

    margin-left: -20%;

    font-size: 12px;
}

footer .africa {
    color: #002866;

    text-align: center;

    display: inline-flex;

    align-items: center;

    font-size: 12px;
}

footer .africa:hover {
    font-weight: 700;

    transition: 0.6s;
}

footer img {
    width: 100px;

    height: 55px;
}

/*Formulaire ForgetPassword Page*/

.forgetBody {
    /*background: linear-gradient(to top right,  rgba(66, 192, 77, 0.8), rgba(0, 40, 102, 0.9) ), url('img/bg\ \(7\).jpg');*/

    background: linear-gradient(
            to top right,
            rgba(0, 40, 102, 0.6),
            rgba(0, 40, 102, 0.9)
        ),
        url("../img/bg 7.jpg");

    background-size: cover;

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;
}

.forgetBody .bg-container {
    width: 100%;

    height: 100%;

    opacity: 0.81;

    position: absolute;
}

/*Sucess form*/

.success-page {
    width: 350px;

    padding: 8% 0 0;

    margin: auto;

    margin-top: 10px;

    margin-bottom: auto;

    display: none;
}

.success-page .form .success {
    margin-top: -31px;

    margin-bottom: 26px;
}

.formSucc {
    position: relative;

    z-index: 1;

    background: #fff;

    max-width: 360px;

    margin: 0 auto 100px;

    padding: 45px;

    text-align: center;

    align-items: center;

    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

    border-radius: 20px;
}

.formSucc .success .success-header h3 {
    font-size: 1.5rem;

    font-weight: 600;

    color: #42c04d;
}

.formSucc .success img {
    height: 100px;

    max-width: 100%;

    width: 100px;

    align-items: center;

    margin-left: 70px;
}

/*Sucess form upload*/

.success-upload {
    width: 350px;

    padding: 8% 0 0;

    margin: auto;

    margin-top: 10px;

    margin-bottom: auto;
}

.success-upload .form .success {
    margin-top: -31px;

    margin-bottom: 26px;
}

.formUpl {
    position: relative;

    z-index: 1;

    background: #fff;

    max-width: 360px;

    margin: 0 auto 100px;

    padding: 45px;

    text-align: center;

    align-items: center;

    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

    border-radius: 20px;
}

.formUpl .success .success-header h3 {
    font-size: 1.5rem;

    font-weight: 600;

    color: #42c04d;
}

.formUpl .success img {
    height: 100px;

    max-width: 100%;

    width: 100px;

    align-items: center;

    margin-left: 70px;
}

.formLog button a {
    text-decoration: none;
}

.formSucc .formUpl a {
    margin: 15px;

    background-color: #42c04d;

    padding: 6px;

    border-radius: 5px;

    color: white;
}

.formSucc .formUpl .messageupl {
    margin: 15px;

    background-color: #42c04d;

    padding: 6px;

    border-radius: 5px;

    color: white;
}

.formSucc .formUpl .messageupl:hover {
    background-color: #42c04d;

    color: white;

    transition: 0.6s;
}

/*Form page design*/

.login-page {
    width: 360px;

    padding: 8% 0 0;

    margin: auto;

    margin-top: 10px;

    margin-bottom: auto;

    background: url();
}

.login-page .form .login {
    margin-top: -31px;

    margin-bottom: 26px;
}

.formLog {
    position: relative;

    z-index: 1;

    background: #fff;

    max-width: 360px;

    margin: 0 auto 100px;

    padding: 45px;

    text-align: center;

    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);

    border-radius: 20px;
}

.formLog input {
    font-family: "Roboto", sans-serif;

    outline: 0;

    background: #f2f2f2;

    width: 100%;

    border: 0;

    margin: 0 0 15px;

    padding: 15px;

    box-sizing: border-box;

    font-size: 14px;
}

.formLog .login .login-header h3 {
    font-size: 1.5rem;

    font-weight: 600;

    color: #42c04d;
}

.formLog button {
    outline: 0;

    background-color: #42c04d;

    background-image: linear-gradient(45deg, #002866, #42c04d);

    width: 100%;

    border: 0;

    padding: 15px;

    color: #ffffff;

    font-size: 14px;

    -webkit-transition: all 0.3 ease;

    transition: all 0.3 ease;

    cursor: pointer;

    border-radius: 10px;
}

.formLog button a {
    text-decoration: none;
}

.formLog .messagePswd {
    margin: 15px 0 0;

    color: #4caf50;

    font-size: 12px;
}

.formLog .messagePswd a {
    color: #4caf50;

    text-decoration: none;
}

.formLog .message a:hover {
    color: #002866;
}

.formLog .messagePswd a:hover {
    color: #002866;

    transition: 0.6s;
}

.formLog .messageAn {
    margin: 15px 0 0;

    font-size: 12px;

    color: #fff;

    background-color: #d4423d;

    opacity: 0.8;

    padding: 3px;

    border-radius: 3px;
}

.formLog .messageAn a {
    color: #fff;

    text-decoration: none;
}

.formLog .messageAn ion-icon {
    color: #fff;
}

.container {
    position: relative;

    z-index: 1;

    max-width: 300px;

    margin: 0 auto;
}

/* Base styles */
.employee-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-bottom: 4em;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.profile-avatar {
    margin-right: 2rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.profile-info {
    flex: 1;
}

.employee-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.employee-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    color: #4b5563;
}

.detail-item ion-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: #6366f1;
}

/* Content Cards */
.content-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.content-card {
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 2rem;
    margin-right: 1.25rem;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.content-card:hover .card-icon {
    transform: scale(1.1);
}

.documents .card-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.music .card-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.images .card-icon {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.videos .card-icon {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #1e293b;
}

.file-count {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Statistics */
.statistics-container {
    margin-top: 2rem;
}

.stats-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
}

.stats-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.stats-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.chart-container {
    flex: 1;
    min-width: 300px;
    height: 300px;
    position: relative;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.07));
}

.stats-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.stats-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateX(6px);
}

.color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 1rem;
    transition: transform 0.2s ease;
}

.legend-item:hover .color-indicator {
    transform: scale(1.2);
}

.color-indicator.documents {
    background: #6366f1;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.4);
}

.color-indicator.music {
    background: #ec4899;
    box-shadow: 0 2px 5px rgba(236, 72, 153, 0.4);
}

.color-indicator.images {
    background: #14b8a6;
    box-shadow: 0 2px 5px rgba(20, 184, 166, 0.4);
}

.color-indicator.videos {
    background: #f97316;
    box-shadow: 0 2px 5px rgba(249, 115, 22, 0.4);
}

.legend-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.legend-label {
    font-weight: 500;
    color: #4b5563;
}

.legend-value {
    font-weight: 600;
    color: #1e293b;
}

.total-storage {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
}

.total-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .profile-avatar {
        margin-right: 0;
        margin-bottom: 1.25rem;
    }

    .employee-details {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .content-cards {
        flex-direction: column;
        overflow-x: visible;
    }

    .content-card {
        width: 100%;
    }

    .stats-content {
        flex-direction: column;
    }

    .chart-container {
        width: 100%;
        height: 250px;
    }
    .stats-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-container {
        min-width: 100%;
        height: 250px; /* Hauteur réduite pour mobile */
    }
    
    .stats-details {
        min-width: 100%;
    }
    
    .legend-item {
        padding: 0.5rem 0;
    }
}

/* Tablette (taille moyenne) */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
    }

    .content-card {
        width: auto;
    }
}

@media (max-width: 480px) {
    .content-card {
        min-width: 100%;
    }
}

/* bouton retour */
/* CSS */
.smooth-back-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: #6366F1; /* Couleur principale */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-out;
    overflow: hidden;
  }
  
  .button-text {
    transition: transform 0.3s ease-out;
  }
  
  .arrow-icon {
    position: absolute;
    left: -20px;
    opacity: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-out;
  }
  
  .arrow-icon svg {
    width: 1rem;
    height: 1rem;
  }
  
  /* Animation au survol */
  .smooth-back-button:hover {
    padding-left: 1.8rem;
  }
  
  .smooth-back-button:hover .arrow-icon {
    left: 0;
    opacity: 1;
  }
  
  .smooth-back-button:hover .button-text {
    transform: translateX(5px);
  }
  
  /* Effet de clic */
  .smooth-back-button:active {
    transform: scale(0.96);
  }
  
  /* Version mobile */
  @media (max-width: 768px) {
    .smooth-back-button {
      font-size: 0.9rem;
      padding: 0.4rem 0.8rem;
    }
    
    .smooth-back-button:hover {
      padding-left: 1.5rem;
    }
  }

/*Fin Form page design*/

/*   responsive  design here    */

@media (max-width: 991px) {
    #lightbox.open {
        display: block;
    }

    /* #lightbox_content {

        position: absolute;

        overflow: hidden;

        width: 100vh;

        height: 100vh;

        border-radius: 10px;

        left: 60%;

        top: 50%;

        transform: translate(-50%, -50%);

        text-align: center;

        padding: 10%;

        box-sizing: border-box;

        overflow: auto;

    } */
    #closeee {
        position: absolute;

        right: 20px;

        top: 20px;

        background: rgba(0, 0, 0, 0.2);

        height: 20px;

        width: 20px;

        border-radius: 15px;

        text-align: center;

        color: #ffffff;

        cursor: pointer;
    }

    .navigation ul li:nth-child(1) a .title {
        font-size: 1em;
    }

    .formLog {
        margin-top: 15vh;
    }

    body {
        overflow-x: hidden;

        padding: 2px;
    }

    .storageBox {
        grid-template-columns: 2fr;
    }

    .navigation {
        left: -300px;
    }

    .navigation.active {
        width: 300px;

        left: 20px;
    }

    .main {
        width: 100%;

        left: 0;
    }

    .main.active {
        left: 300px;
    }

    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }

    .storageBox .stoSize {
        grid-template-columns: 1, 1fr;
    }

    .storageBox .stoSize .StorageZ {
        grid-template-columns: 1, 1fr;
    }

    .details .recentFiles table tr td:nth-child(2) {
        width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) span {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    footer .foot {
        margin-left: 1%;
    }
}

@media (max-width: 820px) {
    .indication .folderBoxx {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        justify-content: start;
    }

    .indication .folderBoxx .textFolder {
        position: relative;

        margin: 3px;

        font-size: 1.3em;

        color: #002866;

        left: -40%;
    }

    #myProgress {
        width: 310px;

        background-color: var(--green);

        border-radius: 15px;

        height: 12px;

        margin: 5px;
    }
}

@media (max-width: 884px) {
    .formPopup {
        position: fixed;

        display: flex;

        top: -100%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 500px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formPopup.active {
        top: 50%;

        left: 50%;

        opacity: 1;

        z-index: 0;
    }

    .formImp {
        position: fixed;

        display: flex;

        top: -150%;

        left: 60%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 450px;

        padding: 35px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .formImp.active {
        top: 50%;

        left: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formPop {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formPop.active {
        top: 50%;

        left: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 0;
    }
}

@media (max-width: 768px) {
    /* .indication .folderBoxx {

        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        justify-content: start;

    } */

    .indication .folderBoxx {
        width: 100%;

        display: inline-flex;

        /* grid-template-columns: repeat(2, 1fr);

        justify-content: start; */
    }
    footer {
        display: none;
    }

    #myBar {
        width: 10%;

        height: 12px;

        background-color: #e1201d;

        text-align: center;

        line-height: 12px;

        color: white;

        border-radius: 15px;
    }

    /* design alert notice */

    .alert {
        width: 40%;

        margin: 2px;

        padding: 15px;

        position: absolute;

        border-radius: 5px;

        left: 58%;

        box-shadow: 0 0 20px 1px #ccc;

        font-size: 12px;
    }

    .alert::before {
        content: "";

        position: absolute;

        width: 0;

        height: 100%;

        border-left: 1px solid #002866;

        border-right: 2px solid;

        border-bottom-right-radius: 3px;

        border-top-right-radius: 3px;

        left: 0;

        top: 50%;

        transform: translate(0, -50%);

        height: 55%;
    }

    .closet {
        position: absolute;

        width: 30px;

        height: 30px;

        opacity: 0.5;

        border-width: 1px;

        border-style: solid;

        border-radius: 50%;

        right: 15px;

        top: 6px;

        text-align: center;

        font-size: 1.6em;

        cursor: pointer;
    }

    /* design alert notice */

    .toast {
        position: absolute;

        top: 25px;

        right: 20px;

        border-radius: 12px;

        background: #fff;

        padding: 20px 35px 20px 25px;

        box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);

        overflow: hidden;

        transform: translateX(calc(100% + 30px));

        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    }

    .formLog {
        margin-top: 15vh;
    }

    body {
        overflow-x: hidden;

        padding: 2px;
    }

    .details {
        grid-template-columns: 1, 1fr;
    }

    .recentFiles {
        overflow: auto;
    }

    .details .recentFiles tbody tr .actionFile {
        margin: 4px;

        font-size: 25px;

        display: inline-block;

        grid-template-columns: 2, 1fr;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }
}

@media (max-width: 360px) {
    .details .recentFiles tbody tr .actionFile {
        margin: 4px;

        font-size: 25px;

        display: inline-block;

        grid-template-columns: repeat(2, 1fr);
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .main.active .toggle {
        margin-left: -200px;

        margin-top: 10px;
    }
}

@media (max-width: 540px) {
    .chemin .actionBtn .btnact .actbtn {
        display: none;
    }

    .monText {
        display: block;
    }
}

/**

 * ----------------------------------------

 * animation blink-1

 * ----------------------------------------

 */

@-webkit-keyframes blink-1 {
    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes blink-1 {
    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

/* Notification PopUp */

@media (max-width: 540px) {
    body {
        overflow-x: hidden;

        padding: 2px;
    }

    table tbody tr td:nth-child(2) span i {
        margin-left: 5px;
    }

    .details .recentFiles tbody tr .actionFile {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;

        margin-top: 5px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .details .recentFiles tbody tr:nth-child(2n + 1) {
        height: 0px;
    }

    .indication .folderBoxx {
        margin-left: -10px;
    }
}
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .formLog {
        margin-top: 15vh;
    }

    .alert {
        width: 60%;

        margin: 4px;

        padding: 15px;

        position: absolute;

        border-radius: 5px;

        left: 38%;

        box-shadow: 0 0 20px 1px #ccc;
    }

    .formInfo {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 350px;

        padding: 30px 15px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .formInfo2 {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 350px;

        padding: 30px 15px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .popup {
        background: #fff;

        padding: 15px;

        border-radius: 15px;

        top: -150%;

        max-width: 300px;

        max-height: auto;

        width: 100%;

        opacity: 0;

        pointer-events: none;

        box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
        margin-left: -5%;

        /* transform: translate(-50%, -50%) scale(1.2); */

        transition: top 0s 0.2s ease-in-out, opacity 0.2s 0s ease-in-out,
            transform 0.2s 0s ease-in-out;
    }

    .popup header {
        border-bottom: 1px solid #ebedf9;
    }

    header span {
        font-size: 18px;

        font-weight: 600;
    }

    .popup .view-modal {
        margin: 0px;
    }

    /* .popup .view-modal div.link-copy-container {
        max-width: 300px;
        /* background-color: red; */
        /* transform: scale(0.7); */
    /* } */

    .popup .icons {
        margin: 7px 0 7px 0;
    }

    /* .view-modal .field {
        margin: 12px 0 -5px 0;

        height: 30px;

        border-radius: 4px;

        border: 1px solid #c8c8c8;
    }

    .field .copie {
        color: #fff;

        padding: 4px;

        width: 55%;

        text-align: center;

        background: linear-gradient(145deg, #002866, #0044cc);

        font-size: 15px;

        border-radius: 1px 5px 5px 1px;
    } */

    .cardBox {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    /* #lightbox_content {

        position: absolute;

        overflow: hidden;

        width: 50vh;

        height: 100vh;

        border-radius: 10px;

        left: 60%;

        top: 50%;

        transform: translate(-50%, -50%);

        text-align: center;

        padding: 10%;

        box-sizing: border-box;

        overflow: auto;

    } */

    .indication .folderBoxx {
        width: 94%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        justify-content: start;
    }

    .indication .folderBoxx .textFolder {
        position: relative;

        margin: 3px;

        font-size: 1.3em;

        color: #002866;

        left: -98vh;

        width: 100vh;
    }

    #myProgress {
        width: 320px;

        background-color: var(--green);

        border-radius: 15px;

        height: 12px;

        margin: 5px;
    }

    #myBar {
        width: 10%;

        height: 12px;

        background-color: #e1201d;

        text-align: center;

        line-height: 12px;

        color: white;

        border-radius: 15px;
    }

    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }

    .textFolder {
        font-size: 20px;
    }

    .wrap-user {
        min-width: 40px;
    }

    .navigation {
        width: 100%;

        left: -100%;

        z-index: 10001;
    }

    .floating-container {
        bottom: 25px;
    }

    .navigation.active {
        width: 250px;
        overflow: visible;
        left: 0;
    }

    .navigation ul li.active a::before,
    .navigation ul li.active a::after {
        content: none;
    }

    .navigation ul li .box-storage {
        width: 100%;

        height: 100%;
    }

    .navigation ul .item,
    .navigation ul .subdrop,
    .navigation ul .sub {
        display: none;
        margin-left: 50px;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .navigation ul .item a,
    .navigation ul .subdrop a,
    .navigation ul .sub a {
        font-size: 0.8em;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .toggle {
        z-index: 10001;
    }

    .navigation ul li {
        margin: 10px;
    }

    .navigation ul li a {
        font-size: 1em;
    }

    .main.active .toggle {
        position: fixed;

        color: #fff;
    }

    .details .recentFiles tbody tr {
        height: 0px;
    }

    .details .recentFiles tbody tr .actionFile {
        font-size: 18px;

        display: inline-block;

        grid-template-columns: repeat(2, 1fr);
    }

    details .recentFiles tbody tr .actionFile a {
        font-size: 1.4em;
    }

    .formPopup {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formPopup.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 0;
    }

    .formPopup .form h2 {
        font-size: 1.2em;
    }

    .formPopup .form .form-element label {
        font-size: 1em;
    }

    .formPop {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formPop.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 0;
    }

    .formPop .form h2 {
        font-size: 1.2em;
    }

    .formPop .form .form-element label {
        font-size: 1em;
    }

    .formImp {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 25px 11px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        width: auto;
    }

    .formImp.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 0;
    }

    .formImp form {
        margin: 15px;
    }

    .formImp .form h2 {
        font-size: 1.2em;
    }

    .formImp .form .form-element label {
        font-size: 1em;
    }
    /* Adaptations mobile */
    .formImp {
        padding: 25px 20px;
        width: 95%;
    }

    .formImp .fileUpload {
        min-height: 70px;
        padding: 15px;
    }

    .formImp .fileUpload div p {
        font-size: 14px;
    }

    .formImp .uploadBtn button {
        width: 140px;
        height: 45px;
    }

    .formImp .uploadBtn button span {
        font-size: 15px;
    }

    .formDelete {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formDelete.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 2;
    }

    .formDelete .form h2 {
        font-size: 1.2em;
    }

    .formDelete .form .form-element label {
        font-size: 1em;
    }

    .formRename {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formRename.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .formRename .form h2 {
        font-size: 1.2em;
    }

    .formRename .form .form-element label {
        font-size: 1em;
    }

    .formRestore {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formRestore.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .formRestore .form h2 {
        font-size: 1.2em;
    }

    .formRestore .form .form-element label {
        font-size: 1em;
    }

    .formDeldef {
        position: fixed;

        display: flex;

        top: -150%;

        left: 50%;

        opacity: 0;

        transform: translate(-50%, -50%) scale(1.25);

        width: 320px;

        padding: 15px 30px;

        background: #fff;

        box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);

        border-radius: 10px;

        align-items: center;

        transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;
    }

    .formDeldef.active {
        top: 50%;

        opacity: 1;

        transform: translate(-50%, -50%) scale(1);

        transition: top 0ms ease-in-out 0ms, opacity 200ms ease-in-out 0ms,
            transform 200ms ease-in-out 0ms;

        z-index: 1;
    }

    .formDeldef .form h2 {
        font-size: 1.2em;
    }

    .formDeldef .form .form-element label {
        font-size: 1em;
    }

    .indication {
        left: 20px;

        width: 350px;
    }

    #btnOpenform {
        position: fixed;

        display: flex;

        right: 20px;

        bottom: 40px;

        width: 45px;

        height: 45px;

        border-radius: 50%;

        background: linear-gradient(145deg, #002866, #0044cc);

        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

        color: #fff;

        border: none;

        outline: none;

        cursor: pointer;

        margin-left: 10px;
    }

    #btnOpenform ion-icon {
        font-size: 2.1em;

        margin: 6px;
    }

    .topbar {
        padding: 0 25px;
    }

    .topbar .search {
        width: 200px;

        margin: 0 15px;
    }

    .uploadZone {
        margin: 20px;

        width: 280px;
    }

    .uploadZone .uploadBox {
        font-size: 10px;
    }

    .data-container #pageInfo {
        display: none;
    }

    /* Style pour la section du logo */
    .navigation ul li.logo {
        text-align: center; /* Centrer le contenu */
        margin-top: 5px; /* Espacement en haut */
        margin-left: 5px; /* Espacement gauche */
        padding: 0;
    }

    .navigation ul li.logo a {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        text-decoration: none;
    }
    .navigation ul li.logo a .icon {
        min-width: 100%;
        max-width: 100%;
        min-height: 100%;
        max-height: 100%;
        border-radius: 10px;
    }
    /* Style pour l'image du logo */
    .navigation ul li.logo .icon img {
        width: 100%; /* Taille du logo conservée */
        height: 50px; /* Taille du logo conservée */
        object-fit: contain; /* Conserver les proportions */
    }

    .navigation ul li.logo a span.title {
        display: none;
    }

    /* Style pour le titre */
    .navigation ul li:nth-child(1) a .title {
        font-size: 1em;
    }

    /* Style pour le séparateur */
    .navigation ul li.logo .NavTiret {
        width: 80%; /* Largeur de la ligne */
        height: 1px; /* Épaisseur de la ligne réduite */
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent
        ); /* Dégradé pour la ligne */
        border: none; /* Supprimer la bordure par défaut */
        margin: 10px auto; /* Centrer la ligne et ajouter un espacement réduit */
    }

    .navigation ul {
        left: 0;
    }

    .main.active .toggle {
        margin-left: -20px;

        margin-top: 10px;
    }

    /* Modifier la taille de la police pour les titres */

    .login-header h3 {
        font-size: 1.5rem;
    }

    /* Modifier la taille de la police pour les paragraphes */

    .login-header p {
        font-size: 1rem;
    }

    /* Modifier la largeur du formulaire */

    .formLog {
        max-width: 90%;
    }

    /* Modifier la largeur des champs de saisie */

    .formLog input {
        width: 90%;
    }

    /* Modifier la taille du bouton */

    .formLog button {
        font-size: 1.2rem;
    }

    .formLog select {
        width: 100%;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .details .recentFiles tbody tr:nth-child(2n + 1) {
        height: 0px;
    }

    .cardBox .card {
        flex-direction: column;
        align-items: center;
    }

    .cardBox .card div:last-child {
        display: flex;
        gap: 0.6rem;
    }
}
@media (max-width: 414px) {
    .details .recentFiles tbody tr .actionFile {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    .details .recentFiles tbody tr .actionFile a {
        font-size: 1em;
    }

    .navigation ul .NavTiret {
        width: 40%;
    }

    .navigation ul li .box-storage {
        width: 350px;

        height: 350px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .details .recentFiles tbody tr:nth-child(2n + 1) {
        height: 0px;
    }
}

@media (max-width: 412px) {
    .details .recentFiles tbody tr .actionFile a {
        font-size: 1.4em;
    }

    .navigation ul .NavTiret {
        width: 40%;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    /* .details .recentFiles table tr td:nth-child(4) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(4) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    } */

    .details .recentFiles tbody tr:nth-child(2n + 1) {
        height: 0px;
    }
}

@media (max-width: 375px) {
    .details .recentFiles tbody tr .actionFile {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    .details .recentFiles tbody tr .actionFile a {
        font-size: 1, 9em;
    }
}
@media (300px <= width <= 350px) {
    .main.active .toggle {
        margin-left: -60px;
        margin-top: 10px;
    }
}
@media (width <= 330px) {
    .numbers {
        display: none;
    }
}
@media (281px <= width <= 299px) {
    .main.active .toggle {
        margin-left: -80px;
        margin-top: 10px;
    }
}

@media (max-width: 280px) {
    /* table tbody td:nth-child(2) */

    /*POP UP INFO DESIGN 2*/

    .toast {
        position: absolute;

        top: 20px;

        right: 18px;

        border-radius: 12px;

        background: #fff;

        padding: 5px 10px 5px 5px;

        box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);

        overflow: hidden;

        transform: translateX(calc(100% + 30px));

        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    }

    .toast.active {
        transform: translateX(0%);
    }

    .toast .toast-content {
        display: flex;

        align-items: center;
    }

    .toast-content .check {
        display: flex;

        align-items: center;

        justify-content: center;

        height: 25px;

        min-width: 25px;

        background-color: #d4423d;

        color: #fff;

        font-size: 15px;

        border-radius: 50%;
    }

    /* .toast-content .check {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 40px;

    min-width: 40px;

    background-color: #d4423d;

    color: #fff;

    font-size: 20px;

    border-radius: 50%;

    } */

    .toast-content .message {
        display: flex;

        flex-direction: column;

        margin: 0 15px;
    }

    .message .text {
        font-size: 16px;

        font-weight: 400;

        color: #666666;
    }

    .message .text.text-1 {
        font-weight: 600;

        color: #333;
    }

    .toast .close {
        position: absolute;

        top: 10px;

        right: 15px;

        padding: 2px;

        cursor: pointer;

        opacity: 0.7;
    }

    .toast .close:hover {
        opacity: 1;
    }

    .toast .close:hover {
        opacity: 1;
    }

    .toast .progress {
        position: absolute;

        bottom: 0;

        left: 0;

        height: 3px;

        width: 100%;
    }

    .toast .progress:before {
        content: "";

        position: absolute;

        bottom: 0;

        right: 0;

        height: 100%;

        width: 100%;

        background-color: #e84843;
    }

    .progress.active:before {
        animation: progress 5s linear forwards;
    }

    @keyframes progress {
        100% {
            right: 100%;
        }
    }

    .show {
        padding: 12px 20px;

        font-size: 20px;

        outline: none;

        border: none;

        background-color: #e84843;

        color: #fff;

        border-radius: 6px;

        cursor: pointer;

        transition: 0.3s;
    }

    .formLog {
        max-width: 250px;

        padding: 25px;
    }

    .toast.active ~ button {
        pointer-events: none;
    }

    .details .recentFiles table tr td:nth-child(2) {
        max-width: 100px;
    }

    .details .recentFiles table tr td:nth-child(2) {
        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .navigation ul li .box-storage {
        width: 220px;

        height: 220px;
    }

    .details .recentFiles tbody tr .actionFile {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    .details .recentFiles tbody tr .actionFile a {
        font-size: 0.8em;
    }

    .details .recentFiles tbody tr:nth-child(2n + 1) {
        height: 0px;
    }

    .main.active .toggle {
        margin-left: -100px;

        margin-top: 10px;
    }

    .navigation ul li a {
        font-size: 1em;
    }

    .navigation ul li a .title ion-icon {
        /* margin: -8px; */

        padding-left: 15px;
    }

    .navigation ul .item,
    .navigation ul .subdrop,
    .navigation ul .sub {
        display: none;
        margin-left: 30px;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .navigation ul .item a,
    .navigation ul .subdrop a,
    .navigation ul .sub a {
        font-size: 0.8em;
    }

    .navigation ul .NavTiret {
        width: 300%;
    }

    footer {
        width: 100%;
    }
}
@media (width <= 250px) {
    .cardBox {
        grid-template-columns: 1fr;
    }
}
