        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 20px;
            padding: 0;
            margin-top: 60px;
            background-color: #f5f5f5;
        }

        .content-section {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 10px;
            margin: 10px auto;
            width: 100%;
        }

        .search-section {
            flex-grow: 1;
            position: relative;
        }

        .search-input {
            padding: 10px 15px;
            width: 77%;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        @media screen and (max-width: 1708px) {
            .search-input {
                width: 70%;
            }

        }

        @media screen and (max-width: 1200px) {
            .search-input {
                width: 60%;
            }
        }

        @media screen and (max-width: 780px) {
            .search-input {
                width: 50%;
            }

        }

        .search-input:focus {
            border-color: #FF7F50;
            box-shadow: 0 0 0 2px rgba(255, 127, 80, 0.1);
            outline: none;
        }

        h2 {
            color: #333;
            border-bottom: 2px solid #FF7F50;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

        .import-button {
            padding: 10px 5px;
            width: 12%;
            border: none;
            color: white;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s ease;
            background-color: #fa9b02;
            float: right;
            cursor: pointer;
            left: 0;
            margin-top: 2px;
        }

        .import-button:hover {
            background-color: #dd8b08;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        .modal-content {
            background-color: white;
            width: 500px;
            padding: 20px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 4px;
        }

        .modal h2 {
            color: #4834d4;
            text-align: center;
            font-size: 100%;
            margin-bottom: 30px;
        }

        .file-input-wrapper {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .file-input-display {
            padding: 6px;
            border: 1px solid #ccc;
            width: 300px;
            background-color: white;
        }

        .choose-file-btn {
            padding: 8px 16px;
            background-color: #6c757d;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .import-btn {
            display: block;
            margin: 0 auto;
            padding: 8px 24px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        #fileInput {
            display: none;
        }

        .column-filter {
            width: 100%;
            padding: 4px;
            margin: 2px 0;
            border: 1px solid #ddd;
            border-radius: 3px;
            font-size: 12px;
            box-sizing: border-box;
        }

        th {
            font-weight: 600;
            color: white;
            padding: 12px 8px;
            position: relative;
            border-bottom: 2px solid #e0e0e0;
        }

        .sort-icon {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 12px;
            cursor: pointer;
        }

        .sort-icon:hover {
            color: #FF7F50;
        }

        th.sort-asc .sort-icon::after {
            content: '↑';
            color: white;
            font-weight: bold;
        }

        th.sort-desc .sort-icon::after {
            content: '↓';
            color: white;
            font-weight: bold;
        }

        th:not(.sort-asc):not(.sort-desc) .sort-icon::after {
            content: '⇕';
        }

        .column-header {
            margin-bottom: 5px;
            cursor: pointer;
            user-select: none;
        }

        .table-container {
            overflow-x: auto;
            margin: 10px 0;
        }

        .filters-row th {
            padding: 4px !important;
            background-color: #f0f0f0;
        }

        .search-input.has-selection {
            border-color: #2196f3;
            background-color: #fff;
        }

        td {
            padding: 12px 8px;
            border-bottom: 1px solid #e0e0e0;
            color: #666;
            transition: background-color 0.2s ease;
        }

        td.selected {
            background-color: #e3f2fd;
            outline: 1px solid #2196f3;
        }

        td::selection {
            background: transparent;
        }

        td::-moz-selection {
            background: transparent;
        }

        .table-container {
            position: relative;
            height: calc(100vh - 250px);
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: auto;
        }


        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background-color: white;
        }

        thead {
            position: sticky;
            top: 0;
            z-index: 1;
            background-color: #fff;
        }

        thead tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }

        thead th {
            background-color: gray;
            border-bottom: 2px solid #ddd;
            padding: 8px 25px 8px 8px !important;
            min-width: 100px;
            box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
        }

        tbody {
            display: table;
            width: 100%;
        }


        tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }

        td,
        th {
            border: 1px solid #ccc;
            padding: 8px;
            text-align: left;
            font-size: 14px;
        }

        .filters-row th {
            position: sticky;
            top: 39px;
            z-index: 1;
            background-color: #f0f0f0;
        }

        /* Styles pour la personnalisation de la barre de défilement */
        .table-container::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        .table-container::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .table-container::-webkit-scrollbar-thumb {
            background: #FF7F50;
            border-radius: 4px;
        }

        .table-container::-webkit-scrollbar-thumb:hover {
            background: #ff6b3d;
        }

        /* Assurer que les cellules gardent une largeur constante */
        th,
        td {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .actions-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            gap: 10px;
        }

        .toast {
            position: fixed;
            top: 2rem;
            right: 2rem;
            padding: 1rem 1.5rem;
            background-color: white;
            border-radius: 6px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: none;
            z-index: 1000;
        }

        .toast-success {
            border-left: 4px solid var(--success-color);
        }

        .toast-error {
            border-left: 4px solid var(--danger-color);
        }

        @media screen and (max-width: 1024px) {
            .table-container {
                height: calc(100vh - 150px);
            }

            tbody {
                height: calc(100vh - 230px);
            }
        }

        /* Style de l'overlay (fond bloquant) */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 999;
        }

        .alert-box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            max-width: 400px;
            background-color: white;
            color: #f44336;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
            font-weight: bold;
        }

        .alert-box-header {
            background-color: #f54945;
            padding: 15px 20px;
            color: #f2f2f2;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            text-align: center;
        }

        .alert-box-header h3 {
            margin: 0;
            font-size: 18px;
        }

        .alert-box-content {
            padding: 20px;
            text-align: center;
            color: #333;
        }

        .alert-box-actions {
            display: flex;
            justify-content: center;
            padding: 10px 20px 20px;
        }

        .alert-box-actions button {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            width: 50%;
            border-radius: 5px;
            transition: background-color 0.3s ease;
            font-weight: bold;
        }

        .alert-box-actions button:hover {
            background-color: red;
        }

        .export-container {
            position: relative;
            display: inline-block;
            margin-left: 10px;
        }

        .export-button {
            padding: 10px 15px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .export-button:hover {
            background-color: #45a049;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .export-button span {
            margin-right: 8px;
        }

        #exportDropdown {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1010;
            border-radius: 6px;
            overflow: hidden;
            top: 100%;
            left: 0;
            margin-top: 5px;
        }

        #exportDropdown a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: background-color 0.2s;
            font-size: 14px;
            cursor: pointer;
        }

        #exportDropdown a:hover {
            background-color: rgb(241, 241, 241);
            color: #FF7F50;
        }


        .modalColis {
            display: none;
            position: fixed;
            z-index: 9999;
            /* padding-top: 60px; */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .modalColis-content {
            max-width: 700px;
            margin: 0 auto;
            background-color: white;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            height: 91vh; 
        }

        .close-modal {
            color: #aaa;
            position: absolute;
            right: 10px;
            top: -5px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10000;
        }
        .close-modal:hover {
            color: #000;
        }
