/* ==========================================================================
   Metaly for ACF and SCF – Steps (Indicator)
   ========================================================================== */

.metaly-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

/* =======================
   Steps bar
   ======================= */

.metaly-steps__bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Step button */
.metaly-steps__step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid #dcdcde;
    background: #f6f7f7;
    color: #1d2327;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    user-select: none;
}

/* Number circle */
.metaly-steps__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dcdcde;
    color: #1d2327;
    font-size: 11px;
    font-weight: 600;
}

/* Label */
.metaly-steps__label {
    white-space: nowrap;
}

/* Hover (only if enabled) */
.metaly-steps__step:not(:disabled):hover {
    background: #f0f0f1;
    border-color: #8c8f94;
}

/* =======================
   States
   ======================= */

/* Completed */
.metaly-steps__step.is-completed {
    background: #e7f5ec;
    border-color: #2fb344;
    color: #0f5132;
}

.metaly-steps__step.is-completed .metaly-steps__index {
    background: #2fb344;
    color: #ffffff;
}

/* Current */
.metaly-steps__step.is-current {
    background: #e7f1ff;
    border-color: #2271b1;
    color: #0a3d62;
    font-weight: 600;
}

.metaly-steps__step.is-current .metaly-steps__index {
    background: #2271b1;
    color: #ffffff;
}

/* Upcoming */
.metaly-steps__step.is-upcoming {
    opacity: 0.85;
}

/* Disabled (non-editable) – keep visual clarity */
.metaly-steps__step:disabled,
.metaly-steps__step[aria-disabled="true"] {
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* =======================
   Controls
   ======================= */

.metaly-steps__controls {
    display: flex;
    gap: 6px;
}

.metaly-steps__controls .button {
    min-height: 28px;
    line-height: 1.6;
    padding: 2px 10px;
}

/* =======================
   Meta text
   ======================= */

.metaly-steps__meta {
    font-size: 12px;
    color: #50575e;
}

/* ==============*