.sidebar-container {
  display: flex;
  align-items: stretch;
  flex-grow: 1;
  /* min-height: 100vh; */
  min-height: 1000px;
}

.sidebar {
  background-color: #e0e0e0;
  width: 180px;
  display: flex;
  flex-direction: column;
  /* padding-top: 20px; */
  /* Set minimum height to 100% of viewport height */
  /* min-height: 100vh;  */
  min-height: 1vh;
}

.contact-button-container {
  margin-top: auto;
  position: fixed;
  bottom: 0;
  background-color: #e0e0e0;
}

.sidebar-button {
  border: none;
  /* padding: 10px; */
  /* margin-bottom: 10px; */
  width: 180px;
  height: 50px;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  a {
    text-decoration: none;
    color: #424242;
  }

  p {
    padding-left: 30px;
    margin: 0;
  }
}

.sidebar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
  background: #e0e0e0;
}

.sidebar-button {
  background: #e0e0e0;
}

.sidebar-button i {
  font-size: 24px;
  color: #424242;
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
}

.sidebar-button:hover {
  opacity: 0.8;
}

/* The second svg image for reports is slightly misaligned, hacky way for now */
.sidebar-button:nth-child(2) {
  i {
    padding-left: 4px;
  }
  img {
    padding-left: 2px;
  }
}

.sidebar-button:nth-child(1) {
  i {
    padding-right: 2px;
  }
  img{
    padding-right: 2px;
  }
}

.sidebar-button:nth-child(4) {
  img {
    padding-left: 1px;
  }
}

.sidebar-button:nth-child(5) {
  img {
    padding-left: 8px;
  }
}

.sidebar-button:hover img {
  opacity: 0.7;
}

.content {
  flex: 1;
  padding: 10px 20px 20px 0px;
}

.clearDropdown {
  cursor: pointer;
  background-color: #c8102e;
  color: white;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
}

/* Styles for the nested sub-buttons, making them the same as .sidebar-button */
.sidebar-sub-button-container {
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out, visibility 0s linear 0.3s;
  background: #d4d4d4;
}

.sidebar-sub-button-container.show {
  max-height: 200px;
  visibility: visible;
  opacity: 1;
  transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out, visibility 0s;
}

.sidebar-sub-button {
  border: none;
  width: 180px;
  height: 50px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #d4d4d4;
  transform: translateY(-10px);
  transition: transform 0.2s ease-in-out;
}

.sidebar-sub-button-container.show .sidebar-sub-button {
  transform: translateY(0);
}

/* Stagger the animation of the second button */
.sidebar-sub-button:nth-child(2) {
  transition-delay: 0.05s;
}

/* Apply hover style from .sidebar-button */
.sidebar-sub-button:hover {
  opacity: 0.8;
}

/* Apply styles from .sidebar-button a */
.sidebar-sub-button a {
  padding-left: 30px;
  text-decoration: none;
  color: #424242;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Apply styles from .sidebar-button p */
.sidebar-sub-button p {
  margin: 0;
  flex-grow: 1;
}

.metrics-container {
    text-align: left;
    padding: 40px 20px 10px 20px;
    background-color: #d00404;
    color: white;
    flex: 1;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 0.9em;
    min-width: 200px;

    h3{
      text-align: center;
    }
}

.tab-container-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 3;
}

.tab-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}