.dossier-table-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 500px;
}

.dossier-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.dossier-table-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.dossier-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    pointer-events: none;
    transition: color 0.2s ease;
    width: 20px;
    height: 20px;
}

.dossier-search {
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dossier-search::placeholder {
    color: #999999;
}

.dossier-search:focus {
    outline: none;
    border-color: #999999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.search-wrapper:focus-within .search-icon {
    color: #666666;
}

.dossier-filter {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.dossier-filter:focus {
    outline: none;
    border-color: #999999;
}

.table-wrapper {
    overflow: auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-height: 0;
}

.dossier-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.dossier-table thead {
    background-color: #f5f7fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.dossier-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    background-color: #f5f7fa;
}

.dossier-table th:last-child {
    width: 1%;
    white-space: nowrap;
    padding: 1rem 1rem;
}

.dossier-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.dossier-table th.sortable:hover {
    background-color: #e8e8e8;
}

.dossier-table th.sortable .sort-indicator {
    margin-left: 0.5rem;
    opacity: 0.5;
    font-size: 0.875rem;
}

.dossier-table th.sortable.sorted-asc .sort-indicator::after {
    content: ' ▲';
    opacity: 1;
}

.dossier-table th.sortable.sorted-desc .sort-indicator::after {
    content: ' ▼';
    opacity: 1;
}

.dossier-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.dossier-table tbody tr:hover {
    background-color: #f5f7fa;
}

.dossier-table tbody tr.hidden {
    display: none;
}

.dossier-table td {
    padding: 1rem 1.5rem;
    color: #2c3e50;
}

.dossier-table tbody tr.page-hidden {
    display: none;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
    padding: 0.5rem 0 0.5rem 0;
    flex-shrink: 0;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.show-archived-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color, #0066cc);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--accent-color-dark, #0052a5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-info {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.actions-cell {
    white-space: nowrap;
    padding: 1rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
    width: 1%;
}

.action-btn {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 1rem;
    min-width: 36px;
    min-height: 36px;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-btn:hover,
.open-btn:hover,
.belrap-btn:hover,
.archive-btn:hover,
.notification-btn:hover {
    background-color: var(--accent-color-light, #e6f2ff);
    border-color: var(--accent-color, #0066cc);
    color: var(--accent-color, #0066cc);
}

.notification-btn.active {
    background-color: var(--accent-color-light, #e6f2ff);
    border-color: var(--accent-color, #0066cc);
    color: var(--accent-color, #0066cc);
}

.notification-btn.active i {
    color: var(--accent-color, #0066cc);
}

.action-btn i {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .dossier-table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dossier-controls {
        flex-direction: column;
    }
    
    .dossier-search,
    .dossier-filter {
        max-width: 100%;
    }
}

