/* Ajustement de la recherche globale */
.global-search {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

/* Ajustement du bouton d'ajout */
.add-dropdown {
    margin-right: 10px;
    position: relative;
    order: 1; /* Définir l'ordre pour flexbox */
}

/* Ajustement de la barre de recherche */
.search-box {
    position: relative;
    flex: 1;
    order: 2; /* Définir l'ordre pour flexbox */
    max-width: 400px;
}

.search-box input {
    padding-left: 35px;
    height: 38px;
    border-radius: 7px;
    border: 1px solid #ddd;
    width: 100%;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Ajustement des boutons d'action */
.action-buttons {
    display: flex;
    align-items: center;
    margin-left: auto; /* Pousser à droite */
    order: 3; /* Définir l'ordre pour flexbox */
}



/* Styles pour le bouton d'ajout avec dropdown */
.add-dropdown {
    position: relative;
}

.fas.fa-search.search-icon {
    overflow: hidden;
    width:20px;
}

.add-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 7px;
    padding: 0 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.add-dropdown .dropdown-toggle i {
    margin-right: 5px;
}

.add-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    min-width: 220px;
    padding: 8px 0;
    right:auto;
    margin-top: 8px;
}

.add-dropdown .dropdown-item {
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.add-dropdown .dropdown-item i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.add-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Style spécifique pour chaque icône */
.add-dropdown .dropdown-item i.fa-sticky-note {
    color: #ffc107;
}

.add-dropdown .dropdown-item i.fa-tasks {
    color: #17a2b8;
}

.add-dropdown .dropdown-item i.fa-calendar-alt {
    color: #28a745;
}

