/* Styles spécifiques au formulaire d'inscription */
.form-step {
  display: none;
  position: relative;
  width: 100%;
  opacity: 0;
  left: 0;
  right: 0;
}

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

.form-step.slide-in-right {
  animation: slideInRight 0.5s forwards;
}

.form-step.slide-in-left {
  animation: slideInLeft 0.5s forwards;
}

.form-step.slide-out-right {
  animation: slideOutRight 0.5s forwards;
}

.form-step.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
}

form {
  position: relative;
  min-height: auto;
  width: 100%;
  overflow: visible;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--glass-bg);
  border-radius: 2px;
  margin: 20px 0 40px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.progress-bar[data-step="1"]::after {
    width: 20%;
}

.progress-bar[data-step="2"]::after {
    width: 40%;
}

.progress-bar[data-step="3"]::after {
    width: 60%;
}

.progress-bar[data-step="4"]::after {
    width: 80%;
}

.progress-bar[data-step="5"]::after {
  width: 100%;
}

.step-indicator {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  margin-bottom: 20px;
}

.info-text {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin: 20px 0;
  border: 1px solid var(--glass-border);
}

.consent-group {
  display: flex;
  gap: 15px;
  align-items: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.consent-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.step-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.step-buttons button {
  min-width: 150px;
  margin-top: 0;
}

.next-step {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.next-step a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.next-step a:hover {
  color: #ccc;
  text-decoration: underline;
}
