
.table-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.table-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.activity-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.activity-table th,
.activity-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 13px;
    min-width: 80px;
}

.activity-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 10;
}

.activity-table th.user-header {
    text-align: left;
    min-width: 150px;
    background: #6c757d;
    color: white;
}

.activity-table td.user-cell {
    text-align: left;
    font-weight: 600;
    background: #f8f9fa;
    color: #495057;
}

.activity-table th.user-header,
.activity-table td.user-cell {
    position: sticky;
    left: 0;
    z-index: 10;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
}

.activity-table {
    width: max-content; /* ou min-width si tu veux que ça remplisse au minimum */
}

.activity-table td.activity-cell {
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #333;
}

.activity-table td.activity-cell:hover {
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.activity-table td.activity-cell.bg-danger {
    background: #f8d7da;
    color: #721c24;
    font-weight: 600;
}
.company-totals-container {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.company-total-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.company-total-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.company-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

.activity-table td.activity-cell.bg-warning {
    background: #fff3cd;
    color: #856404;
    font-weight: 600;
}

.activity-table td.empty-cell {
    background: #fafafa;
    color: #ccc;
}

.activity-table th.total-header {
    text-align: center;
    min-width: 80px;
    background: #495057;
    color: white;
    font-weight: 700;
}

.activity-table td.total-cell {
    text-align: center;
    font-weight: 700;
    background: #e9ecef;
    color: #212529;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .table-container {
        padding: 10px;
    }
}