#iscrizioneForm {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #1a7a3e 0%, #0d5a2a 100%);
  padding: 2rem;
  color: white;
  text-align: center;
}

.form-header h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.form-header p {
  margin: 0;
  opacity: 0.95;
}

.progress-container {
  padding: 2rem 2rem 1rem;
  background: #f8f9fa;
}

.progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  position: relative;
  margin-bottom: 1.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a7a3e 0%, #0d5a2a 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.4s ease;
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0.5rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #666;
  transition: all 0.3s ease;
  z-index: 1;
}

.step-circle.active {
  background: linear-gradient(135deg, #1a7a3e 0%, #0d5a2a 100%);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(26, 122, 62, 0.4);
}

.step-circle.completed {
  background: #48bb78;
  color: white;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

.step-labels span {
  flex: 1;
  font-weight: 600;
}

.form-step {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.4s ease;
  min-height: 400px;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step h3 {
  font-size: 1.3rem;
  color: #1a7a3e;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a7a3e;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d3748;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a7a3e;
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 122, 62, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.radio-label:hover,
.checkbox-label:hover {
  background: #e6f7ed;
  border-color: #1a7a3e;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: #1a7a3e;
  transform: scale(1.3);
}

.radio-label span,
.checkbox-label span {
  flex: 1;
}

.form-navigation {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.nav-btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-btn {
  background: #e0e0e0;
  color: #666;
}

.prev-btn:hover:not(:disabled) {
  background: #d0d0d0;
  transform: translateX(-4px);
}

.prev-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.next-btn,
.submit-btn {
  background: linear-gradient(135deg, #1a7a3e 0%, #0d5a2a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(26, 122, 62, 0.3);
}

.next-btn:hover,
.submit-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(26, 122, 62, 0.4);
}

@media (max-width: 768px) {
  #iscrizioneForm {
    margin: 1rem;
    border-radius: 8px;
  }

  .form-header,
  .form-step,
  .form-navigation,
  .progress-container {
    padding: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .step-labels {
    font-size: 0.7rem;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}
