@media (max-width: 1440px) {
    .filter-sidebar {
        width: 280px;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }

    .table-container {
        max-width: calc(100% - 300px);
    }
}

@media (max-width: 1280px) {
    .filter-sidebar {
        width: 250px;
    }

    .table-container {
        max-width: calc(100% - 270px);
    }
}

/**
********************************
ADMIN / EDIT OPERATION ADMIN
********************************
**/
.revealable {
    position: relative;
    transition: opacity 0.5s, max-height 0.5s;
    cursor: pointer;
}

.revealable.collapsed {
    max-height: 120px;
    overflow: hidden;
    opacity: 0.5;
}

.revealable.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.revealable.expanded {
    max-height: none;
    opacity: 1;
}

.toggle-arrow {
    transition: transform 0.3s;
}
.toggle-arrow.rotated {
    transform: rotate(180deg);
}

.custom-checkbox{
    width: 31%;
    margin-top: 35px;
}

/**
********************************
ADMIN / PAGE PRINCIPALE
********************************
**/
.text-blue-600 { color: #2563eb; }
.text-green-600 { color: #16a34a; }
.text-yellow-600 { color: #ca8a04; }

.sortable-column {
    cursor: pointer;
    position: relative;
}
.sortable-column:hover {
    background-color: rgba(0,0,0,0.05);
}
.sort-icon {
    font-size: 0.8em;
    opacity: 0.5;
}
.sort-asc .sort-icon:after {
    content: "↑";
}
.sort-desc .sort-icon:after {
    content: "↓";
}
.sort-asc .sort-icon, .sort-desc .sort-icon {
    opacity: 1;
}
.reset-button {
    margin-left: 10px;
    padding: 4px 8px;
    font-size: 11px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}
.reset-button:hover {
    background-color: #e5e7eb;
}
.loading-progress {
    display: inline-block;
    background-color: #13568f;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 10px;
}