/* Fix for large vertical gaps between dashboard sections */
body.dashboard-page .dashboard-main {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 30px !important; /* Tighter gap to remove "half page" space */
  padding-bottom: 30px !important;
}

/* Ensure sections don't have excessive margins */
body.dashboard-page .hero-section {
  margin-bottom: 0 !important; /* Let the parent gap handle spacing */
  flex-shrink: 0 !important;
  min-height: auto !important; /* Prevent excessive height */
}

body.dashboard-page .weekly-plan-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
  min-height: auto !important;
}

body.dashboard-page .stats-section {
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}

/* Ensure containers inside don't have excessive margins */
body.dashboard-page .hero-card {
  margin-bottom: 0 !important;
}

/* Ensure Weekly Plan container doesn't push down */
#dashboardWeeklyPlanContainer {
  margin-top: 0 !important;
}
