@import '../src/styles/colors.css';

.Floating-panel {
  background-color: var(--white);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.area-stats-container {
  max-height: 300px;
  /* or whatever fits your layout */
  overflow-y: auto;
}

.chart-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}


.panel-header h3 {
  font-size: 18px;
  font-weight: bold;
}

.panel-content {
  padding: 10px;
}


.panel-content {
  overflow-y: auto;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.panel-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/*////////////////////////////////////*/


.side-nav {
  width: 250px;
  /* Width when expanded */
  transition: width 0.3s;
  /* Smooth transition */
}

.side-nav.collapsed {
  width: 80px;
  /* Width when collapsed */
}

.main-content {
  flex-grow: 1;
  /* Allow main content to take remaining space */
  transition: margin-left 0.3s;
  /* Smooth transition */
}

.nav-collapsed .main-content {
  margin-left: 40px;
  /* Adjust margin when nav is collapsed */
}

.SiteBarParentSection {
  transition: flex-grow 0.3s;
  /* Smooth transition for stretching */
}

.SiteBarParentSection.expand {
  flex-grow: 1;
  /* Take full space when expanded */
}

.SiteBarParentSection.shrink {
  flex-grow: 0.5;
  /* Adjust as needed when shrunk */
}



.user-menu-item1 {
  margin-left: -10px;
  /* Adjust this value as needed */
  margin-top: 80px;
}


.TotalTreeDiv3 {
  width: 50%;
  height: 75px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  position: relative;
  right: -109px;
  top: -45px;
}

.show-history {
  position: relative;
  top: -11px;
  right: -63px;
}

.lakearea {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px !important;
}


.WaterBodiesDetailDiv {
  width: 100%;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  margin: 4px 0px;
  position: relative;
  top: 37px;
  right: -8px;
}

.legend {
  font-size: 12px !important;
}

.TotalTreesHeadDiv1 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-top: 45px;
}

.TreeDetailsParent1 {
  background-color: var(--white);
  padding: 6px 10px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: -1px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.SiteLabelIcon {
  position: relative;
  left: 160px;
}

/* Left Panel */
.SiteBarParentSection.minimized {
  width: 270px;
  height: 70px;
  transition: height 0.3s ease, width 0.3s ease;
}

.SiteBarParentSection.minimized .SiteSelectionDiv:not(:first-child),
.SiteBarParentSection.minimized .TreeDetailsParent1,
.SiteBarParentSection.minimized .SiteSelectionSelectDiv {
  display: none;
}

/* Right Panel */
.WorkOrdBarParentSection.minimized {
  width: 270px;
  height: 70px;
  transition: height 0.3s ease, width 0.3s ease;
}

.WorkOrdBarParentSection.minimized .status-filters,
.WorkOrdBarParentSection.minimized .panel-content {
  display: none;
}


.AddBtnStyle {
  width: 70px;
  height: 30px;
  line-height: 1 !important;
  border-radius: 8px !important;
  background: var(--azure-500);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative !important;
  top: 0px !important;
  left: 18px !important;
}