/* Inscription Progressive - 3 Étapes */

.inscription-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
}

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

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

.progress-bar-fill {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #b99552, #d9c793);
  transition: width 0.4s ease;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
  border-color: #c8a560;
  background: #b99552;
  color: white;
  transform: scale(1.1);
}

.progress-step.completed .progress-circle {
  border-color: #d9c793;
  background: #d9c793;
  color: white;
}

.progress-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.progress-step.active .progress-label {
  color: #8a6d2f;
  font-weight: 600;
}

.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

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

.step-header {
  text-align: center;
  margin-bottom: 30px;
}

.step-header h2 {
  color: #231d18;
  margin-bottom: 10px;
}

.step-header p {
  color: #666;
  font-size: 0.95rem;
}

.step-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-prev, .btn-next {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-prev {
  background: #f1f1f1;
  color: #666;
}

.btn-prev:hover {
  background: #e0e0e0;
}

.btn-next {
  background: linear-gradient(135deg, #b99552, #d9c793);
  color: #1a1815;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(200, 165, 96, 0.24);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.password-strength {
  margin-top: 8px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.password-strength-bar.weak {
  width: 33%;
  background: #e74c3c;
}

.password-strength-bar.medium {
  width: 66%;
  background: #f39c12;
}

.password-strength-bar.strong {
  width: 100%;
  background: #27ae60;
}

.password-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

.optional-tag {
  font-size: 0.85rem;
  color: #999;
  font-weight: normal;
  margin-left: 5px;
}

.avatar-upload {
  text-align: center;
  margin: 20px 0;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 3px solid #e0e0e0;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #999;
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.avatar-buttons button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.avatar-buttons button:hover {
  border-color: #c8a560;
  color: #8a6d2f;
}

.notification-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.notification-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-option:hover {
  border-color: #c8a560;
  background: rgba(200, 165, 96, 0.08);
}

.notification-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.notification-option-content {
  flex: 1;
}

.notification-option-title {
  font-weight: 600;
  margin-bottom: 3px;
}

.notification-option-desc {
  font-size: 0.85rem;
  color: #666;
}

.skip-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.skip-link:hover {
  color: #8a6d2f;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .inscription-container {
    padding: 15px;
  }
  
  .progress-bar {
    margin-bottom: 30px;
  }
  
  .progress-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .progress-label {
    font-size: 0.75rem;
  }
  
  .step-actions {
    flex-direction: column;
  }
}
