body { 
  background: #f8f9fa; 
  font-family: 'Segoe UI', sans-serif; 
}

.form-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  padding: 25px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e9ecef;
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 25%;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: #e9ecef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
  font-size: 1rem;
  color: #6c757d;
}

.step.active .step-icon {
  background: #0d6efd;
  color: white;
}

.step.completed .step-icon {
  background: #198754;
  color: white;
}

.step-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.step.active .step-label,
.step.completed .step-label {
  color: #212529;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-panel {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  height: 100%;
}

.domain-counter {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1d276c;
  text-align: center;
  margin-bottom: 20px;
}

.status-message {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

.status-info { 
  background-color: #e7f5ff; 
  color: #0c63e4; 
}

.status-success { 
  background-color: #e6f7ee; 
  color: #198754; 
}

.status-danger { 
  background-color: #fce8e6; 
  color: #dc3545; 
}

.status-warning { 
  background-color: #fff3cd; 
  color: #856404; 
}

.btn-custom {
  padding: 8px 16px;
  font-size: 0.9rem;
  min-width: 100px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-grid {
      grid-template-columns: 1fr;
  }
}

/* Correction pour éviter les erreurs de validation */
.form-step:not(.active) {
  display: none !important;
}

.is-invalid {
  border-color: #dc3545 !important;
}

/* Styles pour le message de succès */
#successMessage {
  position: relative;
  margin-top: 15px;
  margin-bottom: 0;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(25, 135, 84, 0.15);
}