/* =========================================================
   CREATE TOURNAMENT WIZARD
   ========================================================= */

.wizard-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.wizard-progress-bar {
  flex: 1 1 0;
  height: 4px;
  border-radius: 2px;
  background: var(--ds-border, rgba(159, 207, 255, 0.2));
  transition: background-color 0.2s ease;
}

.wizard-progress-bar.is-active {
  background: var(--gold-bright, #62b6ff);
}

.wizard-step-label {
  color: var(--ui-muted, #9fb4d2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.format-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.format-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px 12px;
  border: 1px solid var(--ds-border, rgba(159, 207, 255, 0.2));
  border-radius: var(--radius-md, 10px);
  background: var(--ds-surface-1, rgba(16, 31, 52, 0.94));

  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.format-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.format-option:has(input:checked) {
  border-color: var(--ds-border-strong, rgba(91, 173, 255, 0.58));
  background: linear-gradient(150deg, rgba(91, 173, 255, 0.22), rgba(91, 173, 255, 0.06));
  color: var(--gold-bright, #62b6ff);
}

.wizard-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-summary li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 12px;
  border: 1px solid var(--ds-border, rgba(159, 207, 255, 0.2));
  border-radius: var(--radius-sm, 8px);
}

.wizard-summary li span {
  color: var(--ui-muted, #9fb4d2);
  font-size: 0.86rem;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.wizard-nav button {
  flex: 1 1 auto;
}
