/* ==========================================================================
   Wizard - Step-by-step adventure creation
   ========================================================================== */

/* Step indicator container */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 20px 0;
}

/* Individual step */
.wizard-step {
  display: flex;
  align-items: center;
  position: relative;
}

/* Step circle */
.wizard-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #ccc;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.wizard-step-circle .material-icons {
  font-size: 20px;
}

/* Step label */
.wizard-step-label {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  transition: color 0.3s ease;
}

/* Connecting line */
.wizard-step-line {
  width: 100px;
  height: 3px;
  background-color: #ddd;
  transition: background-color 0.3s ease;
}

/* States */
.wizard-step.active .wizard-step-circle {
  background-color: #2196F3;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.wizard-step.active .wizard-step-label {
  color: #2196F3;
}

.wizard-step.completed .wizard-step-circle {
  background-color: #4CAF50;
}

.wizard-step.completed .wizard-step-label {
  color: #4CAF50;
}

.wizard-step-line.completed {
  background-color: #4CAF50;
}

/* Progress bar below steps */
.wizard-progress {
  margin-bottom: 30px;
}

.wizard-progress progress {
  width: 100%;
  height: 6px;
  border-radius: 3px;
}

/* Step 3 option cards */
.wizard-option-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wizard-option-card:hover {
  border-color: #2196F3;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
  transform: translateY(-2px);
}

.wizard-option-card.selected {
  border-color: #2196F3;
  background-color: #f0f7ff;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.wizard-option-card .material-icons {
  font-size: 64px;
  margin-bottom: 15px;
  color: #666;
  transition: color 0.3s ease;
}

.wizard-option-card:hover .material-icons,
.wizard-option-card.selected .material-icons {
  color: #2196F3;
}

.wizard-option-card h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.wizard-option-card p {
  color: #777;
  font-size: 13px;
  margin: 0;
}

/* Structure options panel */
.wizard-structure-options {
  margin-top: 20px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Wizard form card */
.wizard-card {
  background: #fff;
  border-radius: 5px;
  padding: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Footer buttons */
.wizard-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Language info banner (matches crear_reto_rapido) */
.wizard-language-info {
  background-color: #f0f7ff;
  border-left: 4px solid #337ab7;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 0 5px 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .wizard-step-line {
    width: 40px;
  }

  .wizard-step-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .wizard-step-label {
    font-size: 10px;
  }

  .wizard-option-card {
    margin-bottom: 15px;
    min-height: auto;
    padding: 20px 15px;
  }

  .wizard-option-card .material-icons {
    font-size: 48px;
  }
}
