.task-age-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.task-age-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.task-age-badge--overdue {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.task-age-badge--started {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.table .task-age-badges,
.task-info .task-age-badges {
  margin-top: 4px;
}

.task-single-header .task-age-badges {
  margin-top: 8px;
}

li.task > .panel-body > .task-age-badges {
  justify-content: flex-end;
}

#task-modal .task-add-link label {
  display: block;
  margin-bottom: 6px;
}

#task-modal .task-add-link .form-control,
#task-modal .task-add-link .btn {
  width: 100%;
}

#task-modal .task-add-link .btn {
  margin-top: 8px;
}

#task-modal .task-file-row {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #e6e8ee;
}

#task-modal .task-file-row-name {
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#task-modal .task-file-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

#task-modal .task-file-row-type {
  color: #6b7280;
  font-size: 12px;
}

#task-modal .task-file-row-actions {
  flex: 0 0 auto;
  font-size: 13px;
  white-space: nowrap;
}

#task-modal .task-file-row-actions a + a {
  margin-left: 10px;
}

button.js-staff-task-filter.is-active {
  background-color: #f4f4f5;
  border-color: #a3a3a3;
}
