/*
 * Step List block — numbered or checked steps in multiple layout variants.
 * Visual tokens come from the active EggBlocks theme.
 */

.eggb-sl-title {
  font-weight: 600;
}

.eggb-sl-note {
  font-size: var(--eggb-text-sm);
  color: var(--eggb-text-muted);
}

.eggb-block .eggb-sl-desc p,
.eggb-block .eggb-sl-note p {
  margin: 0 0 0.5rem;
}

.eggb-block .eggb-sl-desc p:last-child,
.eggb-block .eggb-sl-note p:last-child {
  margin-bottom: 0;
}

.cegg5-container .eggb-step-list .eggb-sl-list,
.cegg5-container .eggb-step-list .eggb-sl-grid {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.eggb-step-list--default .eggb-sl-list > li:last-child .eggb-timeline-connector {
  display: none;
}

.eggb-sl-check {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  border: var(--eggb-border-w) solid color-mix(in srgb, var(--eggb-positive) 40%, transparent);
  color: var(--eggb-positive);
  background: color-mix(in srgb, var(--eggb-positive) 12%, transparent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.eggb-sl-check .eggb-icon {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}

.eggb-sl-check .eggb-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.eggb-sl-check-card {
  border-left: 3px solid color-mix(in srgb, var(--eggb-positive) 35%, transparent);
}

.eggb-sl-card {
  border-left: 3px solid color-mix(in srgb, var(--eggb-accent) 25%, transparent);
}

.eggb-sl-grid-num {
  font-size: var(--eggb-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--eggb-accent);
}
