/* ─── INSCRIPTION PAGE ──────────────────────────────── */

.inscription-body {
  background: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.inscription-main {
  flex: 1;
  padding: 48px 20px 60px;
}

.inscription-container {
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
.inscription-header {
  text-align: center;
  margin-bottom: 36px;
}
.inscription-header h1 {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.inscription-header p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ─── STEPPER ─────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}
.step.active .step-circle,
.step.done .step-circle {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.step.done .step-circle {
  background: #fff;
  color: #000;
}

.step-label {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}
.step.active .step-label,
.step.done .step-label {
  color: rgba(255, 255, 255, 0.7);
}

.step-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 8px;
  margin-bottom: 20px;
}

/* ─── FORM STEPS ──────────────────────────── */
.form-step {
  display: none;
  animation: fadeIn 0.25s ease;
}
.form-step.active {
  display: block;
}

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

.step-title {
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

/* ─── TYPE GRID ────────────────────────────── */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.type-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.type-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.type-card.selected {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.type-icon {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
}
.type-icon i {
  width: 36px;
  height: 36px;
}
.type-card.selected .type-icon {
  color: #fff;
}

.type-name {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.type-card.selected .type-name {
  color: #fff;
}

/* ─── FIELDS GRID ──────────────────────────── */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}
.req {
  color: rgba(255,255,255,0.4);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

/* File input */
.input-file {
  padding: 10px 14px !important;
  cursor: pointer;
}
.input-file::-webkit-file-upload-button {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  padding: 6px 12px;
  cursor: pointer;
  margin-right: 10px;
}

/* Password wrap */
.input-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-password-wrap input {
  padding-right: 48px;
}
.btn-toggle-pw {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.btn-toggle-pw:hover {
  color: rgba(255, 255, 255, 0.75);
}
.btn-toggle-pw i {
  width: 18px;
  height: 18px;
}

/* ─── STEP ACTIONS ─────────────────────────── */
.step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-prev {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 13px 28px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-prev:hover {
  border-color: #fff;
  color: #fff;
}

.btn-next,
.btn-submit {
  background: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 32px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-next:hover,
.btn-submit:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* Lyen connexion */
.link-login {
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 28px;
}
.link-login a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
  transition: opacity 0.2s;
}
.link-login a:hover {
  opacity: 0.75;
}

/* ─── STEP DESC ──────────────────────────────── */
.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ─── INTERESTS GRID (User step 3) ───────────── */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.interest-card {
  cursor: pointer;
  display: block;
}
.interest-card input[type="checkbox"] {
  display: none;
}
.interest-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.interest-card:hover .interest-inner {
  border-color: rgba(255,255,255,0.4);
}
.interest-card input:checked + .interest-inner {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.06);
  color: #FFFFFF;
}
.interest-inner svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ─── RESPONSIVE ─────────────────────────────── */
/* ─── Respect prefers-reduced-motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .form-step { animation: none; }
  .step-circle, .type-card, .interest-inner,
  .btn-next, .btn-submit, .btn-prev { transition: none; }
}

@media (max-width: 620px) {
  .type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .interests-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fields-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: 1;
  }
  .inscription-header h1 {
    font-size: 1.5rem;
  }
  .step-actions {
    flex-direction: column-reverse;
  }
  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}
