/* Dashboard Header Styles - Theme Support */
.dashboard-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.light-mode .dashboard-header {
  border-bottom: 2px solid #e5e5e5;
}

.night-mode .dashboard-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.dashboard-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.light-mode .dashboard-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.night-mode .dashboard-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.5px;
}

.light-mode .dashboard-subtitle {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  color: #666;
}

.night-mode .dashboard-subtitle {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-header-controls {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.dashboard-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.light-mode .dashboard-control-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.night-mode .dashboard-control-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.light-mode .dashboard-period-select {
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
}

.night-mode .dashboard-period-select {
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #3a3838;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
}

.dashboard-period-select option {
  color: #111111;
}

/* Match View activity log button radius to period select (4px) */
.dashboard-header-controls .btn-dashboard-logs,
.dashboard-header-controls button.btn-dashboard-logs {
  border-radius: 4px;
}

@media (max-width: 768px) {
  .dashboard-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  .dashboard-header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .dashboard-title {
    font-size: 1.5rem;
  }
  .dashboard-subtitle {
    font-size: 0.875rem;
    margin-top: 0.35rem;
  }
  .dashboard-header-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .dashboard-control-group {
    width: 100%;
  }
  .dashboard-period-select {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
  }
  .dashboard-header-controls .btn-dashboard-logs,
  .dashboard-header-controls button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  .dashboard-title {
    font-size: 1.25rem;
  }
  .dashboard-subtitle {
    font-size: 0.8125rem;
  }
}

/* Button styles have been moved to Button component */
/* See: SAT_Frontend/src/components/common/Button.css */
