.test-flow-container {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  min-height: 500px;
}


.test-step {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.test-step.completed {
  background-color: #f6fffa;
  border-color: #b7eb8f;
}

.test-step.active {
  background-color: #f0faff;
  border-color: #91d5ff;
  transform: scale(1.02);
}

.test-step.pending {
  background-color: #ffffff;
  border-color: #e9ecef;
}

.test-step.expired {
  background-color: #fff1f0;
  border-color: #ffa39e;
  opacity: 0.9;
}

.test-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}


.step-number {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #6c757d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  border: 2px solid #f8f9fa;
}

.step-number.completed {
  background-color: #28a745;
}

.step-number.active {
  background-color: #007bff;
}

.step-number.expired {
  background-color: #dc3545;
}


.test-arrow {
  text-align: center;
  margin: 0.5rem 0;
  color: #ced4da;
}

.test-arrow i {
  font-size: 1.2rem;
}


.instruction-panel {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  height: fit-content;
}

.test-step-content {
  margin-left: 1rem;
}

.test-step h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.test-step p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}


.progress-indicator {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;
  background-color: #28a745;

  transition: width 0.5s ease-in-out;
}

@media (max-width: 992px) {
  .test-flow-container {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .step-number {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin-bottom: 1rem;
  }

  .test-step-content {
    margin-left: 0;
  }
}