/*-------------------------------------------------*/
#kt_header {
    position: relative;
}

#header-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* S'étend sur toute la largeur */
    height: 100%; /* S'étend sur toute la hauteur */
    z-index: 1; /* Derrière le contenu */
    pointer-events: none; /* Ne bloque pas les interactions */
}

.header-container {
    position: relative;
    z-index: 2; /* Contenu au-dessus de l'animation */
}

.text-gradient {
    background: linear-gradient(to right, #599DF4, #39D2C0); /* Dégradé de gauche à droite */
    -webkit-background-clip: text; /* Clip le background au texte */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent pour afficher le dégradé */
    text-fill-color: transparent; /* Support pour d'autres navigateurs */
}
/*-------------------------------------------------*/
/* ACCORDEON */
.no-arrow.accordion-button::after {
    display: none;
}
/*-------------------------------------------------*/
/* TABLE */
.top {
    margin-bottom: 10px;
}

.top label {
    display:none;
}

.bottom > div:nth-child(1) {
    margin-top: 10px;
    width: 100px;
}

.table th {
    background-color: rgba(0,0,0,0)!important;
}

.table-striped tr:nth-child(odd) {
    background-color: rgba(0,0,0,0) !important;
}

.table tbody tr {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.table-hover tbody tr:hover {
    cursor: pointer;
}
/*-------------------------------------------------*/
/* SNACKBAR */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #7E8299; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
/* OVERLAY */
#nx-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Toujours couvrir l'écran */
    background: rgba(255, 255, 255, 1); /* Ajuste la couleur si besoin */
    z-index: 9999; /* Toujours au-dessus */
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    position: absolute;
    left: 45%;
    top: 20%;
    height: 4rem;
    width: 4rem;
    border: 4px solid #7E8299;
    border-top-color: #009EF7;
    border-radius: 50%;
    animation: spinner 800ms linear infinite;
}

@keyframes spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
/* FM - Files Manager */
.fm_folder-hidden {
    opacity: 0.5; /* Rendre le dossier semi-transparent */
}
.fm_folder-hidden .text-gray-800 {
    color: #d9534f; /* Changer la couleur du texte pour indiquer un état d'erreur ou de suppression */
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
/* CUSTOM TOOLTIP */
.custom-tooltip {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 300px;
    border-radius: 4px;
    pointer-events: auto;  /* Permet l'interaction avec le contenu du tooltip */
}

.custom-tooltip .row {
    margin-bottom: 10px;
}

.custom-tooltip .btn {
    margin-right: 5px;
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
.draggable {
    cursor: move; /* Pour montrer que l'élément est draggable */
    z-index: 1; /* Assure-toi qu'il n'est pas caché par d'autres éléments */
}

.draggable-handle {
    cursor: grab;
    z-index: 2; /* Assure la visibilité de la poignée */
}

.draggable-handle:active {
    cursor: grabbing;
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
.kanban-board .kanban-drag {
    min-height: 500px !important;
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/
#nxContextualMenu {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    min-width: 200px;
    border-radius: 6px;
    font-family: sans-serif;
}
#nxContextualMenu ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
#nxContextualMenu li {
    padding: 8px 12px;
    cursor: pointer;
}
#nxContextualMenu li:hover {
    background: #f5f5f5;
}

#nxContextualMenu a {
    color: inherit;          /* hérite la couleur du parent */
    text-decoration: none;   /* enlève le soulignement */
    display: block;          /* occupe toute la ligne comme les <li> */
    cursor: pointer;         /* garde le curseur pointer */
}
/*-------------------------------------------------*/
/*-------------------------------------------------*/