﻿/* SignUp — stepper, grid, step actions */

/* ── Compact step progress indicator ── */
.wf-auth-desktop .signup-progress {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--gray-200);
}

.wf-auth-desktop .progress-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px;
    margin: 0 0 -13px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 500;
    cursor: default;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wf-auth-desktop .progress-step-number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.wf-auth-desktop .progress-step.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.wf-auth-desktop .progress-step.active .progress-step-number {
    background: var(--navy);
    color: var(--white);
}

.wf-auth-desktop .progress-step.has-error {
    color: var(--danger-700);
}

.wf-auth-desktop .progress-step.has-error .progress-step-number {
    background: var(--danger-600);
    color: var(--white);
}

/* ── Form steps ── */
.wf-auth-desktop .form-step {
    display: none;
}

.wf-auth-desktop .form-step.active {
    display: block;
}

/* Keep form-groups inside signup compact */
.wf-auth-desktop .wf-auth-panel--signup .form-group {
    margin-bottom: 0;
}

.wf-auth-desktop .wf-auth-panel--signup .form-grid {
    row-gap: 10px;
}

/* Tighter inputs and labels for signup */
.wf-auth-desktop .wf-auth-panel--signup .form-input {
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
}

.wf-auth-desktop .wf-auth-panel--signup label {
    font-size: 12px;
    display: block;
}

/* File input */
.wf-auth-desktop .form-file-input {
    height: 40px;
    padding: 6px 12px;
    font-size: 13px;
    background: var(--gray-50);
}

/* Radio / checkbox */
.wf-auth-desktop .radio-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.wf-auth-desktop .radio-option,
.wf-auth-desktop .checkbox-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--navy);
    cursor: pointer;
}

.wf-auth-desktop .checkbox-option span {
    line-height: 1.45;
}

.wf-auth-desktop .captcha-placeholder {
    height: 40px;
    border: 1px dashed var(--gray-300);
    border-radius: var(--auth-radius-md);
    background: var(--gray-50);
}

/* ── Step action row ── */
.wf-auth-desktop .step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 0;
}

.wf-auth-desktop .step-actions--end {
    justify-content: flex-end;
}

.wf-auth-desktop .btn-arrow {
    margin-inline-start: 4px;
}

/* Legacy grid helper */
.form-grid .full {
    grid-column: 1 / -1;
}
