:root {
  --primary-color: #ff6600; /* Orange from Everglades Holiday Park */
  --secondary-color: #4CAF50; /* Green from Everglades Holiday Park */
  --background-color: #ffffff;
  --text-color: #333333;
  --border-color: #dddddd;
  --hover-color: #e65c00;
  --chart-grid-color: #f0f0f0;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

.dashboard {
  margin-top: 20px;
}

.filters {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.filter-item {
  flex: 1;
  min-width: 200px;
}

.filter-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.filter-item select,
.filter-item input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  background-color: #3e8e41;
}

.chart-container {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  height: auto;
}

.time-chart {
  height: auto;
  max-height: none;
}

.chart-controls {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle-all {
  margin-bottom: 5px;
}

.toggle-all label {
  font-weight: bold;
  cursor: pointer;
}

.source-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.source-toggle {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
}

.total-toggle {
  background-color: #fff2e6;
  border: 1px solid #ffcc99;
}

.source-toggle label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.source-toggle input[type="checkbox"] {
  margin-right: 5px;
}

.source-toggle .color-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
  border: 1px solid rgba(0,0,0,0.1);
}

.summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 15px;
  text-align: center;
}

.stat-card h3 {
  margin-top: 0;
  color: var(--text-color);
  font-size: 16px;
}

.stat-card .value {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #777;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border-left: 5px solid #c62828;
}

@media (max-width: 768px) {
  .filter-item {
    min-width: 100%;
  }
  
  .stat-card {
    min-width: 100%;
  }
}
