/* Trainer registration wizard */

.auth-trainer-wizard {
  width: 100%;
}

.auth-trainer-wizard__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.auth-trainer-wizard__progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.auth-trainer-wizard__progress-item.is-active,
.auth-trainer-wizard__progress-item.is-done {
  opacity: 1;
}

.auth-trainer-wizard__progress-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid transparent;
}

.auth-trainer-wizard__progress-item.is-active .auth-trainer-wizard__progress-dot {
  background: #0b1426;
  color: #fff;
  border-color: #0b1426;
}

.auth-trainer-wizard__progress-item.is-done .auth-trainer-wizard__progress-dot {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
}

.auth-trainer-wizard__progress-label {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: #475569;
}

.auth-trainer-wizard__head {
  margin-bottom: 16px;
}

.auth-trainer-wizard__head h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0b1426;
}

.auth-trainer-wizard__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

.auth-trainer-wizard__panel {
  animation: authTrainerWizardIn 0.22s ease;
}

@keyframes authTrainerWizardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-grid--wizard {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .auth-form-grid--wizard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-form-grid--wizard-files {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auth-file-field--avatar .auth-file-label--avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}

.auth-file-label__preview {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eef2f7;
  color: #64748b;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-file-label__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-trainer-wizard__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.auth-trainer-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.auth-trainer-wizard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-trainer-wizard__btn--ghost {
  background: #fff;
  color: #0b1426;
  border: 1px solid #d7dee8;
}

.auth-trainer-wizard__btn--primary,
.auth-trainer-wizard__btn--submit {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.auth-trainer-wizard__btn--submit {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
}

@media (min-width: 560px) {
  .auth-trainer-wizard__btn--submit {
    width: auto;
    min-width: 220px;
  }
}

html.edu-view-web .auth-web-app.auth-trainer-form-app .auth-bakkah__form-inner--wide {
  max-width: 860px;
}

@media (max-width: 720px) {
  .auth-trainer-wizard__progress-label {
    display: none;
  }
}
