#fmo_table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed; /* 🔥 THIS is the key */
}

/* Row height consistency */
#fmo_table tr {
  height: 48px;
}

#fmo_table th,
#fmo_table td {
  padding: 6px;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
}

#fmo_table button,
#fmo_table input {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Controls fill cell */
#fmo_table td > button,
#fmo_table td > input {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

/* ===================================================== */
/* BUTTONS — REMOVE BLUE STYLE */
/* ===================================================== */

#fmo_table button {
  height: 32px;
  padding: 6px 8px;

  background: #f5f5f5;       /* neutral */
  color: #333;
  border: 1px solid #cfcfcf;
  border-radius: 6px;

  cursor: pointer;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transition: background 0.15s, border 0.15s;
}

#fmo_table button:hover:not(:disabled) {
  background: #e0e0e0;
  border-color: #999;
}

/* Disabled */
#fmo_table button:disabled {
  background: #eeeeee;
  color: #999;
  border-color: #ddd;
  cursor: not-allowed;
}

/* ===================================================== */
/* INPUTS */
/* ===================================================== */

#fmo_table input {
  height: 32px;
  padding: 6px 8px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font-size: 14px;
}

/* Disabled input (provider) */
#fmo_table input:disabled {
  background: #f0f0f0;
  color: #666;
}

/* ===================================================== */
/* COLUMN-SPECIFIC */
/* ===================================================== */

/* Reference + Description buttons */
#fmo_table .fmo-ref-button,
#fmo_table .fmo-desc-button {
  text-align: left;
}

/* FMO selector button */
#fmo_table .fmo-code {
  font-weight: 600;
  text-align: center;
}

/* Provider auto field */
#fmo_table .fmo-provider {
  text-align: center;
}