.query--container {
  display: flex;
  flex-direction: row;
  margin: 100px 0;
  justify-content: space-between;
  gap: 20px;
}

.stats {
  border-radius: 30px;
  padding: 40px 40px 60px 40px;
  max-width: 664px;
  width: 100%;
  /* max-height: 464px; */
  max-height: 488px;
  height: 100%;
  background: #ffffff;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(218, 226, 228, 1) 26%
  );
}

.stats h2 {
  font-size: 32px;
}

.stats h3 {
  font-size: 18px;
  margin: 10px 0;
}

.bar {
  width: 100%;
  height: 9px;
  background-color: white;
  border-radius: 9px;
  margin-bottom: 40px;
}

.bar__fill {
  border-radius: 9px;
  height: 100%;
  width: 0%;
  /* width: 35%; */
}

.bar--red {
  background-color: #c3423f;
}
.bar--green {
  background-color: #25a18e;
}
.bar--blue {
  background-color: #3e92cc;
}

.buttons--container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}

.query--header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 640px;
}
.query--header p {
  font-size: 18px;
  margin: 20px 0;
}
.query--header h1 {
  font-size: 48px;
  font-weight: 500;
  margin: 60px 0 40px 0;
}

.stepper {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: space-between;
}
.stepper .step {
  flex: 1;
  text-align: center;
  position: relative;
}
.stepper .step button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  border-radius: 50%;
  cursor: pointer;
}
.stepper .step.upcoming button {
  border-color: #7e9296;
  color: #27474e;
}
.stepper .step.current button {
  border-color: #27474e;
  background: white;
  color: #27474e;
  font-weight: bold;
}
.stepper .step.completed button {
  /* Completed step style */
  border-color: #27474e;
  background-color: #27474e;
  color: white;
  position: relative;
}
.stepper .step.completed button::after {
  /* Checkmark for completed steps */
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.step-content {
  display: none;
}
.step-content.active {
  display: block;
}
/* Focus outline for accessibility */
.stepper .step button:focus {
  outline: none;
}

.stepper .step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #7e9296; /* default line color */
  transform: translateY(-50%);
  z-index: 0;
}

/* Completed line color */
.stepper .step.completed::before {
  background-color: #27474e;
}

/* Ensure the circle is above the line */
.stepper .step button {
  position: relative;
  z-index: 1;
}
