/* AdSethu form wizard — turns any form built from repeated .rnad-section blocks
   (advertiser/creator onboarding, campaign builder) into a step-by-step
   experience. Added by rnad-wizard.js at runtime; no PHP template changes
   needed for a form to pick this up. */

.rnad-wizard-header {
    margin: 0 0 22px;
}

.rnad-wizard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.rnad-wizard-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--rnad-line, #e2e8f0);
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
    cursor: default;
    font: 600 12.5px/1.3 inherit;
    color: var(--rnad-muted, #64748b);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.rnad-wizard-dot.is-clickable {
    cursor: pointer;
}

.rnad-wizard-dot-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rnad-line, #e2e8f0);
    color: var(--rnad-muted, #64748b);
    font-weight: 800;
    font-size: 12px;
    flex: none;
}

.rnad-wizard-dot.is-active {
    border-color: #4f46e5;
    color: #312e81;
    background: #eef2ff;
}

.rnad-wizard-dot.is-active .rnad-wizard-dot-num {
    background: #4f46e5;
    color: #fff;
}

.rnad-wizard-dot.is-done .rnad-wizard-dot-num {
    background: #16a34a;
    color: #fff;
}

.rnad-wizard-dot.is-done {
    color: #166534;
}

.rnad-wizard-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--rnad-line, #e2e8f0);
    overflow: hidden;
}

.rnad-wizard-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border-radius: 999px;
    transition: width .25s ease;
}

.rnad-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--rnad-line, #eef2f7);
}

.rnad-wizard-nav:first-child {
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .rnad-wizard-dot-label {
        display: none;
    }
    .rnad-wizard-dot {
        padding: 6px;
    }
}
