.mfo-fs-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--mfo-fs-bg, #fff);
    border: 1px solid #e6eaf0;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(20, 30, 60, 0.06);
    font-family: inherit;
}

/* --- Прогресс --- */

.mfo-fs-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.mfo-fs-progress-step {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef1f6;
    color: #8a94a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mfo-fs-progress-step.active {
    background: linear-gradient(135deg, #4a6fa5, #8b3ffd);
    color: #fff;
}

.mfo-fs-progress-line {
    width: 40px;
    height: 3px;
    background: #eef1f6;
    margin: 0 4px;
    transition: background 0.2s ease;
}

.mfo-fs-progress-line.active {
    background: linear-gradient(90deg, #4a6fa5, #8b3ffd);
}

/* --- Шаги --- */

.mfo-fs-step {
    display: none;
    text-align: center;
    animation: mfoFsFadeIn 0.25s ease;
}

.mfo-fs-step--active {
    display: block;
}

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

.mfo-fs-question {
    font-size: 22px;
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 8px;
}

.mfo-fs-hint {
    font-size: 14px;
    color: #5a6478;
    margin: 0 0 24px;
}

.mfo-fs-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mfo-fs-options--3 {
    grid-template-columns: repeat(3, 1fr);
}

.mfo-fs-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #f7f9fb;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 22px 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.1s ease, background 0.15s ease;
    font-family: inherit;
}

.mfo-fs-option:hover {
    border-color: #4a6fa5;
    transform: translateY(-2px);
}

.mfo-fs-option--selected {
    border-color: #8b3ffd;
    background: #f4edff;
}

.mfo-fs-option--compact {
    padding: 16px 10px;
}

.mfo-fs-option-icon {
    font-size: 30px;
}

.mfo-fs-option-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2540;
}

.mfo-fs-option-sub {
    font-size: 12px;
    color: #8a94a3;
}

.mfo-fs-back {
    margin-top: 20px;
    background: none;
    border: none;
    color: #4a6fa5;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.mfo-fs-back:hover {
    text-decoration: underline;
}

/* --- Результаты --- */

.mfo-fs-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mfo-fs-results-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a2540;
    margin: 0;
}

.mfo-fs-restart {
    background: #f4f6fb;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #4a6fa5;
    cursor: pointer;
    font-family: inherit;
}

.mfo-fs-restart:hover {
    background: #e9edf5;
}

.mfo-fs-loading, .mfo-fs-empty {
    text-align: center;
    padding: 30px;
    color: #6b7785;
    font-size: 14px;
}

.mfo-fs-count {
    font-size: 13px;
    color: #6b7785;
    margin-bottom: 14px;
}

/* --- Карточки результатов --- */

.mfo-fs-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mfo-fs-results-list--static .mfo-fs-cards {
    max-width: 720px;
    margin: 0 auto;
}

.mfo-fs-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    padding: 20px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mfo-fs-card:hover {
    border-color: #4a6fa5;
    box-shadow: 0 4px 16px rgba(74, 111, 165, 0.1);
}

.mfo-fs-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.mfo-fs-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.mfo-fs-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mfo-fs-card-name {
    font-size: 17px;
    font-weight: 800;
    color: #1a2540;
}

.mfo-fs-card-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mfo-fs-card-rating-num {
    font-size: 12px;
    font-weight: 700;
    color: #9a7a1f;
}

.mfo-fs-card-rate {
    font-size: 13px;
    color: #5a6478;
    margin-bottom: 12px;
}

.mfo-fs-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.mfo-fs-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.mfo-fs-badge--blue { background: #eaf1fa; color: #2271b1; }
.mfo-fs-badge--teal { background: #e2f7f7; color: #0f8a8a; }
.mfo-fs-badge--green { background: #e3f7ea; color: #1a8a4c; }
.mfo-fs-badge--purple { background: #f4edff; color: #6b3fd4; }
.mfo-fs-badge--orange { background: #fdf0e2; color: #b3671e; }

.mfo-fs-card-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #4a6fa5, #8b3ffd);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none !important;
}

.mfo-fs-card-cta:hover {
    filter: brightness(0.92);
}

/* --- Звёзды (тот же принцип, что и в MFO Best Loans Block) --- */

.mfo-fs-star-row {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.mfo-fs-star {
    position: relative;
    display: inline-block;
    width: 13px;
    height: 13px;
}

.mfo-fs-star-outline, .mfo-fs-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
}

.mfo-fs-star-outline path {
    fill: #fff;
    stroke: #e0a03a;
    stroke-width: 1.4;
}

.mfo-fs-star-fill path {
    fill: #ffc93c;
    stroke: #e0a03a;
    stroke-width: 1.4;
}

@media screen and (max-width: 600px) {
    .mfo-fs-wrap {
        padding: 24px 18px;
        border-radius: 14px;
    }
    .mfo-fs-options, .mfo-fs-options--3 {
        grid-template-columns: 1fr;
    }
}
