/**
 * CF7 Multi-Step Form Styles
 */

/* Form container */
.cf7-multistep-form {

  position: relative;
  margin: 30px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress bar */
.cf7-multistep-progress {
  margin-bottom: 30px;
}

.cf7-progress-bar {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.cf7-progress-bar::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.cf7-progress-bar li {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.cf7-progress-bar li .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  background-color: #e0e0e0;
  color: #666;
  border-radius: 50%;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cf7-progress-bar li .step-title {
  display: block;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.cf7-progress-bar li.active .step-number {
  background-color: #4caf50;
  color: #fff;
}

.cf7-progress-bar li.active .step-title {
  color: #4caf50;
  font-weight: bold;
}

.cf7-progress-bar li.completed .step-number {
  background-color: #4caf50;
  color: #fff;
}

.cf7-progress-bar li.completed .step-title {
  color: #4caf50;
}

/* Form steps */
.cf7-multistep-steps {
  position: relative;
}

.cf7-step {
  display: none;
  animation: fadeIn 0.5s;
}

.cf7-step.active {
  display: block;
}

.cf7-step-title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* Navigation buttons */
.cf7-multistep-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.cf7-prev-btn,
.cf7-next-btn,
.cf7-submit-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cf7-prev-btn {
  background-color: #f1f1f1;
  color: #666;
}

.cf7-prev-btn:hover {
  background-color: #e0e0e0;
}

.cf7-next-btn,
.cf7-submit-btn {
  background-color: #4caf50;
  color: #fff;
}

.cf7-next-btn:hover,
.cf7-submit-btn:hover {
  background-color: #45a049;
}

/* Validation */
.wpcf7-not-valid-tip {
  color: #f44336;
  font-size: 14px;
  margin-top: 5px;
}

.wpcf7-not-valid {
  border-color: #f44336 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

