.classify-info-container {
  display: flex;
  flex-direction: column;
  opacity: 1;
  position: fixed;
  width: 20%;
  max-width: 300px; /* Limit the container width to prevent overflow */
  margin: 0 auto;
  bottom: 0;
  left: 75%;
  background: var(--navButtonBackgroundColor);
  color: white;
  padding: 1em;
  margin-bottom: 6%;
  justify-content: space-between;
  border-radius: var(--borderRadius);
  border: 2px solid rgb(160, 160, 160);
  align-items: center;
  z-index: 900;
  transition: opacity 1.5s ease-in-out;
  box-sizing: border-box;
}

.classify-info-container p {
  margin: 0; /* Remove extra margin */
  flex: 0 1; /* Ensure the text can flexibly shrink */
}

.classify-info-container.fade-out {
  opacity: 0.25; /* Fades out the element */
}

.classify-info-container #revert {
  background: rgb(0, 110, 0);
  border: none;
  color: white;
  padding: 0.5em 1em; /* Adjust padding to fit the content */
  margin: 1em;
  cursor: pointer;
  transition: background-color 0.6s ease;
}

.classify-info-container #revert:hover {
  background: rgb(0, 170, 0);
}

.classify-info-container .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  transition: color 0.6s ease;
}

.classify-info-container .close-btn:hover {
  color: red;
}

.countdown-bar-container {
  position: absolute;
  background-color: rgb(31, 31, 31);
  bottom: 0.5em;
  left: 10%;
  width: 80%;
  height: 0.5em;
  border-radius: var(--borderRadius);
  overflow: hidden;
}

.countdown-bar {
  height: 100%;
  background-color: #77ff00;
  width: 100%;
  transition: width 1s linear;
}

@media (max-width: min(768px)) {
  .classify-info-container {
    width: 35%;
    left: 50%;
  }
}
