/* Survey-first flow styles: progress bar, role step, step layout.
 * Progress widths are predefined classes (sf-w-1..sf-w-6) so JS never sets
 * inline styles, keeping us compliant with the strict CSP.
 */

.sf-progress {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sf-progress-track {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}

.sf-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4f8cff, #2bb673);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.sf-w-1 { width: 16.66%; }
.sf-w-2 { width: 33.33%; }
.sf-w-3 { width: 50%; }
.sf-w-4 { width: 66.66%; }
.sf-w-5 { width: 83.33%; }
.sf-w-6 { width: 100%; }

.sf-progress-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.survey-step-title {
    margin-bottom: 0.25rem;
}

.role-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
    margin-top: 0.75rem;
}

@media (max-width: 576px) {
    .role-options {
        grid-template-columns: 1fr;
    }
}

.sf-terms {
    font-size: 0.92rem;
}

.invalid-feedback-block {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.sf-nav-spacer {
    flex: 1 1 auto;
}

.survey-nav .btn {
    min-width: 160px;
}
