.timeline {
  margin: 16px 0;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.timeline-day-label {
  width: 130px;
  flex-shrink: 0;
  font-size: 12px;
  color: #444;
}

.timeline-track {
  position: relative;
  flex: 1;
  height: 28px;
  background: #f0f1f3;
  border-radius: 6px;
}

.timeline-block {
  position: absolute;
  top: 3px;
  bottom: 3px;
  background: #2563eb;
  border-radius: 4px;
  min-width: 6px;
}

.timeline-block .timeline-tooltip {
  display: none;
}

.timeline-block:hover .timeline-tooltip {
  display: block;
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #1c1e21;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-bottom: 4px;
  z-index: 5;
}

.timeline-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #999;
  margin-left: 142px;
  margin-top: 4px;
}

.timeline-total {
  font-size: 13px;
  color: #333;
  margin-top: 12px;
  font-weight: 600;
}

.timeline-empty {
  color: #888;
  font-size: 13px;
  padding: 12px 0;
}

/* Admin-only entry management */
.log-entry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #555;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.log-entry-row .remove-entry {
  margin-left: auto;
  background: none;
  border: none;
  color: #c33;
  cursor: pointer;
  font-size: 12px;
}

.log-entry-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.log-entry-form label {
  font-size: 11px;
  color: #666;
  margin: 0;
}

.log-entry-form input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
}
