/* HEADER: Title + Fabrication Type filter */
.mb-related-fabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;     /* ensures label + dropdown stay aligned horizontally */
    flex-wrap: nowrap;       /* prevents wrapping onto a second line */
    gap: 12px;
    margin-bottom: 10px;
}

/* Title */
.mb-related-fabs-header h3 {
    margin: 0;
    font-size: 14px;
    color: #008345;
    white-space: nowrap;
}

/* Label + Select styling */
.mb-fab-filter-label {
    font-size: 13px;
    color: #333;
    white-space: nowrap;     /* keeps label+dropdown on one line */
    display: flex;
    align-items: center;
    gap: 6px;
}

.mb-fab-filter-select {
    padding: 4px 6px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}
/* Make table header sticky */
.mb-related-fabs-table-wrap {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    position: relative;  /* required for sticky header */
}

.mb-related-fabs-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;             /* keep header above rows */
    background: #fafafa;    /* must set a background or rows show through */
}