/* public/css/registration-wizard.css */

.sct-em-wizard-progress {
    margin-bottom: 30px;
}

.sct-em-wizard-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Progress bar line */
.sct-em-wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e4e7;
    z-index: 1;
}

.sct-em-wizard-steps .step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    color: #646970;
    font-size: 13px;
    font-weight: 500;
}

.sct-em-wizard-steps .step::before {
    content: attr(data-visible-step);
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    background: #fff;
    border: 3px solid #e2e4e7;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
    font-weight: bold;
    color: #a7aaad;
    transition: all 0.3s ease;
}

/* Completed Step */
.sct-em-wizard-steps .step.completed {
    color: #2271b1;
}

.sct-em-wizard-steps .step.completed::before {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    content: '✓';
}

/* Active Step */
.sct-em-wizard-steps .step.active {
    color: #2271b1;
}

.sct-em-wizard-steps .step.active::before {
    border-color: #2271b1;
    color: #2271b1;
}

/* Wizard Navigation */
.sct-em-wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f1;
}

/* For step 1 which only has a next button */
.sct-em-wizard-nav button:only-child {
    margin-left: auto;
}

/* Step content transitions */
.sct-em-wizard-step {
    animation: sctEmFadeIn 0.4s ease;
}

@keyframes sctEmFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile: hide step labels, keep circles readable */
@media (max-width: 540px) {
    .sct-em-wizard-steps .step .step-label {
        display: none;
    }

    .sct-em-wizard-steps .step::before {
        width: 28px;
        height: 28px;
        line-height: 22px;
        font-size: 12px;
        margin-bottom: 0;
    }

    .sct-em-wizard-steps {
        justify-content: center;
        gap: 12px;
    }

    .sct-em-wizard-steps::before {
        top: 13px;
    }

    .sct-em-wizard-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .sct-em-wizard-nav .button,
    .sct-em-wizard-nav button[type="submit"] {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .sct-em-wizard-nav button:only-child {
        margin-left: 0;
    }
}

/* Step counter text: "Step X of Y" on mobile */
.sct-em-wizard-step-counter {
    display: none;
    font-size: 13px;
    color: #646970;
    margin-bottom: 12px;
    text-align: center;
}

@media (max-width: 540px) {
    .sct-em-wizard-step-counter {
        display: block;
    }
}
