/* Header area for the timeline plot */
#plot-header {
  position: relative;
  padding-left: 2rem;
}

/* Timeline cards */
.timeline-item {
  background-color: #fff;
  border-left: 4px solid #007bff;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* List of fires inside each timeline card */
.fire-list li {
  display: block;
  padding: 0.25rem 0;
  border-bottom: 1px dashed #ccc;
  line-height: 1.4;
  word-break: break-word;
}

.fire-list li:last-child {
  border-bottom: none;
}

/* Dot indicator for timeline items */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: #6c757d;
  border-radius: 50%;
}

/* Summary panel styling */
.summary-style {
  background: linear-gradient(135deg, #cfe8ff, #f0f8ff);
  padding: 15px;
  border: 1px solid #a0c4ff;
  margin-bottom: 20px;
  color: #004085;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  display: none;
}

.summary-style:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Toggle buttons for fire details */
.toggle-details {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  cursor: pointer;
  margin-top: -2px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.toggle-details:hover {
  background-color: #0056b3;
}

.toggle-details.show-wildfire-details {
  background-color: #28a745;
}

.toggle-details.show-wildfire-details:hover {
  background-color: #218838;
}

/* Custom spinner (if you ever use it) */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

