/* Landing page find-a-lawyer wizard */
.filter-card .wizard-step { display: none; }
.filter-card .wizard-step.is-active { display: block; }

.filter-card .wizard-title {
    font-family: 'Outfit', sans-serif;
    color: #64748b;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.5;
}

.filter-card .wizard-title strong {
    color: #0b132b;
    font-weight: 600;
}

.filter-card .card-options--stack {
    flex-direction: column;
    flex-wrap: nowrap;
}

.filter-card .card-options--stack .option-btn {
    flex: none;
    width: 100%;
    white-space: normal;
}

.filter-card .wizard-field {
    margin-bottom: 16px;
}

.filter-card .wizard-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0b132b;
    margin-bottom: 8px;
}

.filter-card .wizard-field label .req {
    color: #dc2626;
}

.filter-card .wizard-input-wrap {
    position: relative;
}

.filter-card .wizard-input,
.filter-card .wizard-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
}

.filter-card .wizard-input:focus,
.filter-card .wizard-select:focus {
    outline: none;
    border-color: #1a62dc;
    box-shadow: 0 0 0 3px rgba(26, 98, 220, 0.12);
}

.filter-card .wizard-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.filter-card .wizard-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
    z-index: 30;
    display: none;
}

.filter-card .wizard-suggestions.is-open { display: block; }

.filter-card .wizard-suggestion {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a62dc;
    cursor: pointer;
    font-family: inherit;
}

.filter-card .wizard-suggestion:hover {
    background: #f1f5f9;
}

.filter-card .wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-card .wizard-back {
    border: none;
    background: none;
    color: #1a62dc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.filter-card .wizard-submit {
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-card .wizard-submit:hover {
    background: #ea580c;
}

.filter-card .wizard-next {
    background: #1a62dc;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.filter-card .name-search-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin: -6px -6px 18px;
}

.filter-card .name-search-tab {
    flex: 1;
    border: none;
    background: #f8fafc;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 2px solid transparent;
}

.filter-card .name-search-tab.is-active {
    background: #fff;
    color: #0b132b;
    border-bottom-color: #1a62dc;
}

.filter-card .name-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.filter-card .name-search-breadcrumb {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a62dc;
    margin-bottom: 8px;
}

.filter-card .name-search-heading {
    font-size: 22px;
    font-weight: 800;
    color: #0b132b;
    margin-bottom: 6px;
}

.filter-card .name-search-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}

.filter-card button.option-btn {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.filter-card .wizard-next:hover {
    background: #1554c0;
}
    .filter-card .name-search-grid {
        grid-template-columns: 1fr;
    }

    .filter-card .card-options {
        flex-direction: column;
    }

    .filter-card .option-btn {
        white-space: normal;
    }
}
