/* loader.css */

.spinnerMain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(0.4px);
          backdrop-filter: blur(0.4px);
  background: rgba(0, 0, 0, 0.706);
  z-index: 100002; /* Ensure loader is always on top */
}

.loadingScreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loadingScreen__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #ddd;
  margin-bottom: 20px;
}

.loadingScreen__text__span {
  display: inline-block;
  padding: 4px;
  animation: charColor 1s infinite ease;
  animation-delay: calc(100ms * var(--i));
}

@keyframes charColor {
  0% {
    color: #f6be00;
  }
  50% {
    color: #da291c;
  }
  100% {
    color: white;
  }
}

.loadingProgress {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.progressBarContainer {
  width: 80%;
  max-width: 400px;
  background-color: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}

.progressBar {
  height: 12px;
  background-color: #4caf50;
  width: 0%;
  transition: width 0.4s ease;
}

@media (max-width: 600px) {
  .loadingScreen__text {
    font-size: 1.5rem;
  }

  .loadingProgress {
    font-size: 1rem;
  }

  .progressBarContainer {
    width: 90%;
  }
}
/* loader.css */

/* Container for the entire progress bar */
.progressBarContainer {
  width: 80%;
  max-width: 400px;
  background-color: #ffffff;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}

.progressBar {
  height: 12px;
  width: 0%;
  background: linear-gradient(90deg, #000000 0%, #323232 50%, #777777 100%);
  border-radius: 3px;
  transition: width 0.4s ease-in-out;
}
.gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gauge {
  /* Smaller size, no full SVG rotation */
}

.gauge-background {
  fill: none;
  stroke: #e6e6e6; /* Light gray background */
}

.gauge-fill {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 5s; /* Slower animation */
  transform: rotate(-90deg); /* Rotate only the gauge circle */
  transform-origin: 50% 50%; /* Set rotation origin to the center of the circle */
}

.gauge-text {
  font-size: 16px; /* Smaller text size to match the smaller gauge */
  fill: #333;
  dominant-baseline: middle; /* Ensure text is vertically aligned */
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-bg,
.gauge-progress {
  fill: none;
}

.gauge-progress {
  transition: stroke-dashoffset 5s ease, stroke 5s ease; /* Slower animation */
}

.gauge-text {
  font-size: 1rem;
  fill: #333;
}
.popover-wrapper {
  position: relative; /* Make sure the wrapper is positioned for absolute positioning inside it */
  display: inline-block;
}

.popover-content {
  z-index: 99999 !important;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none; /* Prevent hover interference */
  transition:
    opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out;
}

.popover-wrapper:hover .popover-content {
  opacity: 1; /* Make popover visible on hover */
  pointer-events: auto; /* Allow interaction */
}

.popover-right {
  top: 50%;
  left: 100%; /* Position the popover to the right */
  margin-left: 8px;
}

.popover-left {
  top: 50%;
  right: 100%; /* Position the popover to the left */
  margin-right: 8px;
}

.popover-top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%); /* Center the popover above */
  margin-bottom: 8px;
}

.popover-bottom {
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* Center the popover below */
  margin-top: 8px;
}

.popover-left-top {
  bottom: 20%;
  right: -10%;
  margin-right: 3px;
}
