.progress-bar-wrapper {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar-content-info,
.progress-bar-content-error {
  border: 2px solid var(--primary-tr-grey);
  border-radius: 3px;
  color: #fff;
  width: 40rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column; /* Ensure content stacks vertically */
}

.progress-bar-content-info {
  background-color: #333;
  height: 5rem;
}

.progress-bar-content-error {
  background-color: var(--danger);
  height: 7rem;
}

.progress-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar-text {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Ensure text and button stack vertically */
  text-align: center;
  z-index: 3;
}

.progress-bar-btn {
  font-weight: 600;
  padding: var(--m-ss);
  margin-top: var(--m-ss);
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: 'MuseoSans-300';
  font-size: var(--textsm);
  background-color: var(--primary-tr-grey);
  color: #000;
  border: 2px solid var(--primary-tr-grey);
}

.progress-bar-btn:hover {
  background-color: darken(var(--primary-tr-grey), 10%);
  color: #fff;
}

.progress-bar-text span {
  margin-bottom: 0.5rem; /* Space between text and button */
}

.infobox-wrapper {
  position: fixed;
  z-index: 100;
  /* bottom: 7%; */
  bottom: 3rem;
  left: 0;
  width: 100%;
  height: 30%;
  overflow: auto;
}

/* .infobox-wrapper-danger {
  background-color: rgba(0, 0, 0, 0.7);
} */
.infobox-info,
.infobox-success,
.infobox-warning,
.infobox-danger {
  /* border: 2px solid var(--primary-tr-grey);
  background-color: #333;
  border-radius: 3px; */
  border-radius: 10px;
  border: 0.5px solid lightgray;
  background: rgba(255, 255, 255, 0.66);
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .25));
  /* max-width: 30rem; */
  width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  right: 3rem;
  bottom: 0;
  /* left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  transition: all 1800ms ease; */
}

.infobox-info {
  background-color: var(--highlight);
}

.infobox-success {
  background-color: rgba(255, 255, 255, 0.66);
  padding: 1rem;
  color: #000000;
  text-align: center;
}

.infobox-warning {
  /* background-color: var(--danger); */
  background-color: rgba(255, 255, 255, 0.66);
}

.infobox-danger {
  /* background-color: var(--danger); */
  background-color: rgba(0, 132, 164, 0.66);
  padding: 1rem;
  color: #fcfcfc;
  font-weight: 600;
  text-align: center;
  /* background-color: rgba(255, 255, 255, 0.66); */
}

.infobox-message {
  /* padding: 1rem;
  font-size: var(--textmd);
  color: #000000;
  font-weight: 600;
  text-align: center; */
}

.tooltip-wrapper {
  position: fixed;
  max-width: 15vw;
  font-size: var(--textsm);
  padding: var(--m-sm);
  border: 1px solid var(--primary-tr-grey);
  border-radius: 4px;
  color: #333;
  background: #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .3);
  z-index: 20;
}