/* ==========================================================================
   AUTO-ADMIN JOURNEY PROGRESS TRACK (DIRECTION 2.5 TITANIUM COBALT)
   Unified 6-Step Clickable Navigation across Platform Pages
   ========================================================================== */

.auto-journey {
  position: relative;
  margin: 0 auto 1.5rem auto;
  display: inline-block;
  text-align: center;
}

.auto-journey__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.4rem 0.5rem;
  margin: 0 auto;
  list-style: none;
}

/* Continuous connecting rail behind numbers */
.auto-journey__track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: rgba(148, 178, 255, 0.2);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 999px;
}

.auto-journey__step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.auto-journey__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #091224;
  color: rgba(226, 234, 248, 0.45);
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-weight: 700;
  font-size: 0.84rem;
  border: 1.5px solid rgba(148, 178, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Hover on any step */
.auto-journey__step:hover .auto-journey__num {
  transform: translateY(-2px) scale(1.06);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* Completed Steps (Behind current page): Solid Titanium White */
.auto-journey__step.is-completed .auto-journey__num {
  background: #ffffff;
  color: #040914;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.auto-journey__step.is-completed:hover .auto-journey__num {
  background: #f1f5f9;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
}

/* Current / Active Step: Precision Cobalt Blue */
.auto-journey__step.is-current .auto-journey__num {
  background: #2563eb;
  color: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28), 0 0 18px rgba(37, 99, 235, 0.6);
  font-weight: 800;
}
.auto-journey__step.is-current:hover .auto-journey__num {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.35), 0 0 22px rgba(37, 99, 235, 0.75);
}

/* Future Steps */
.auto-journey__step:not(.is-completed):not(.is-current) .auto-journey__num {
  background: #091224;
  color: rgba(226, 234, 248, 0.4);
  border-color: rgba(148, 178, 255, 0.16);
}

@media (max-width: 640px) {
  .auto-journey__track {
    gap: 0.75rem;
  }
  .auto-journey__num {
    width: 30px;
    height: 30px;
    font-size: 0.76rem;
  }
}
