body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.timeline-container {
  width: 80%;
  margin: 10px auto 10px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-width: 800px;
}

.search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;  
}

.search-bar input {
  width: 100%;
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;  
}

.search-bar select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  cursor: pointer;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-entry {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  position: relative;
  align-items: flex-start;
}

.timeline-entry:last-child {
  border-bottom: none;
}

.timeline-icon {
  flex: 0 0 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 10px;
}

.timeline-icon.donation {
  background-color: #4c97d2;
}

.timeline-icon.appointment {
  background-color: #7aabdc;
}

.timeline-icon.note {
  background-color: #a0bfe6;
}

.timeline-icon.email {
  background-color: #c2d4ef;
}

.timeline-icon.phone {
  background-color: #9d9c9c;
}

.timeline-content {
  flex-grow: 1;
}

.timeline-content h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.timeline-content p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #555;
}

.timestamp {
  display: block;
  font-size: 12px;
  color: #999;
}

.status {
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.status.closed {
  background-color: #d9534f;
  color: white;
}

.status.overdue {
  background-color: #f0ad4e;
  color: white;
}

.status.active {
  background-color: #5cb12b;
  color: white;
}

.timeline-content .details {
  background-color: #e0efff;
  display: none;
  margin: 10px 0 10px;
  padding: 10px 5px 10px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.timeline-content .toggle-details {
  background-color: #4c97d2;
  color: white;
  border: none;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  top: 10px; /* 10px voor top, 35px voor onder status */
  font-size: 12px;
}

.timeline-content .fas {
  color: #cccccc;
  padding-left: 5px;
}

.timeline-content .toggle-details:hover {
  background-color: #0056b3;
}

.timeline-date {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #a0bfe6;
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8em;
  margin-right: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.timeline-date .month {
  width: 100%;
  background-color: #4c97d2;
  padding: 2px 0;
}

.timeline-date .day {
  font-size: 1.3em;
  position: relative;
  top: 2px;
  z-index: 1;
}