
/* ═══════════════════════════════════════════════════════════
   ADMISSION STEPPER
   ═══════════════════════════════════════════════════════════ */
.davv-stepper-card {
  background: var(--davv-slate-50);
  border: 1px solid var(--davv-slate-200);
  border-radius: var(--davv-radius-md);
  padding: 1.25rem;
  box-shadow: var(--davv-shadow-sm);
  height: 100%;
}

@media (min-width: 640px) {
  .davv-stepper-card {
    padding: 2rem;
  }
}

.davv-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--davv-slate-100);
  padding-bottom: 1.25rem;
}

.davv-stepper-title {
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.125rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .davv-stepper-title {
    font-size: 1.25rem;
  }
}

.davv-stepper-details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--davv-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.davv-stepper-details-link:hover {
  color: var(--primary-color);
}

/* ── Roadmap Layout ─────────────────────────────────────── */
.davv-stepper-roadmap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .davv-stepper-roadmap {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding-inline: 1rem;
  }
}

/* Desktop top connecting line */
.davv-stepper-line {
  display: none;
}

@media (min-width: 768px) {
  .davv-stepper-line {
    display: block;
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: var(--davv-slate-200);
    z-index: 0;
  }
}

.davv-step {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 768px) {
  .davv-step {
    align-items: center;
    position: relative;
  }
}

/* Desktop Chevron Indicator (Circular badge between steps) */
.davv-step-chevron {
  display: none;
}

@media (min-width: 768px) {
  .davv-step-chevron {
    position: absolute;
    top: 10px;
    left: 55%;
    width: 90%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
  }

  .davv-step-chevron-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--davv-slate-50);
    border: 1px solid var(--davv-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--davv-slate-400);
    font-size: 0.75rem;
    box-shadow: var(--davv-shadow-sm);
    transition:
      color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .davv-step:hover .davv-step-chevron-badge {
    color: var(--davv-blue);
    border-color: var(--davv-blue);
  }
}

.davv-step-body {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0;
  width: 100%;
}

@media (min-width: 768px) {
  .davv-step-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    gap: 0;
  }
}

.davv-step-circle {
  position: relative;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--davv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  box-shadow: var(--davv-shadow-md);
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 640px) {
  .davv-step-circle {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .davv-step-circle {
    margin-bottom: 0.875rem;
  }
}

.davv-step:hover .davv-step-circle {
  background: var(--davv-blue);
  transform: scale(1.05);
}

/* Mobile vertical line between steps — perfectly centered through the step circles */
.davv-step-vline {
  position: absolute;
  left: 0.9375rem;
  top: calc(0.625rem + 2rem);
  bottom: -0.625rem;
  width: 2px;
  background: var(--davv-slate-200);
  border-radius: 9999px;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 640px) {
  .davv-step-vline {
    left: 1.3125rem;
    top: calc(0.625rem + 2.75rem);
    bottom: -0.625rem;
  }
}

@media (min-width: 768px) {
  .davv-step-vline {
    display: none;
  }
}

.davv-step-text {
  min-width: 0;
}

@media (min-width: 768px) {
  .davv-step-text {
    text-align: center;
    padding-inline: 0.25rem;
  }
}

.davv-step-title {
  font-weight: 900;
  color: var(--davv-slate-900);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .davv-step-title {
    font-size: 0.875rem;
  }
}
.davv-step:hover .davv-step-title {
  color: var(--davv-blue);
}

.davv-step-desc {
  color: var(--davv-slate-500);
  font-size: 0.625rem;
  line-height: 1.5;
  margin: 0;
  max-width: 200px;
}

@media (min-width: 768px) {
  .davv-step-desc {
    font-size: 0.75rem;
    margin-inline: auto;
  }
}

/* ── Live Status Footer ─────────────────────────────────── */
.davv-stepper-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--davv-slate-100);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .davv-stepper-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.davv-stepper-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--davv-slate-500);
  font-weight: 500;
}

.davv-stepper-status-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
}

.davv-stepper-status-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--davv-emerald-light);
  opacity: 0.75;
  animation: davv-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.davv-stepper-status-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--davv-emerald-500);
}

.davv-stepper-quote {
  color: var(--davv-slate-400);
  font-style: italic;
  font-size: 0.75rem;
}
